Taking advantage of GitHub's rendering of .geojson

This commit is contained in:
Tim Schaub
2013-06-18 15:36:12 -06:00
parent bf9b0b4dd2
commit 2ee0805075
4 changed files with 5 additions and 5 deletions

View File

@@ -57,7 +57,7 @@ map.on(['click', 'mousemove'], function(evt) {
var geojson = new ol.parser.GeoJSON();
var url = 'data/countries.json';
var url = 'data/countries.geojson';
var xhr = new XMLHttpRequest();
xhr.open('GET', url, true);