Class Index | File Index

Classes


Namespace MapOptions


Defined in: MapOptions.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
MapOptions object specification.
Field Summary
Field Attributes Field Name and Description
<static>  
MapOptions.center
The center of the map - Required.
<static>  
MapOptions.mapTypeControl
Whether the map type control is enabled or disabled.
<static>  
MapOptions.mapTypeId
The type of map to show - Required.
<static>  
MapOptions.myLocationControl
Whether the my location control button is enabled (visible) or disabled (not visible).
<static>  
MapOptions.searchBoxControl
Whether the search box is enabled or disabled.
<static>  
MapOptions.ssl
Whether to force ssl (https) on all traffic (map tiles, markers, etc).
<static>  
MapOptions.zoom
The zoom of the map in user visible zoom levell (not API internal) - Required.
<static>  
MapOptions.zoomControl
Whether the zoom control is enabled or disabled.
Namespace Detail
MapOptions
MapOptions object specification. These options can be passed to the constructor in eniro.maps.Map.
Field Detail
<static> {eniro.maps.LatLng} MapOptions.center
The center of the map - Required.

<static> {boolean} MapOptions.mapTypeControl
Whether the map type control is enabled or disabled. Defaults to true.

<static> {eniro.maps.MapTypeId} MapOptions.mapTypeId
The type of map to show - Required.

<static> {boolean} MapOptions.myLocationControl
Whether the my location control button is enabled (visible) or disabled (not visible). NOTE: If the browser does not support W3C geolocation, this option has no effect.

<static> {boolean} MapOptions.searchBoxControl
Whether the search box is enabled or disabled. Defaults to false.

<static> {boolean} MapOptions.ssl
Whether to force ssl (https) on all traffic (map tiles, markers, etc). If not specified, the protocol of the embedding page url will decide if ssl should be used or not.

<static> {number} MapOptions.zoom
The zoom of the map in user visible zoom levell (not API internal) - Required.

<static> {boolean} MapOptions.zoomControl
Whether the zoom control is enabled or disabled. Defaults to true.

Documentation generated by JsDoc Toolkit 2.3.2 on Mon Mar 30 2020 12:10:04 GMT+0200 (CEST)