GeoMOOSE.MapSource.Google

Provides a Google MapSource to GeoMOOSE.

Inherits from

Summary
GeoMOOSE.MapSource.GoogleProvides a Google MapSource to GeoMOOSE.
Functions
_createOLLayer(options)Internal method to create the OpenLayers Layer object.
constructorCreates a new Google MapSource
addToMapWhen this is added, refresh the layers.
onLayersChangeWhen the Layers List changes, update the params, and refresh the layer.

Functions

_createOLLayer(options)

_createOLLayer: function(options)

Internal method to create the OpenLayers Layer object.  This is divorced from the constructor so it can be overriden without hitting an inheritance chain.

Parameters

optionsOpenLayers Layer Options hash.

constructor

constructor: function(mapbook_entry)

Creates a new Google MapSource

Parameters

mapbook_entryXML fragment defining the MapSource

addToMap

addToMap: function(map)

When this is added, refresh the layers.

onLayersChange

onLayersChange: function(path,
visibility)

When the Layers List changes, update the params, and refresh the layer.

_createOLLayer: function(options)
Internal method to create the OpenLayers Layer object.
constructor: function(mapbook_entry)
Creates a new Google MapSource
addToMap: function(map)
When this is added, refresh the layers.
onLayersChange: function(path,
visibility)
When the Layers List changes, update the params, and refresh the layer.
GeoMOOSE base layer.
Close