L.eeGeo.marker(latLng, options)
Extends: L.Marker
// Create a marker 260m from the ground (the top of the Transamerica Pyramid)
L.eeGeo.marker([37.7952, -122.4028], { elevation: 260.0 }).addTo(map);
Argument | Type | Description |
---|---|---|
latLng | L.LatLng | The location to create the marker at |
options | object | These are the same options you would pass to L.marker with some additions described below |
Options
Options | Type | Default | Description |
---|---|---|---|
elevation | number | 0 | The elevation of the marker from the ground in meters |
Methods
marker.getElevation()
Returns the elevation of the marker from the ground in meters.
marker.setElevation(elevation)
Set the elevation of the marker.
Argument | Type | Description |
---|---|---|
elevation | number | The elevation of the marker from the ground in meters |
v0.1.780
- L.eeGeo.indoors.IndoorMap
- L.eeGeo.indoors.IndoorMapFloor
- L.eeGeo.indoors.IndoorMapEntrance
- L.eeGeo.themes
- L.eeGeo.marker
- L.eeGeo.popup
- L.eeGeo.polygon
- Event objects
- L.Map
- L.Marker
- L.Popup
- L.TileLayer
- L.TileLayer.WMS
- L.TileLayer.Canvas
- L.ImageOverlay
- L.Path
- L.Polyline
- L.MultiPolyline
- L.Polygon
- L.MultiPolygon
- L.Rectangle
- L.Circle
- L.CircleMarker
- L.LayerGroup
- L.FeatureGroup
- L.GeoJson
- L.LatLng
- L.LatLngBounds
- L.Point
- L.Bounds
- L.Icon
- L.DivIcon
- L.Control
- L.Control.zoom
- L.Control.Attribution
- L.Control.Layers
- L.Control.Scale
- Events methods
- Event objects
- L.Class
- L.Browser
- L.Util
- L.Transformation
- L.LineUtil
- L.PolyUtil
- L.DomEvent
- L.DomUtil
- L.PosAnimation
- L.Draggable
- L.IHandler
- L.ILayer
- L.IControl
- L.IProjection
- L.ICRS
- Global Switches
- L.noConflict
- L.version
Indoor Maps
Themes
Markers & Popups
Overlays
Events
Leaflet
Indoor Maps
L.eeGeo.indoors.IndoorMap
L.eeGeo.indoors.IndoorMapFloor
L.eeGeo.indoors.IndoorMapEntrance
Themes
L.eeGeo.themes
Markers & Popups
L.eeGeo.marker
L.eeGeo.popup
Overlays
L.eeGeo.polygon
Events
Event objects
Leaflet
L.Map
L.Marker
L.Popup
L.TileLayer
L.TileLayer.WMS
L.TileLayer.Canvas
L.ImageOverlay
L.Path
L.Polyline
L.MultiPolyline
L.Polygon
L.MultiPolygon
L.Rectangle
L.Circle
L.CircleMarker
L.LayerGroup
L.FeatureGroup
L.GeoJson
L.LatLng
L.LatLngBounds
L.Point
L.Bounds
L.Icon
L.DivIcon
L.Control
L.Control.zoom
L.Control.Attribution
L.Control.Layers
L.Control.Scale
Events methods
Event objects
L.Class
L.Browser
L.Util
L.Transformation
L.LineUtil
L.PolyUtil
L.DomEvent
L.DomUtil
L.PosAnimation
L.Draggable
L.IHandler
L.ILayer
L.IControl
L.IProjection
L.ICRS
Global Switches
L.noConflict
L.version