diff --git a/docs/examples/_overview.md b/docs/examples/_overview.md new file mode 100644 index 000000000..54bf50970 --- /dev/null +++ b/docs/examples/_overview.md @@ -0,0 +1,13 @@ +# Overview + +[Use leaflet render raster map](./leaflet.xyz.3857.md) + + + +[Use Maplibre adjust opacity of the map](./maplibre.opacity.3857.md) + + + +[Use Maplibre to load vector tiles](./maplibre.vector.3857.md) + + diff --git a/docs/examples/index.leaflet.xyz.3857.html b/docs/examples/index.leaflet.xyz.3857.html new file mode 100644 index 000000000..b87dfeb84 --- /dev/null +++ b/docs/examples/index.leaflet.xyz.3857.html @@ -0,0 +1,39 @@ + + + + + + Leaflet WGS84 Basemaps Demo + + + + + + +
+ + + + \ No newline at end of file diff --git a/docs/examples/index.maplibre.opacity.3857.html b/docs/examples/index.maplibre.opacity.3857.html new file mode 100644 index 000000000..a6f2b0c2c --- /dev/null +++ b/docs/examples/index.maplibre.opacity.3857.html @@ -0,0 +1,214 @@ + + + + + + Adjust a layer's opacity + + + + + + + +
+
+ +
+
+ + +
+
+ + + + + \ No newline at end of file diff --git a/docs/examples/index.maplibre.vector.3857.html b/docs/examples/index.maplibre.vector.3857.html new file mode 100644 index 000000000..4d8f5dbf7 --- /dev/null +++ b/docs/examples/index.maplibre.vector.3857.html @@ -0,0 +1,45 @@ + + + + + + Maplibre WGS84 Topographic Vector Basemaps Demo + + + + + + + +
+ + + + \ No newline at end of file diff --git a/docs/examples/leaflet.xyz.3857.md b/docs/examples/leaflet.xyz.3857.md new file mode 100644 index 000000000..c85f48921 --- /dev/null +++ b/docs/examples/leaflet.xyz.3857.md @@ -0,0 +1,9 @@ +# Leaflet Raster Map + +Use leaflet render raster map + + + +```html +--8<-- "examples/index.leaflet.xyz.3857.html" +``` \ No newline at end of file diff --git a/docs/examples/maplibre.opacity.3857.md b/docs/examples/maplibre.opacity.3857.md new file mode 100644 index 000000000..e88a9ca9e --- /dev/null +++ b/docs/examples/maplibre.opacity.3857.md @@ -0,0 +1,9 @@ +# Maplibre Opacity Slider + +Use Maplibre adjust opacity of the map + + + +```html +--8<-- "examples/index.maplibre.opacity.3857.html" +``` \ No newline at end of file diff --git a/docs/examples/maplibre.vector.3857.md b/docs/examples/maplibre.vector.3857.md new file mode 100644 index 000000000..e64a97448 --- /dev/null +++ b/docs/examples/maplibre.vector.3857.md @@ -0,0 +1,9 @@ +# Maplibre Vector Map + +Use Maplibre to load vector tiles + + + +```html +--8<-- "examples/index.maplibre.vector.3857.html" +``` \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index 27f550db7..daced6bd9 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -35,6 +35,7 @@ theme: features: - navigation.indexes + - content.code.copy extra_css: - "index.css" @@ -48,8 +49,9 @@ markdown_extensions: pygments_lang_class: true # Additional syntax highlighting - pymdownx.inlinehilite - # Copy / paste to code blocks - - pymdownx.snippets + - pymdownx.snippets: + base_path: 'docs' + check_paths: true # Adds inline notes with `!!! note` # @@ -70,4 +72,4 @@ markdown_extensions: extra: analytics: provider: google - property: !ENV [GOOGLE_ANALYTICS] + property: !ENV [GOOGLE_ANALYTICS] \ No newline at end of file