ALKMaps.Layer.ALKMercator

Instances of ALKMaps.Layer.ALKMercator are used to display data from ALK Web Service Create a new ALK Map layer with the ALKMaps.Layer.ALKMercator constructor.

Inherits from

Summary
ALKMaps.Layer.ALKMercatorInstances of ALKMaps.Layer.ALKMercator are used to display data from ALK Web Service Create a new ALK Map layer with the ALKMaps.Layer.ALKMercator constructor.
Constants
MIN_ZOOM_LEVEL{Integer} 0
MAX_ZOOM_LEVEL{Integer} 17
DEFAULT_PARAMS{Object} Hashtable of default parameter key/value pairs
Properties
isBaseLayer{Boolean} Default is true for WMS layer
encodeBBOX{Boolean} Should the BBOX commas be encoded? 
noMagic{Boolean} If true, the image format will not be automagicaly switched from image/jpeg to image/png or image/gif when using TRANSPARENT=TRUE.
Functions
setMap
destroyDestroy this layer
cloneCreate a clone of this layer
getURLReturn a GetMap query string for this layer

Constants

MIN_ZOOM_LEVEL

{Integer} 0

MAX_ZOOM_LEVEL

{Integer} 17

DEFAULT_PARAMS

{Object} Hashtable of default parameter key/value pairs

Properties

isBaseLayer

{Boolean} Default is true for WMS layer

encodeBBOX

{Boolean} Should the BBOX commas be encoded?  The WMS spec says ‘no’, but some services want it that way.  Default false.

noMagic

{Boolean} If true, the image format will not be automagicaly switched from image/jpeg to image/png or image/gif when using TRANSPARENT=TRUE.  Also isBaseLayer will not changed by the constructor.  Default false.

Functions

setMap

setMap: function()

destroy

destroy: function()

Destroy this layer

clone

clone: function(obj)

Create a clone of this layer

Returns

{ALKMaps.Layer.ALKMercator} An exact clone of this layer

getURL

getURL: function(bounds)

Return a GetMap query string for this layer

Parameters

bounds{ALKMaps.Bounds} A bounds representing the bbox for the request.

Returns

{String} A string with the layer’s url and parameters and also the passed-in bounds and appropriate tile size specified as parameters.

Instances of ALKMaps.Layer.ALKMercator are used to display data from ALK Web Service Create a new ALK Map layer with the ALKMaps.Layer.ALKMercator constructor.
setMap: function()
destroy: function()
Destroy this layer
clone: function(obj)
Create a clone of this layer
getURL: function(bounds)
Return a GetMap query string for this layer
Base class for layers that use a lattice of tiles.
Instances of this class represent bounding boxes.
Close