Fork me on GitHub
Show:

Marker

Summary

A strategy for rendering a marker using Leaflet.

Constructor

aeris.maps.leaflet.markers.Marker

Syntax

aeris.maps.leaflet.markers.Marker

()

Summary

Methods

afterRemove_

Syntax

afterRemove_

() protected

Summary

This method is called after this.mapView_ is set to null;

beforeRemove_

Syntax

beforeRemove_

() private

Summary

bindMarkerAttributes_

Syntax

bindMarkerAttributes_

() private

Summary

createIcon_

Syntax

createIcon_

() Icon private

Summary

Returns:

Icon:

createOffsetPoint_

Syntax

createOffsetPoint_

() Point private

Summary

Create a Leafet Point object corresponding to the marker's current offset attributes.

Returns:

createView_

Syntax

createView_

() private

Summary

destroy

Syntax

destroy

()

Summary

Destroy the rendered map object view, and cease rendering changes to the map object.

getMarkerUrl_

Syntax

getMarkerUrl_

() private

Summary

getView

Syntax

getView

() ?Object

Summary

Return the view instance created by the map-rendering API.

Returns:

?Object:

proxyMarkerEvents_

Syntax

proxyMarkerEvents_

() private

Summary

remove

Syntax

remove

()

Summary

Remove the object view from the map view.

setMap

Syntax

setMap

()

Summary

Properties

mapView_

Syntax

mapView_

?google.maps.Map

Summary

The map associated with this object

objectEvents_

Syntax

objectEvents_

Unknown private

Summary

Evens to bind the map view to the object.

Binds object attribute 'change' events to strategy methods.

view_

Syntax

view_

Object

Summary

The view instance created by the map rendering API.