-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: operator quick start config guide (#3010)
#### Motivation Expand the quick start guide to include how to bundle configuration #### Modification - Applies prettier to all of /docs - adds quick start guide for bundling config #### Checklist _If not applicable, provide explanation of why._ - [ ] Tests updated - [ ] Docs updated - [ ] Issue linked in Title
- Loading branch information
Showing
7 changed files
with
304 additions
and
256 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,38 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>Leaflet WGS84 Basemaps Demo</title> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" /> | ||
<script | ||
src="https://unpkg.com/[email protected]/dist/leaflet.js" | ||
integrity="sha384-cxOPjt7s7Iz04uaHJceBmS+qpjv2JkIHNVcuOrM+YHwZOmJGBXI00mdUXEq65HTH" | ||
crossorigin="anonymous" | ||
></script> | ||
<style> | ||
html, | ||
body { | ||
height: 100%; | ||
margin: 0; | ||
} | ||
</style> | ||
</head> | ||
|
||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>Leaflet WGS84 Basemaps Demo</title> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" /> | ||
<script src="https://unpkg.com/[email protected]/dist/leaflet.js" | ||
integrity="sha384-cxOPjt7s7Iz04uaHJceBmS+qpjv2JkIHNVcuOrM+YHwZOmJGBXI00mdUXEq65HTH" | ||
crossorigin="anonymous"></script> | ||
<style> | ||
html, | ||
body { | ||
height: 100%; | ||
margin: 0; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div id="map" style="width: 100%; height: 500px"></div> | ||
<script> | ||
const startPos = [-40.5, 173]; | ||
const startZoom = 6; | ||
|
||
<body> | ||
<div id="map" style="width: 100%; height: 500px;"></div> | ||
<script> | ||
const startPos = [-40.5, 173]; | ||
const startZoom = 6; | ||
const url = | ||
'https://basemaps.linz.govt.nz/v1/tiles/aerial/WebMercatorQuad/{z}/{x}/{y}.webp?api=d01hep5551e30kxb7w85hck49tp'; | ||
|
||
const url = 'https://basemaps.linz.govt.nz/v1/tiles/aerial/WebMercatorQuad/{z}/{x}/{y}.webp?api=d01hep5551e30kxb7w85hck49tp'; | ||
const tiles = L.tileLayer(url, { | ||
attribution: | ||
'<a href="https://www.linz.govt.nz/data/linz-data/linz-basemaps/data-attribution">LINZ CC BY 4.0 © Imagery Basemap contributors</a>', | ||
}); | ||
|
||
const tiles = L.tileLayer(url, { | ||
attribution: '<a href="https://www.linz.govt.nz/data/linz-data/linz-basemaps/data-attribution">LINZ CC BY 4.0 © Imagery Basemap contributors</a>' | ||
}); | ||
|
||
L.map('map') | ||
.addLayer(tiles) | ||
.setView(startPos, startZoom); | ||
|
||
</script> | ||
</body> | ||
|
||
</html> | ||
L.map('map').addLayer(tiles).setView(startPos, startZoom); | ||
</script> | ||
</body> | ||
</html> |
Oops, something went wrong.