Taking advantage of GitHub's rendering of .geojson
This commit is contained in:
1 parent
bf9b0b4dd2
commit
2ee0805075
4 files changed
+5
-5
No files matched your search
File renamed without changes.
@@ -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