Browse Source

state: wrap url at lon -180/180

master
parent
commit
2dfe4526cb
  1. 2
      src/state.js

2
src/state.js

@ -17,7 +17,7 @@ function get () {
// location
if (typeof map.getZoom() !== 'undefined') {
var center = map.getCenter()
var center = map.getCenter().wrap()
var zoom = map.getZoom()
state.lat = center.lat

Loading…
Cancel
Save