Ticket #868 (new feature)

Opened 6 years ago

Last modified 2 years ago

Cookie-based Permalink/ArgParser-workalike

Reported by: openlayers Owned by:
Priority: minor Milestone: Future
Component: general Version: SVN
Keywords: Cc: bob@…
State: Needs More Work

Description

Store position, zoom and layers in a cookie, like openstreetmap.org now has.

Attachments

cookie.patch Download (10.0 KB) - added by openlayers 6 years ago.

Change History

Changed 6 years ago by openlayers

Changed 5 years ago by euzuro

  • milestone set to 2.8 Release

this is an interesting idea. the patch/idea is way too big to fit into 2.7, though, so I'm sliding it into 2.8 so that we consider it then.

Changed 4 years ago by crschmidt

  • milestone changed from 2.8 Release to 2.9 Release

This code hasn't been updated in a year and doesn't have a champion right now; bumping to after 2.8, at which point we can work on it more.

Changed 4 years ago by jpulles

Probably the solution for this feature should take into account that a page can have multiple maps and that a site can have multiple pages. For multiple maps on a single page it would be sufficient to use the map id as a cookie key. I'm working to take the multiple pages into account. In case you are interested, the patch only modifies ArgParser and Permalink; ArgParser optionally saves that state in a cookie, Permalink uses the cookie if set. The values in the cookie take precedence over the values in the command line.

Changed 3 years ago by bartvde

  • milestone changed from 2.9 Release to 2.10 Release

Changed 2 years ago by erilem

  • state changed from Review to Needs More Work
  • milestone changed from 2.11 Release to Future

Bumping again. Old patch, that doesn't apply to current trunk, and that doesn't include tests.

Note: See TracTickets for help on using tickets.