How is it possible that map.getCenter()
might be different from map.getBounds().getCenter()
?
> cragMap.getCenter()
> Q {d: 13.823563748466814, e: 0, toString: function, b: function, equals: function…}
> cragMap.getBounds().getCenter()
> Q {d: 5.9865924355766005, e: 0, toString: function, b: function, equals: function…}
This happens in my case and prevents me from coding one particular feature. Any idea what is the cause of this?