remove map.getSize call to avoid creating new instances
This commit is contained in:
@@ -1406,6 +1406,7 @@
|
||||
|
||||
var m = {
|
||||
'baseLayer': { 'units': {} },
|
||||
'size': {'w': 10, 'h': 15},
|
||||
'getSize': function() { return {'w': 10, 'h': 15}; },
|
||||
'getCachedCenter': function() { return {'lon': -5, 'lat': -25}; },
|
||||
'zoomToExtent': function(extent, closest) {
|
||||
|
||||
Reference in New Issue
Block a user