Skip to content

Commit

Permalink
added Bing layers attribution
Browse files Browse the repository at this point in the history
  • Loading branch information
mwa committed Apr 13, 2012
1 parent 0d1f195 commit 938806e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions openlayers/html/bing_aerial-labels.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
var bing = new OpenLayers.Layer.Bing(
{ name: "Aerial with labels", key: apiKey, type: "AerialWithLabels", sphericalMercator: true } );
map.addLayer(bing);
map.addControl(new OpenLayers.Control.Attribution());
map.setCenter(new OpenLayers.LonLat(0, 0), 2);
oloMarker = new OlOverviewMarker(map, getPathUpper(document.URL) + '/x.png');
}
Expand Down
1 change: 1 addition & 0 deletions openlayers/html/bing_aerial.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
var bing = new OpenLayers.Layer.Bing(
{ name: "Aerial", key: apiKey, type: "Aerial", sphericalMercator: true } );
map.addLayer(bing);
map.addControl(new OpenLayers.Control.Attribution());
map.setCenter(new OpenLayers.LonLat(0, 0), 2);
oloMarker = new OlOverviewMarker(map, getPathUpper(document.URL) + '/x.png');
}
Expand Down
1 change: 1 addition & 0 deletions openlayers/html/bing_road.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
var bing = new OpenLayers.Layer.Bing(
{ name: "Road", key: apiKey, type: "Road", sphericalMercator: true } );
map.addLayer(bing);
map.addControl(new OpenLayers.Control.Attribution());
map.setCenter(new OpenLayers.LonLat(0, 0), 2);
oloMarker = new OlOverviewMarker(map, getPathUpper(document.URL) + '/x.png');
}
Expand Down

0 comments on commit 938806e

Please sign in to comment.