Allows you to manipulate maps using one set of URL parameters. Relevant parameters can be combined in the following order:
- drawgeom
- zoombox
- zoom
URL parameters
Name | Description |
zoom | Controls the zoom level. Values are often between 1-16
Example:
|
zoombox | Zoomer to max. Syntaks: minX,minY,maxX,maxY,SRID
Example:
|
drawgeom |
Draws vector data based on the WKT representation. More can be sent using JSON array. Syntax:
Example:
|
lt | Controls the type of label to be used on drawn objects in drawgeom. Syntax: [1|2|3|4]. Not required.
Possible values:
|
Example on iframe code with URL API
<iframe name="embedMap" title="Adaptive EmbedMap" scrolling="no" frameborder="0" width="400px" height="600px" src="http://localhost/a_a3/embedded/38e28790-4146-4150-ac41-7bcd99371a5b?zoom=3" ></iframe><noframes>Your browser does not support iframe. <a href="http://localhost/a_a3/embedded/38e28790-4146-4150-ac41-7bcd99371a5b?zoom=3" target="_blank">You can see the content of the frame here</a></noframes>
Note! When using drawgeom you must use single quotes ( ‘) around the url when the url itself contains double quotes ( “).
Example:
<code><iframe name="embedMap" title="Adaptive EmbedMap" scrolling="no" frameborder="0" width="400px" height="600px" src=<strong>'http://localhost/a_a3/embedded/38e28790-4146-4150-ac41-7bcd99371a5b?drawgeom={"wkt": "POLYGON ((10 63, 10 64, 12 64, 12 63))","srid":4326,"label":"some text"}'</strong> ></iframe><noframes>Your browser does not support iframe. <a href=<strong>'http://localhost/a_a3/embedded/38e28790-4146-4150-ac41-7bcd99371a5b?drawgeom={"wkt": "POLYGON ((10 63, 10 64, 12 64, 12 63))","srid":4326,"label":"some text"}'</strong> target="_blank">You can see the content of the frame here</a></noframes>