Skip to content

Commit

Permalink
Merge pull request #44 from openlayers/no-key
Browse files Browse the repository at this point in the history
Encourage people to get their own Bing Maps key
  • Loading branch information
marcjansen committed Feb 18, 2016
2 parents 0e224c9 + 7c77feb commit 4c181d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/examples/bing.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ <h1>My Map</h1>
new ol.layer.Tile({
source: new ol.source.BingMaps({
imagerySet: 'Road',
key: 'Ak-dzM4wZjSqTlzveKz5u0d4IQ4bRzVI309GxmkgSVr1ewS6iPSrOvOKhA-CJlm3'
key: '<Your Bing Maps Key Here>'
})
})
],
Expand Down
4 changes: 2 additions & 2 deletions src/layers/proprietary.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Let's add a Bing layer.
```js
source: new ol.source.BingMaps({
imagerySet: 'Road',
key: 'Ak-dzM4wZjSqTlzveKz5u0d4IQ4bRzVI309GxmkgSVr1ewS6iPSrOvOKhA-CJlm3'
key: '<Your Bing Maps Key Here>'
})
```
*Note* - The Bing tiles API requires that you register for an API key to use with your mapping application. The example here uses an API key that you should not use in production. To use the Bing layer in production, register for an API key at https://www.bingmapsportal.com/.
Expand Down Expand Up @@ -55,7 +55,7 @@ Your revised `map.html` file should look something like this:
new ol.layer.Tile({
source: new ol.source.BingMaps({
imagerySet: 'Road',
key: 'Ak-dzM4wZjSqTlzveKz5u0d4IQ4bRzVI309GxmkgSVr1ewS6iPSrOvOKhA-CJlm3'
key: '<Your Bing Maps Key Here>'
})
})
],
Expand Down

0 comments on commit 4c181d1

Please sign in to comment.