Class: CUI.LeafletMap
Defined in: | elements/Map/LeafletMap.coffee |
Inherits: | CUI.Map |
Variables Summary
- defaults =
-
{ urlCss: "https://unpkg.com/leaflet@1.2.0/dist/leaflet.css", tileLayerUrl: 'http://{s}.tile.osm.org/{z}/{x}/{y}.png', tileLayerOptions: { attribution: attributionHtml } }
Variable inherited from CUI.Map
Instance Method Summary
- # (void) __getMapClassName()
- # (void) __buildMap()
- # (void) __buildMarker(options)
- # (void) __addMarkerToMap(marker)
- # (void) __bindOnClickMapEvent()
- # (void) __afterMarkerCreated(marker, options)
- # (void) __removeMarker(marker)
- # (void) __updateGroupsPolylines()
- # (void) getSelectedMarkerPosition()
- # (void) setSelectedMarkerPosition(position)
- # (void) removeSelectedMarker()
- # (void) hideMarkers()
- # (void) showMarkers()
- # (void) zoomToFitAllMarkers()
- # (void) zoomIn()
- # (void) zoomOut()
- # (void) resize()
- # (void) getZoom()
- # (void) setZoom(zoom)
- # (void) setCenter(position, zoom)
- # (void) getCenter()
- # (void) destroy()
- # (void) __loadCSS()
Inherited Method Summary
Methods inherited from
CUI.Map
#initOpts #addMarkers #addMarker #removeMarkers #removeMarker #updateSelectedMarkerOptions #setButtonBar #getSelectedMarkerPosition #setSelectedMarkerPosition #removeSelectedMarker #hideMarkers #showMarkers #zoomToFitAllMarkers #zoomIn #zoomOut #resize #getZoom #setZoom #setCenter #getCenter #__addMarkerToMap #__getMapClassName #__buildMap #__buildMarker #__bindOnClickMapEvent #__onMarkerClick #__removeMarker #__addCustomOption #__afterMarkerCreated #__getMarkerOptions #__onReady #__onMoveEnd #__disableEnableZoomButtons #__getZoomButtons #__getFullscreenButtonOpts #destroy .isValidLatitude .isValidLongitude .isValidPosition #__init #readOpts #hasHeader #hasFooter #getFillScreenState #endFillScreen #startFillScreen #toggleFillScreen .getToggleFillScreenButton #getName #getMapPrefix #hasFlexHandles #getPanes #getSupportedPanes #maximizeAddClasses #maximizeReadOpts #init #getTemplateMap #__initPane #initDefaultPanes #getLayout #getButtonbar #__callAutoButtonbar #append #replace #setAbsolute #unsetAbsolute .__all .all #registerTemplate #getDOMElementClasses #registerDOMElement #getElementForLayer #unregisterDOMElement #__assertDOMElement #__assertTemplateElement #addClass #setAria #removeClass #hide #show #hasClass #isDestroyed #empty #prepend #text #get #getFlexHandle #getElementClass #getUniqueId #getOpts #getOpt #hasOpt #getSetOpt #hasSetOpt #copy #mergeOpt #removeOpt #addOpt #addOpts #mergeOpts #__getCheckMap #readOptsFromAttr #proxy .getOptKeys
Constructor Details
#
(void)
constructor(opts = {})
Instance Method Details
#
(void)
__getMapClassName()
#
(void)
__buildMap()
#
(void)
__buildMarker(options)
#
(void)
__addMarkerToMap(marker)
#
(void)
__bindOnClickMapEvent()
#
(void)
__afterMarkerCreated(marker, options)
#
(void)
__removeMarker(marker)
#
(void)
__updateGroupsPolylines()
#
(void)
getSelectedMarkerPosition()
#
(void)
setSelectedMarkerPosition(position)
#
(void)
removeSelectedMarker()
#
(void)
hideMarkers()
#
(void)
showMarkers()
#
(void)
zoomToFitAllMarkers()
#
(void)
zoomIn()
#
(void)
zoomOut()
#
(void)
resize()
#
(void)
getZoom()
#
(void)
setZoom(zoom)
#
(void)
setCenter(position, zoom)
#
(void)
getCenter()
#
(void)
destroy()
#
(void)
__loadCSS()