@@ -156,33 +156,34 @@ Using this package, you can use spatial fields in Laravel Nova.
156156
157157## Config Properties
158158
159- | Method | Type | Default | Description |
160- |--------------------------------|-------------------|-----------------------|------------------------------------------------------------------------------------------------|
161- | default-latitude | bool | 0 | Default latitude of map |
162- | default-longitude | bool | 0 | Default longitude of map |
163- | zoom | int | 12 | Default zoom of map |
164- | controls.zoom-control | bool | true | Specifies if map should display zoom controls (zoom in/out buttons) or not |
165- | controls.zoom-slider | bool | true | Specifies if map should display zoom slider or not |
166- | controls.undo-control | bool | true | Specifies if map should display undo control or not (Only for `Polygon` and `MultiPolygon`) |
167- | controls.full-screen-control | bool | false | Specifies if map should display full screen button or not |
168- | map-height | int | 400 | Specifies map height |
169- | icon | int | 1 | Specifies marker icon. available values: `1, 2, 3` |
170- | show-detail-button | bool | true | Specifies whether **Show Details** button should appear on detail pages or not |
171- | search.enable | bool | true | Using this item, you can toggle displaying search box on maps |
172- | search.provider | MapSearchProvider | OSM | Specifies search provider available providers: `OSM, MAPQUEST, PHOTON, PELIAS, BING, OPENCAGE` |
173- | search.api-key | string | ' ' | Specifies API key if required |
174- | search.autocomplete | bool | false | Using this item, you can toggle autocomplete feature for search box |
175- | search.autocomplete-min-length | int | 2 | The minimum number of characters to trigger search |
176- | search.autocomplete-timeout | int | 200 | The minimum number of ms to wait before triggering search action |
177- | search.language | string | en-US | Specifies preferable language |
178- | search.placeholder | string | Search for an address | Specifies placeholder for text input |
179- | search.box-type | MapSearchBoxType | TEXT_FIELD | Specifies type of search box. available types: `BUTTON, TEXT_FIELD` |
180- | search.limit | int | 5 | Specifies limit of results |
181- | search.keep-open | bool | false | Specifies whether the results keep opened |
182- | transform.enable | bool | true | Using this item, you can toggle transforming polygons maps |
183- | transform.scale | bool | true | Using this property, you can toggle scaling features |
184- | transform.scale | bool | true | Using this property, you can toggle rotating features |
185- | transform.stretch | bool | true | Using this property, you can enable/disable stretch option |
159+ | Method | Type | Default | Description |
160+ |--------------------------------|-------------------|-----------------------|--------------------------------------------------------------------------------------------------|
161+ | default-latitude | bool | 0 | Default latitude of map |
162+ | default-longitude | bool | 0 | Default longitude of map |
163+ | zoom | int | 12 | Default zoom of map |
164+ | controls.zoom-control | bool | true | Specifies if map should display zoom controls (zoom in/out buttons) or not |
165+ | controls.zoom-slider | bool | true | Specifies if map should display zoom slider or not |
166+ | controls.full-screen-control | bool | false | Specifies if map should display full screen button or not |
167+ | controls.undo-control | bool | true | Specifies if map should display undo control or not (Only for `Polygon` and `MultiPolygon`) |
168+ | controls.clear-map-control | bool | true | Specifies if map should display clear map control or not (Only for `Polygon` and `MultiPolygon`) |
169+ | map-height | int | 400 | Specifies map height |
170+ | icon | int | 1 | Specifies marker icon. available values: `1, 2, 3` |
171+ | show-detail-button | bool | true | Specifies whether **Show Details** button should appear on detail pages or not |
172+ | search.enable | bool | true | Using this item, you can toggle displaying search box on maps |
173+ | search.provider | MapSearchProvider | OSM | Specifies search provider available providers: `OSM, MAPQUEST, PHOTON, PELIAS, BING, OPENCAGE` |
174+ | search.api-key | string | ' ' | Specifies API key if required |
175+ | search.autocomplete | bool | false | Using this item, you can toggle autocomplete feature for search box |
176+ | search.autocomplete-min-length | int | 2 | The minimum number of characters to trigger search |
177+ | search.autocomplete-timeout | int | 200 | The minimum number of ms to wait before triggering search action |
178+ | search.language | string | en-US | Specifies preferable language |
179+ | search.placeholder | string | Search for an address | Specifies placeholder for text input |
180+ | search.box-type | MapSearchBoxType | TEXT_FIELD | Specifies type of search box. available types: `BUTTON, TEXT_FIELD` |
181+ | search.limit | int | 5 | Specifies limit of results |
182+ | search.keep-open | bool | false | Specifies whether the results keep opened |
183+ | transform.enable | bool | true | Using this item, you can toggle transforming polygons maps |
184+ | transform.scale | bool | true | Using this property, you can toggle scaling features |
185+ | transform.scale | bool | true | Using this property, you can toggle rotating features |
186+ | transform.stretch | bool | true | Using this property, you can enable/disable stretch option |
186187
187188----
188189
0 commit comments