Instead of providing properties for restricting the region the tile layer renders in, it gives us the ability to provide a callback function where we can add advanced functionality for loading tile layers. In the Bing Maps Web Control Version and Bing Maps for Windows Store Apps JavaScript map controls tile layers are designed to be much more customizable. Many of these controls provide methods for limiting tile layers to a specific bounding box or zoom level range. In this blog post, I will show you how to create bounded tile layers in Bing Maps Web Control and the Bing Maps for Windows Store Apps control.īing Maps supports tile layers in all of its map controls and has done so for a long time. Otherwise you will end up with a lot of extra requests being made to your tile service for nothing. If this is the case then you will want to limit the loading of tiles in your app to that area. Depending on the type of data you are displaying as a tile layer, you may find that it is localized to a small part of the world. Tile layers are a great way to visualize a lot of data on a map and still have good performance.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |