Welcome Guest, you are in: Login

FDOT Wiki

RSS RSS

GisFramework



Search the wiki
»

Linking To The Framework

RSS
Modified on Tuesday, 23 December 2014 08:47 AM by 156.75.189.108 Categorized as Uncategorized
The GIS Framework default website takes in a number of query string parameters when initially loading up the page.

Example URL with initial extent set and basemap: http://gisintra.dot.state.fl.us/GISFramework/Default.aspx?appId=gev#{%22extent%22:{%22XMin%22:-9799236.404045701,%22XMax%22:-8922418.726244524,%22YMin%22:3332100.326975997,%22YMax%22:3721652.3116157474},%22activeLayers%22:{%22gev-dynamic%22:-1,%22streets%22:-1}}


Page to Link to

Each installation of the framework includes a default.aspx page in the root of the site. This page will exist in District installations of the framework along with the Enterprise installation of the framework. The default.aspx page contains logic to parse the querystring to perform a number of actions that are presented below.

Virtual Application

The query string parameter "appId" tells the page what virtual application for the framework to load. Example: ?appId=gev

Initial Extent

The initial extent that the framework loads in can be included in the link.

Example: #{"extent":{"XMin":-9799236.404045701,"XMax":-8922418.726244524,"YMin":3332100.326975997,"YMax":3721652.3116157474},"

Layer Selection

The querystring parameters are json encoded. The property name is "activeLayers" that takes in a hashtable of mapservice name as the key with an array of visible layers as the value.

Commands

Example of Zooming to Roadway while the streets basemap is on and pavement condition layer is turned on. gisintra.dot.state.fl.us/gisframework/Default.aspx?appId=gev&zr={"value":"55320000",highlight:true}#{"activeLayers":{"gev-dynamic":[67],"streets":[-1]}}

Any Questions or Comments? Email
Some of the icons created by FamFamFam.