Skip to content

Commit

Permalink
Removed some stupid errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Piquet committed Jun 25, 2012
1 parent 4b2eb0d commit e7cd8f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ Leaflet Control Bing Geocoder
# What is it ?
A simple geocoder that uses Bing to locate places.

# How to use ?
# How to use it ?
```javascript
var cloudmadeAttribution = 'Map data © 2011 OpenStreetMap contributors, Imagery © 2011 CloudMade',
cloudmade = new L.TileLayer('http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/997/256/{z}/{x}/{y}.png', {attribution: cloudmadeAttribution});

var map = new L.Map('map').addLayer(cloudmade).setView(new L.LatLng(48.5, 2.5), 15);

var bingGeocoder = new L.Control.BingGeocoder('AsaKzgbo2GW8wrcv0mLCyVvEx2Q8V1N54Gpmizw-fzHIKOAjAMMy4TdNfKdS71vs');
var bingGeocoder = new L.Control.BingGeocoder('your-api-key');

map.addControl(bingGeocoder);
```
Expand Down
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

var map = new L.Map('map').addLayer(cloudmade).setView(new L.LatLng(48.5, 2.5), 15);

var bingGeocoder = new L.Control.BingGeocoder('AsaKzgbo2GW8wrcv0mLCyVvEx2Q8V1N54Gpmizw-fzHIKOAjAMMy4TdNfKdS71vs');
var bingGeocoder = new L.Control.BingGeocoder('your-api-key');

map.addControl(bingGeocoder);
</script>
Expand Down

0 comments on commit e7cd8f0

Please sign in to comment.