-
Notifications
You must be signed in to change notification settings - Fork 9
ZoomableCanvasMap
Lukas Appelhans edited this page Apr 30, 2016
·
6 revisions
ZoomableCanvasMap takes one parameter object with the same properties as StaticCanvasMap. Additionally you can define the following property.
# zoomScale: number (optional)
This should be a number between 0 and 1, it defines how much the map zooms into a polygon. This defaults to 0.5.
zoomScale: 0.7
ZoomableCanvasMap supports the init and paint functions of StaticCanvasMap.