Reputation: 175
Is there a way to use Microsoft Phone Map Control without the default Bing maps in WP8? I wan't to only display maps from a custom tile source that I have implemented.
Upvotes: 1
Views: 551
Reputation: 65564
Because the maps control always includes a Bing maps layer underneath you need to work around this. You can't stop it showing entirely.
How I've done this is the past is to modify the bing tile loading so that it always loads a valid tile, from the Bing maps server, that is a solid color (i.e. From the middle of the ocean or somewhere always covered in snow). This creates a solid background color that the other tiles are loaded on top of. By using the same image for all tiles you only need to download a single file (very small size) and reusing it means it can be cached and reloaded very quickly.
Upvotes: 2