Fork me on GitHub
Show:

TileLayerStrategy

Summary

Constructor

aeris.maps.gmaps.layers.TileLayerStrategy

Syntax

aeris.maps.gmaps.layers.TileLayerStrategy

(
  • layer
)

Summary

Parameters:

Methods

afterRemove_

Syntax

afterRemove_

() protected

Summary

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

beforeRemove_

Syntax

beforeRemove_

()

Summary

createView_

Syntax

createView_

()

Summary

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

getUrl_

Syntax

getUrl_

(
  • coord
  • zoom
)
String private

Summary

Method called by google, to retreive the url for a tile at a given map coordinate and zoom level.

Parameters:

Returns:

String:

Tile image url.

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.

updateOpacity

Syntax

updateOpacity

()

Summary

Set the opacity of the layer

Properties

googleEvents_

Syntax

googleEvents_

aeris.maps.gmaps.GoogleEvents protected

Summary

Helper for binding google.maps.event events.

isBaseLayer_

Syntax

isBaseLayer_

Unknown

Summary

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