Remove the resolutions list in sphere-mollweide example

This commit is contained in:
Frederic Junod
2018-11-15 12:25:51 +01:00
committed by Olivier Guyot
parent 3ac46ad10b
commit 05bf1d8f4a
3 changed files with 4 additions and 5 deletions

View File

@@ -1,9 +1,9 @@
--- ---
layout: example.html layout: example.html
title: Map Graticule title: Map Graticule
shortdesc: This example shows how to add a graticule overlay to a map. shortdesc: This example shows how to add a graticule layer to a map.
docs: > docs: >
This example shows how to add a graticule overlay to a map. This example shows how to add a graticule layer to a map.
tags: "graticule" tags: "graticule"
--- ---
<div id="map" class="map"></div> <div id="map" class="map"></div>

View File

@@ -1,9 +1,9 @@
--- ---
layout: example.html layout: example.html
title: Sphere Mollweide title: Sphere Mollweide
shortdesc: Example of a Sphere Mollweide map with a Graticule component. shortdesc: Example of a Sphere Mollweide map with a Graticule layer.
docs: > docs: >
Example of a Sphere Mollweide map with a Graticule component. Example of a Sphere Mollweide map with a Graticule layer.
tags: "graticule, Mollweide, projection, proj4js" tags: "graticule, Mollweide, projection, proj4js"
--- ---
<div id="map" class="map"></div> <div id="map" class="map"></div>

View File

@@ -37,7 +37,6 @@ const map = new Map({
view: new View({ view: new View({
center: [0, 0], center: [0, 0],
projection: sphereMollweideProjection, projection: sphereMollweideProjection,
resolutions: [65536, 32768, 16384, 8192, 4096, 2048],
zoom: 0 zoom: 0
}) })
}); });