Updated the sphere mollweide example

This commit is contained in:
Olivier Guyot
2018-11-15 09:04:24 +01:00
parent 4ee75359c0
commit c69366ec0a

View File

@@ -1,4 +1,4 @@
import Graticule from '../src/ol/Graticule.js';
import Graticule from '../src/ol/layer/Graticule.js';
import Map from '../src/ol/Map.js';
import View from '../src/ol/View.js';
import GeoJSON from '../src/ol/format/GeoJSON.js';
@@ -30,7 +30,8 @@ const map = new Map({
url: 'data/geojson/countries-110m.geojson',
format: new GeoJSON()
})
})
}),
new Graticule()
],
target: 'map',
view: new View({
@@ -40,7 +41,3 @@ const map = new Map({
zoom: 0
})
});
new Graticule({
map: map
});