K. Braungardt
K. Braungardt

Reputation: 21

Marker position changes with higher zoom level on leaflet map with custom tiles

I transformed an image into maptiles with max zoomlevel of 6. There are several markers on this map. Until zoom level 4 everything is ok. With zoom level > 5 the marker position changes.

I use CRS.simple for the construction of the map.

Upvotes: 1

Views: 841

Answers (1)

K. Braungardt
K. Braungardt

Reputation: 21

Ok. I recreated the tiles with another codebase: https://github.com/commenthol/gdal2tiles-leaflet. This worked out well. Markers keep their position. There is also HTML/JS-Code for the leaflet map.

Upvotes: 0

Related Questions