[OpenLayers-Users] customizing permalink
Stephen Woodbridge
woodbri at swoodbridge.com
Thu Jan 19 20:23:12 EST 2012
On 1/19/2012 6:54 PM, Puneet Kishor wrote:
> I want to add the permalink control to the map, but I don't want to display it as is out of the box. Or, to be more precise, I want to build my own permalink link so that I can add a few more custom params to the link that the control builds, and then do something with that link, for example, store it in the db, or pop it in a window, etc.
>
> How can I do that?
Here is an example where are add additional parameters:
http://gis.imaptools.com/routing/leaddog/?zoom=14&lat=33.85749&lon=35.51971&layers=B0TTTF&start=35.493583%2033.826664&stop=35.565174%2033.864285&method=STS&lang=arb
Feel free to look at the page source to see how I did it.
-Steve
More information about the Users
mailing list