Ticket #155 (closed enhancement: wontfix)

Opened 6 years ago

Last modified 5 years ago

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:1 Changed 5 years ago by ed

  • Priority changed from minor to major
  • Milestone set to Phase 4

please provide estimate and help Ed work out whether this can be done in phase 4

comment:2 Changed 5 years ago by ed

  • Priority changed from major to minor

comment:3 Changed 5 years ago by jim

Will require some custom coding...

  1. jQuery History API: http://tkyk.github.com/jquery-history-plugin/
  2. Code to get hold of GMap in a Drupally fashion: http://drupal.org/node/224702
  3. Outright theft/liberation of code from: http://www.350.org/en/map#/map/53.338406/-1.699959/3
  4. Tinkering.

It's probably an hour or two's R&D, then an hour or two's coding/testing.

comment:4 Changed 5 years ago by ed

thanks - definitely a minor thing - keep it that way for now - i can already feel other things taking more time, and there's bound to be a surprise entry into phase 4 in due course.

comment:5 Changed 5 years ago by ed

  • Status changed from new to closed
  • Resolution set to wontfix

too much else on; closing

Note: See TracTickets for help on using tickets.