Skip to content

drift of coordinates after zooming #426

@przemekl

Description

@przemekl

var mapCenter = new L.LatLng(10.000000, 10.000000);
map.setView(mapCenter, 1)
for (i=2;i<19;i++){
map.zoomIn(); }
map.getCenter() - returns (9.96885, 9.84375)
Second place is shifted ca. 20km
Whether it is a rounding error, or screen coordinates conversion?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions