Class: WorldMercatorUniverse

OM.universe. WorldMercatorUniverse


new WorldMercatorUniverse()

WorldMercatorUniverse defines the bounds and zoom levels for popular tile
services such as Nokia, Bing and Google maps which are based on the spherical world mercator projection.

Returns:

The newly created World Mercator Universe object.

Type
OM.universe.WorldMercatorUniverse

Extends

Methods


getMapBounds()

Get the map bounds. That is, the maximum map extent of this universe.

Inherited From:
Returns:

The maximum map extent of this universe.

Type
OM.geometry.Rectangle

getSRID()

Get the SRID for the map bounds.

Inherited From:
Returns:

The SRID for the map bounds.

Type
int

getZoomLevelNumber()

Get the number of defined zoom levels.

Inherited From:
Returns:

The number of zoom levels.

Type
int

getZoomLevels()

Get the map zoom level definitions array.

Inherited From:
Returns:

An array of OM.universe.ZoomLevel.

Type
Array