[OpenLayers-Users] saving a state of a map

Huey Brantley hpbrantley at gmail.com
Thu Jul 21 12:50:05 EDT 2011


I added cookie support to my bookmark addin control.
http://trac.osgeo.org/openlayers/wiki/Addins/Bookmark

The code is there but the links to the examples aren't working
correctly.  Odd.


On 07/15/2011 01:03 PM, Huey Brantley wrote:
> Permalink would create a url to that view.  You would also extend the
> Bookmark control to save the position to a cookie.
>
> On Fri, Jul 15, 2011 at 12:56 PM, Michael<mdm at yachtpc.com> <mdm at yachtpc.com>  wrote:
>> I have been using cookies.  Set a cookie with each change, read when the
>> page is invoked.  Have not been using for pan and zoom, but should be the
>> same...
>>
>> On 7/15/2011 10:34 AM, Troy Coburn wrote:
>>
>> Would the Permalink control work for you?
>>
>> Paw3l wrote:
>>
>> Hi all,
>>
>> I have a WMS layer with my geoserver map. My user scrolls the map, zoom it
>> in and out etc then do some other action. When she/he would like to use the
>> map again and open the map webpage again she/he must start zooming and
>> scrolling from the beginning.
>>
>> How to save the 'state' of zooming and scrolling of the map (maybe in a
>> session)? Is this possible?
>>
>> Best Regards to all OpenLayers enthusiasts :)
>>
>> --
>> View this message in context:
>> http://osgeo-org.1803224.n2.nabble.com/saving-a-state-of-a-map-tp6587498p6587498.html
>> Sent from the OpenLayers Users mailing list archive at Nabble.com.
>> _______________________________________________
>> Users mailing list
>> Users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>>
>>
>> --
>> _________________________________________________________________________
>> Troy Coburn
>> Web Developer
>> CARIS
>> 115 Waggoners Lane, Fredericton, New Brunswick, Canada, E3B 2L4
>> Tel: +1.506.458.8533 Fax: +1.506.459.3849
>> www.caris.com
>> _________________________________________________________________________
>> This email and any files transmitted with it are confidential and intended
>> only for the addressee(s). If you are not the intended recipient(s) please
>> notify us by email reply. You should not use, disclose, distribute or copy
>> this communication if received in error.
>>
>> Any views or opinions expressed in this email are solely those of the author
>> and do not necessarily represent those of the company. No binding contract
>> will result from this email until such time as a written document is signed
>> on behalf of the company.
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110721/c469f11b/attachment-0001.html


More information about the Users mailing list