var hash = OSM.parseHash(location.hash);
// Decide on a map starting position. Various ways of doing this.
- if (hash.lat && hash.lon) {
+ if (hash.center) {
mapParams.lon = hash.center.lng;
mapParams.lat = hash.center.lat;
mapParams.zoom = hash.zoom;