I've got a bing maps v7 app, and I'm making use of a tile layer to show traffic data.
Is there a way to provide a callback instead of a static string for the tile URL?
I need to modify the URL more than just the quadkey, and pass in different parameters based on the current zoom level and time of day.
Looks like there is an undocumented solution.
instead of passing a string for the URL, you can pass in a callback method that takes a tileId as an object.
That tileId object has x,y, and levelOfDetail, which can be used to reconstruct a quadkey, or get the lat/lng depending on your API needs.
Standard boilerplate warnings apply :)
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?