ArgParser.js

Summary
ArgParser.js
Properties
coordsParamslon and lat coordinate of map center
api{MapFish.API} instance
Functions
MapFish.API.ArgParser(options)This class is an extension of {OpenLayers.Control.ArgParser} It is used to parse arguments from the URL when loading a page.
setMap(map)Set the map base on the layer nodes, the map center and the zoom level

Properties

coordsParams

lon and lat coordinate of map center

api

{MapFish.API} instance

Functions

MapFish.API.ArgParser(options)

This class is an extension of {OpenLayers.Control.ArgParser} It is used to parse arguments from the URL when loading a page.

Parameters

options.apiapi
options.coordsParamscoordinate

setMap(map)

setMap: function(map)

Set the map base on the layer nodes, the map center and the zoom level

Parameters

mapmap created based on the url paramaters
setMap: function(map)
Set the map base on the layer nodes, the map center and the zoom level
Close