Skip to content

Commit

Permalink
Update docs/customization.md
Browse files Browse the repository at this point in the history
Co-authored-by: Camille Monchicourt <camille.monchicourt@ecrins-parcnational.fr>
  • Loading branch information
2 people authored and dtrucs committed Apr 5, 2024
1 parent 6bc6ffc commit f2b1a5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ NB: For "report" and "reservationWidget" sections with `anchors` set to `true`,

- `map.json` to define basemaps URL and attributions, center (y, x), default and max zoom level (see example in https://github.com/GeotrekCE/Geotrek-rando-v3/blob/main/frontend/customization/config/map.json).

- `searchMapCenter`: Array of two numbers `[latitude, longitude]` defining the map center point in the search view,
- `searchMapCenter`: Array of two numbers `[latitude, longitude]` defining the map center point in the search view,
- `searchMapZoom`: Default value is `10`. It defines the zoom level in the search view. **Warning**: It is important that the `searchMapZoom` value is included in the zoom value range of the basemap (`minZoom` and `maxZoom`), otherwise it may generate an error.
- `maximumZoomLevel`: Default value is `17`. The default maximum zoom level if the maxZoom option is not defined in map layer (see below)

Expand Down

0 comments on commit f2b1a5b

Please sign in to comment.