EMS.Layer.Remapper

The default layer implementation used by EMS.Map.  Represents the coordinate system in terms of indexed tiles.

Inherits from

Summary
EMS.Layer.RemapperThe default layer implementation used by EMS.Map.
Properties
maxResolution{Float} Maximum resolution of the tiles.
maxExtent{EMS.Bounds} Maximum extent of the map tiles.
projection{EMS.Projection} The projection of the layer.
numZoomLevels{Integer} The number of zoom levels.
title{String} optional display title for the layer.
Constructor
EMS.Layer.Remapper
Functions
getTitle{String} an optional display title.
cloneCreate a clone of this layer Returns: {EMS.Layer.Remapper} An exact clone of this OpenLayers.Layer.XYZ

Properties

maxResolution

{Float} Maximum resolution of the tiles.

maxExtent

{EMS.Bounds} Maximum extent of the map tiles.  As this is in Spherical Mercator projection this is the bounds of the world.

projection

{EMS.Projection} The projection of the layer.

numZoomLevels

{Integer} The number of zoom levels.

title

{String} optional display title for the layer.  Will default to the name if not supplied.

Constructor

EMS.Layer.Remapper

Parameters

name{Mixed} is either EMS.Layer or a string representing the name of the layer.
options{Object} are the extra options to layer.

Functions

getTitle

getTitle: function()

Returns

{String} an optional display title.  If this was not explicitly set, this will simply return the name.

clone

clone: function ()

Create a clone of this layer Returns: {EMS.Layer.Remapper} An exact clone of this OpenLayers.Layer.XYZ

Drop-in replacement for OpenLayers.Bounds that automatically converts to the EMS.Projection.SPHERICAL_MERCATOR projection.
getTitle: function()
{String} an optional display title.
clone: function ()
Create a clone of this layer Returns: {EMS.Layer.Remapper} An exact clone of this OpenLayers.Layer.XYZ
The XYZ class is designed to make it easier for people who have tiles arranged by a standard XYZ grid.
Defines the namespace for EMS.Layer.
Close