Add support for bing subdomains. Refs https://github.com/systemed/iD/issues/681
authorTom MacWright <tom@macwright.org>
Fri, 8 Feb 2013 18:07:12 +0000 (13:07 -0500)
committerTom MacWright <tom@macwright.org>
Fri, 8 Feb 2013 18:07:12 +0000 (13:07 -0500)
resources/imagery.xml

index c8c58a9..91c52fe 100644 (file)
@@ -2,7 +2,7 @@
 <imagery>
   <set>
     <name>Bing aerial imagery</name>
-    <url>http://ecn.t0.tiles.virtualearth.net/tiles/a$quadkey.jpeg?g=587&amp;mkt=en-gb&amp;n=z</url>
+    <url>http://ecn.t${0|1|2|3}.tiles.virtualearth.net/tiles/a$quadkey.jpeg?g=587&amp;mkt=en-gb&amp;n=z</url>
     <scheme>microsoft</scheme>
     <sourcetag>Bing</sourcetag>
     <attribution_url>http://dev.virtualearth.net/REST/v1/Imagery/Metadata/Aerial/0,0?zl=1&amp;mapVersion=v1&amp;key=Arzdiw4nlOJzRwOz__qailc8NiR31Tt51dN2D7cm57NrnceZnCpgOkmJhNpGoppU&amp;include=ImageryProviders&amp;output=xml</attribution_url>