Class: CUI.Map
Defined in: | elements/Map/Map.coffee |
Inherits: | CUI.Pane |
Direct Known Subclasses
Variables Summary
- defaults =
-
{ maxZoom: 18, minZoom: 0, buttons: { fullscreen: { open: { icon: "fa-arrows-alt" }, close: { icon: "fa-compress" }, tooltip: "Open/Close fullscreen" }, zoom: { plus: { icon: "zoom_in", tooltip: "Zoom in" }, reset: { icon: "fa-dot-circle-o", tooltip: "Reset" }, minus: { icon: "zoom_out", tooltip: "Zoom out" } } } }
Variable inherited from CUI.Pane
Class Method Summary
Instance Method Summary
- # (void) initOpts()
- # (void) addMarkers(optionsArray)
- # (void) addMarker(options)
- # (void) removeMarkers(markers)
- # (void) removeMarker(marker)
- # (void) updateSelectedMarkerOptions(_selectedMarkerOptions)
- # (void) setButtonBar(buttons, position)
- # (void) getSelectedMarkerPosition()
- # (void) setSelectedMarkerPosition()
- # (void) removeSelectedMarker()
- # (void) hideMarkers()
- # (void) showMarkers()
- # (void) zoomToFitAllMarkers()
- # (void) zoomIn()
- # (void) zoomOut()
- # (void) resize()
- # (void) getZoom()
- # (void) setZoom()
- # (void) setCenter()
- # (void) getCenter()
- # (void) __addMarkerToMap()
- # (void) __getMapClassName()
- # (void) __buildMap()
- # (void) __buildMarker()
- # (void) __bindOnClickMapEvent()
- # (void) __onMarkerClick()
- # (void) __removeMarker()
- # (void) __addCustomOption(options, key, value)
- # (void) __afterMarkerCreated(marker, options)
- # (void) __getMarkerOptions(options)
- # (void) __onReady()
- # (void) __onMoveEnd()
- # (void) __disableEnableZoomButtons()
- # (void) __getZoomButtons()
- # (void) __getFullscreenButtonOpts()
- # (void) destroy()
Inherited Method Summary
Methods inherited from
CUI.Pane
#__init #initOpts #readOpts #hasHeader #hasFooter #getFillScreenState #endFillScreen #startFillScreen #toggleFillScreen .getToggleFillScreenButton #getName #getMapPrefix #hasFlexHandles #getPanes #getSupportedPanes #maximizeAddClasses #maximizeReadOpts #init #getTemplateMap #destroy #__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
Class Method Details
.
(void)
isValidLatitude(value)
.
(void)
isValidLongitude(value)
.
(void)
isValidPosition(position)
Constructor Details
#
(void)
constructor(opts = {})
Instance Method Details
#
(void)
initOpts()
#
(void)
addMarkers(optionsArray)
#
(void)
addMarker(options)
#
(void)
removeMarkers(markers)
#
(void)
removeMarker(marker)
#
(void)
updateSelectedMarkerOptions(_selectedMarkerOptions)
#
(void)
setButtonBar(buttons, position)
#
(void)
getSelectedMarkerPosition()
#
(void)
setSelectedMarkerPosition()
#
(void)
removeSelectedMarker()
#
(void)
hideMarkers()
#
(void)
showMarkers()
#
(void)
zoomToFitAllMarkers()
#
(void)
zoomIn()
#
(void)
zoomOut()
#
(void)
resize()
#
(void)
getZoom()
#
(void)
setZoom()
#
(void)
setCenter()
#
(void)
getCenter()
#
(void)
__addMarkerToMap()
#
(void)
__getMapClassName()
#
(void)
__buildMap()
#
(void)
__buildMarker()
#
(void)
__bindOnClickMapEvent()
#
(void)
__onMarkerClick()
#
(void)
__removeMarker()
#
(void)
__addCustomOption(options, key, value)
#
(void)
__afterMarkerCreated(marker, options)
#
(void)
__getMarkerOptions(options)
#
(void)
__onReady()
#
(void)
__onMoveEnd()
#
(void)
__disableEnableZoomButtons()
#
(void)
__getZoomButtons()
#
(void)
__getFullscreenButtonOpts()
#
(void)
destroy()