Fix Map so zoomChanged when zoom is constructor option
This commit is contained in:
@@ -662,6 +662,7 @@ OpenLayers.Map = OpenLayers.Class({
|
||||
* be properly set below.
|
||||
*/
|
||||
delete this.center;
|
||||
delete this.zoom;
|
||||
this.addLayers(options.layers);
|
||||
// set center (and optionally zoom)
|
||||
if (options.center && !this.getCenter()) {
|
||||
|
||||
Reference in New Issue
Block a user