Add show graticule option

This commit is contained in:
mike-000
2020-03-09 14:54:24 +00:00
committed by GitHub
parent 831c5f8c69
commit 6019a61cca

View File

@@ -6,12 +6,12 @@ docs: >
This example shows client-side raster reprojection capabilities from This example shows client-side raster reprojection capabilities from
OSM (EPSG:3857) to arbitrary projection by searching OSM (EPSG:3857) to arbitrary projection by searching
in <a href="https://epsg.io/">EPSG.io</a> database. in <a href="https://epsg.io/">EPSG.io</a> database.
tags: "reprojection, projection, proj4js, epsg.io" tags: "reprojection, projection, proj4js, epsg.io, graticule"
--- ---
<div id="map" class="map"></div> <div id="map" class="map"></div>
<form class="form-inline"> <form class="form-inline">
<label for="epsg-query">Search projection:</label> <label for="epsg-query">Search projection:</label>
<input type="text" id="epsg-query" placeholder="4326, 27700, US National Atlas, Swiss, France, ..." class="form-control" size="50" /> <input type="text" id="epsg-query" placeholder="4326, 27700, 3031, US National Atlas, Swiss, France, ..." class="form-control" size="50" />
<button id="epsg-search" class="btn">Search</button> <button id="epsg-search" class="btn">Search</button>
<span id="epsg-result"></span> <span id="epsg-result"></span>
<div> <div>
@@ -19,5 +19,9 @@ tags: "reprojection, projection, proj4js, epsg.io"
Render reprojection edges Render reprojection edges
<input type="checkbox" id="render-edges"> <input type="checkbox" id="render-edges">
</label> </label>
<label for="show-graticule">
&nbsp;&nbsp;&nbsp;Show graticule
<input type="checkbox" id="show-graticule" />
</label>
</div> </div>
</form> </form>