Taking advantage of GitHub's rendering of .geojson
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user