Members
-
MapControls{Object.<string, string>}
-
Options available for controls.
- cercaliagl.control.MapControls.ADDRESS: Control address. Value:
address
- cercaliagl.control.MapControls.BUILDINGS3D: Control for 3D buildings. Value:
buildings3d
- cercaliagl.control.MapControls.CLEAN: Clean button control. Value:
clean
- cercaliagl.control.MapControls.FULLSCREEN: Full screen control. Value:
fullscreen
- cercaliagl.control.MapControls.GAS_STATIONS: Gas stations control. Value:
gasstations
- cercaliagl.control.MapControls.INFOMAP: Info map control for internal purposes. Value:
infomap
- cercaliagl.control.MapControls.ISOCHRONES: Logistics restrictions control. Value:
isochrones
- cercaliagl.control.MapControls.LAYER_REGIONS: Layer regions control. Value:
layerregions
- cercaliagl.control.MapControls.LAYER_SWITCHER: Layer switcher control. Value:
layerswitcher
- cercaliagl.control.MapControls.LOGISTICS_RESTRICTIONS: Logistics restrictions control. Value:
logisticsrestrictions
- cercaliagl.control.MapControls.METEO: Meteo control button. Value:
meteo
- cercaliagl.control.MapControls.MOBILEBAR: Mobile bar control for internal purposes. Value:
mobilebar
- cercaliagl.control.MapControls.NAVBAR: Nav bar control for internal purposes. Value:
navbar
- cercaliagl.control.MapControls.SCALELINE: Scale line control. Value:
scaleline
- cercaliagl.control.MapControls.TRAFFIC: Traffic control. Value:
traffic
- cercaliagl.control.MapControls.ZOOM: Zoom control. Value:
zoom
Example use for these constants:
const map = new cercaliagl.Map({ target: 'map', controls: [ cercaliagl.control.MapControls.NAVBAR, cercaliagl.control.MapControls.ZOOM, cercaliagl.control.MapControls.CLEAN, cercaliagl.control.MapControls.METEO ] };
- cercaliagl.control.MapControls.ADDRESS: Control address. Value: