Updated the sphere mollweide example
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user