Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(properties): add maxLayerZoomExtent property to map #633

Merged
merged 2 commits into from
Jun 4, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion docs/properties.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ Exemples
"center": [-73, 50.5],
"zoom": 6,
"geolocate": false,
"maxZoomOnExtent":15
"maxZoomOnExtent":15,
"maxLayerZoomExtent": [-10000000, 5000000, 6000000, 9500000]
}
}
}
Expand Down Expand Up @@ -83,6 +84,13 @@ Propriétés de l'objet "view" de map
- Number
- Indique le niveau de zoom qu'aura l'application lors d'un clic sur un résultat de recherche qui n'est pas une couche.
-
* - maxLayerZoomExtent
- Array []
- .. line-block::
Indique l'étendue maximale considérée comme étant valide pour un cadrage
lors du calcul de l'étendue d'une ou plusieurs couches. Les coordonnées
minimales et maximales doivent être compatibles avec la projection donnée.
-
-


Expand Down