ThinkGeo.com    |     Documentation    |     Premium Support

Label/Icon for freeway chooped off at levle 16 when generating bitmaps from WorldMapKit data

Hi ThinkGeo,


When generating tiles at level 16, some of the freeway icons/labels are chopped off as seen in tile snapshot attached. Is there way to avoid chopping of labels /icons


Regards,


Anil


 



LabelChoppedOff.zip (6.07 KB)

 


Hi, Anil
Yes, it does occur occasionally. We also encounter this problem before.
It was caused by that the icon or label is just right on the middle of tiles, and if you generate one tile every time so that it will be cut. Here are some things you need to confirm:
1. Do you check whether the chopped icons/labels appear in the neighboring tile images?
2. Have you tried the latest WorldMapKitRenderLayer that we have released in the last week? If not, please give a try for it. A lot of update related with this problem has been fixed, but I am not sure whether it can fix your problem.
If this problem still exists, there is one solution we adopted for the WorldMapKit online service. From the ZoomLevel5 on, we will generate one big image whose size is 4096*2048 instead of one tile 256*256 every time and then call SaveTiles method of TileCache to save it, internally it will extract every one tile image from the big image for you. So it can reduce the probability for generating chopped icons/labels.
If there is anything you don't understand, please let me know.
Thanks,
Khalil