Ticket #155 (closed enhancement: wontfix)
Make the map not revert back to worldview when you move
Reported by: | ed | Owned by: | jim |
---|---|---|---|
Priority: | minor | Milestone: | Phase 4 |
Component: | Drupal modules & settings | Keywords: | |
Cc: | Estimated Number of Hours: | 0.0 | |
Add Hours to Ticket: | 0 | Billable?: | yes |
Total Hours: | 0 |
Description
The Transition Initiatives map supports dynamically updating the URL to include the latitude, longitude and zoom level. This allows browser Back functionality to display the same historical map view, instead of resetting to a world view. Also links can be copied and used on other web pages to link to a specific view of the map.
The 350.org actions map gives a good example of this functionality, e.g. http://www.350.org/en/map#/map/53.338406/-1.699959/3
Change History
comment:3 Changed 5 years ago by jim
Will require some custom coding...
- jQuery History API: http://tkyk.github.com/jquery-history-plugin/
- Code to get hold of GMap in a Drupally fashion: http://drupal.org/node/224702
- Outright theft/liberation of code from: http://www.350.org/en/map#/map/53.338406/-1.699959/3
- Tinkering.
It's probably an hour or two's R&D, then an hour or two's coding/testing.
Note: See
TracTickets for help on using
tickets.
please provide estimate and help Ed work out whether this can be done in phase 4