Object
wijmo.maps.wijmaps.options
Object
wijmo.maps.wijmaps.options
Name | Description | |
---|---|---|
![]() | bingMapsKey | Default value: "" The bing mpas key of the bing maps source. |
![]() | center | The center of wijmaps view port, in geographic unit. |
![]() | layers | Default value: [] Defines the array of layers append to the wijmaps. |
![]() | showTools | Default value: true Determine whether show the tools layer. |
![]() | source | Default value: 'bingMapsRoadSource' The source of the wijmaps tile layer. Wijmaps provides some built in sources: <ul> <li>bingMapsRoadSource</li> <li>bingMapsAerialSource</li> <li>bingMapsHybridSource</li> </ul> Set to null if want to hide the tile layer.<br> Set to a IMultiScaleTileSource object if want to use another map tile server. |
![]() | targetCenter | The targer center of the wijmaps to translate. |
![]() | targetCenterSpeed | Default value: 0.3 The speed for translate the wijmaps from current center to target center. |
![]() | targetZoom | The target zoom of the wijmaps to scale. |
![]() | targetZoomSpeed | Default value: 0.3 The speed for scaling the wijmaps from current zoom to target zoom. |
![]() | zoom | Default value: 1 The current zoom of the wijmaps. |
Name | Description | |
---|---|---|
![]() | centerChanged | This is a callback function called after the center of the wijmaps changed. |
![]() | targetCenterChanged | This is a callback function called after the target center of the wijmaps changed. |
![]() | targetZoomChanged | This is a callback function called after the target zoom of the wijmaps changed. |
![]() | zoomChanged | This is a callback function called after the zoom of the wijmaps changed. |