Fork me on GitHub
Show:

Marker

Summary

Strategy for rendering markers.

Constructor

aeris.maps.gmaps.markers.Marker

Syntax

aeris.maps.gmaps.markers.Marker

(
  • marker
  • opt_options
)

Summary

Parameters:

Methods

afterRemove_

Syntax

afterRemove_

() protected

Summary

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

beforeRemove_

Syntax

beforeRemove_

()

Summary

createAnchorPoint_

Syntax

createAnchorPoint_

() private

Summary

createView_

Syntax

createView_

()

Summary

destroy

Syntax

destroy

()

Summary

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

getView

Syntax

getView

() ?Object

Summary

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

Returns:

?Object:

getViewOptions_

Syntax

getViewOptions_

() Object

Summary

Returns:

Object:

Options for creating the {google.maps.Maker} view.

proxyViewEvents_

Syntax

proxyViewEvents_

() private

Summary

Trigger google map events on the marker object.

remove

Syntax

remove

()

Summary

Remove the object view from the map view.

setMap

Syntax

setMap

()

Summary

updateClickable_

Syntax

updateClickable_

() private

Summary

updateDraggable_

Syntax

updateDraggable_

() private

Summary

updateIcon_

Syntax

updateIcon_

() private

Summary

updatePosition_

Syntax

updatePosition_

() private

Summary

updateTitle_

Syntax

updateTitle_

() private

Summary

Properties

gmaps_

Syntax

gmaps_

google.maps private

Summary

mapView_

Syntax

mapView_

?google.maps.Map

Summary

The map associated with this object

marker_

Syntax

marker_

aeris.maps.markers.Marker private

Summary

The marker view-model which this strategy is in charge of rendering.

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.