Skip to content

ZoomableCanvasMap

Lukas Appelhans edited this page Apr 30, 2016 · 6 revisions

Constructor

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

Class members

ZoomableCanvasMap supports the init and paint functions of StaticCanvasMap.

Clone this wiki locally