diff --git a/docs/3.0/fields/location.md b/docs/3.0/fields/location.md index 9634965d..be5d7cfe 100644 --- a/docs/3.0/fields/location.md +++ b/docs/3.0/fields/location.md @@ -63,7 +63,24 @@ Using this option, you can provide a hash of configuration settings supported by #### Default -`{}` +- When `static` is `false`: + +```ruby +{ + width: 300, + height: 300 +} +``` + +- When `static` is `true`: + +```ruby +{ + id: "location-map", + zoom: 15, + controls: true +} +``` #### Possible values @@ -82,5 +99,33 @@ field :coordinates, ``` By using `mapkick_options`, you can tailor the map's look and functionality to suit your application's requirements. + + +