This project has moved and is read-only. For the latest updates, please go here.

Weird mapview when using tileSize other than 256

Aug 11, 2015 at 1:47 PM
Encountered a weird issue with mapview when trying to use this with high screen density mobiles, fonts are very small, so i started looking around and found there is a variable name tileSize and it seems solved by problem but when i change this to 512 . its started acting weird. half screen tiles are blur, marker position shifts with zoom level.
Aug 11, 2015 at 2:22 PM
Edited Aug 11, 2015 at 2:23 PM
The map control code calculates with a fixed tile size of 256. You can't change that.

What you could do is set the ZoomLevelOffset property of your TileLayers (new in version 2.5) to some negative value, e.g. -1. It will add a relative scaling to the tiles loaded by a TileLayer.