Can I dynamically change the starting point of a map tile?

260
0
07-04-2021 09:23 AM
JoeLiao2
New Contributor

For some reason I need to move each image in a tile map service, I use BaseTileLayer to create new subclasses, I can calculate their starting points before and after, but I don't know how to dynamically change the origin? I have also tried overriding the getTileBounds method, but it doesn't work. I have also found a method to updateTileInfo, but I don't know how to use it. Can anyone help me please? Thanks!

0 Kudos
0 Replies