Fork me on GitHub
Show:

AbstractMapTypeStrategy

Summary

Base class for layer strategies interacting with the MapType interface.

Constructor

aeris.maps.gmaps.layers.AbstractMapTypeStrategy

Syntax

aeris.maps.gmaps.layers.AbstractMapTypeStrategy

()

Summary

Methods

afterRemove_

Syntax

afterRemove_

() protected

Summary

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

beforeRemove_

Syntax

beforeRemove_

()

Summary

createView_

Syntax

createView_

() Object protected

Summary

Create a view instance.

Returns:

Object:

View instance.

delegateMapEvents_

Syntax

delegateMapEvents_

() private

Summary

Bind events to the map view. This is a good place to proxy events over to your MapExtensionObject.

destroy

Syntax

destroy

()

Summary

getView

Syntax

getView

() ?Object

Summary

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

Returns:

?Object:

registerMapType_

Syntax

registerMapType_

() private

Summary

Add the map type to the map's google.maps.MapTypeRegistry

remove

Syntax

remove

()

Summary

Remove the object view from the map view.

setMap

Syntax

setMap

()

Summary

undelegateMapEvents_

Syntax

undelegateMapEvents_

() private

Summary

Remove event bindings from the map view.

Properties

googleEvents_

Syntax

googleEvents_

aeris.maps.gmaps.GoogleEvents protected

Summary

Helper for binding google.maps.event events.

isBaseLayer_

Syntax

isBaseLayer_

Boolean

Summary

Whether the layer should be treated as a Base Map Type

Default: false

mapTypeId_

Syntax

mapTypeId_

String protected

Summary

The google.maps.MapTypeId for this layer.

Default: The layer's `name` property

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.

prevMapTypeId_

Syntax

prevMapTypeId_

google.maps.MapTypeId

Summary

The previous map type id.

view_

Syntax

view_

google.maps.MapType

Summary