Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
map.events.register('moveend', this, function(object, element) {
localStorage['ole.map.zoom'] = map.zoom;
localStorage['ole.map.center.lat'] = map.center.lat;
localStorage['ole.map.center.lon'] = map.center.lon;
});