Using Your Own Tiles In Virtual Earth

This Page is locked
Modified: 2007/01/09 15:27 by ViaVE Visitor
you can write a custom tile server and link that into the new layer mechanisms with the standard MapControl:

       var tileSourceSpec = new VETileSourceSpecification();
       tileSourceSpec.ID = “SeattleTransit”
       tileSourceSpec.TileSource = http://jbhatia1.members.winisp.net/SeattleTransit/%4.png;
       tileSourceSpec.NumServers = 1;
       tileSourceSpec.MinZoom = 2;
      tileSourceSpec.MaxZoom = 16; 


See that .TileSource? Change the .png to a .aspx, and—presto!—dynamic tiles. That’s a lot easier than the javascript hacks in the article.