vy/pathlopedia — Issue #2: Switching back to last position and zoom level
Author: vy
Created: 2011-11-14 12:28:27+00:00
State: open

1. Store current map center and zoom level to `map_center` and `map_zoom_level` cookies, respectively.
* For cookie functionality within jQuery, use `jquery.cookie.js`. (For details, see the `index.html` I provided offline.]
* In order to track map center and zoom level changes, you need to introduce listener hooks to the DOM events. (See `google.maps.event.addListener` for details.)
2. If we cannot determine the current user location while displaying the initial map, that is, user might have rejected to send his/her GPS data, fall back to these stored `map_center` and `map_zoom_level` configurations.