sjc-leaflet-basemaps

Available basemaps for San Juan County WA

Usage no npm install needed!

<script type="module">
  import sjcLeafletBasemaps from 'https://cdn.skypack.dev/sjc-leaflet-basemaps';
</script>

README

sjc-leaflet-basemaps

Available basemaps for San Juan County WA

API

sjc-leaflet/basemaps

San Juan County Leaflet Basemaps

defaultVector

Default vector basemap

defaultImagery

Default imagery basemap

defaultImageryReference

Default imagery and reference labels basemap

generalMap

General Basemap showing streets and other vector data

imagery2013

Aerial imagery from 2013 as basemap

imagery2013Reference

Group basemap showing 2013 aerial imagery with reference labels overlay

general-map

General streets vector basemap

Parameters

  • opts object options for leaflet tilelayers
    • opts.maxZoom [number] maximum zoom level for layer (optional, default 19)
    • opts.attribution [string] map attribution for layer (optional, default 'San Juan County GIS')

Returns object Leaflet tile layer

imagery-2013

Aerial imagery from 2013 as basemap

Parameters

  • opts object options for leaflet tilelayers
    • opts.maxZoom [number] maximum zoom level for layer (optional, default 19)
    • opts.attribution [string] map attribution for layer (optional, default '<a href)

Returns object Leaflet tile layer

imagery-reference

Group basemap showing specified base layer with reference labels overlay

Parameters

  • base [object] Leaflet tile layer (usually imagery) (optional, default defaultImagery())
  • opts object options for leaflet tilelayers
    • opts.maxZoom [number] maximum zoom level for layer (optional, default 19)

Returns object leaflet layer group