Map

Description

This is the central module for displaying the composite map overlay.

Help

http://www.mapbender.org/Mapframe

Summary
MapThis is the central module for displaying the composite map overlay.
Functions
Map
setExtentset the extent of the wms

Functions

Map

Mapbender.Map = function (options)

Parameters

frameName[deprecated] the name of the iframe, for backwards compatibility only, use “” for maps in DIVs
elementNamethe ID of the DOM node
widthwidth of the map in pixel
heightheight of the map in pixel
wms_indexrestrict the WMS in the map to the WMS with this ID (useful for overview maps)

setExtent

this.setExtent = function(minx,
miny,
maxx,
maxy)

Description

set the extent of the wms

Parameters

minxx of south west
minyy of south west
maxxx of north east
maxyy of north east
Mapbender.Map = function (options)
this.setExtent = function(minx,
miny,
maxx,
maxy)
set the extent of the wms
Close