remove map.getSize call to avoid creating new instances

This commit is contained in:
fredj
2012-01-09 16:14:18 +01:00
committed by Frederic Junod
parent 90452311f3
commit b900144ce3
2 changed files with 14 additions and 15 deletions

View File

@@ -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) {