2.0.1 • Published 4 months ago

leaflet-freie-tonne v2.0.1

Weekly downloads
57
License
BSD-2-Clause
Repository
github
Last release
4 months ago

Leaflet.FreieTonne

A Leaflet layer that adds the nautical features overlay from FreieTonne.

Demo\ Demo on FacilMap

Usage

If you are using a module bundler, you can install Leaflet.FreieTonne using npm install -S leaflet-freie-tonne and use it in your code like so:

import FreieTonne from 'leaflet-freie-tonne';
new FreieTonne().addTo(map);

TypeScript is supported. Note that when using Leaflet.FreieTonne like this, L.FreieTonne is not available on the global L leaflet object.

If you want to use Leaflet.FreieTonne in a static HTML page, it is available as L.FreieTonne:

Adding L.FreieTonne:

<script src="https://unpkg.com/leaflet"></script>
<script src="https://unpkg.com/leaflet-freie-tonne"></script>
<script>
    new L.FreieTonne().addTo(map);
</script>

L.FreieTonne is a Leaflet layer, so it can be added as an overlay to L.Control.Layers and used in any other way that a Layer can be used.

2.0.1

4 months ago

2.0.0

4 months ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

2 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago