@openlayers-elements/maps

0.4.0 • Public • Published

@openlayers-elements/maps BrowserStack Status

Custom element wrapping OpenLayers 5 API, thus providing a declarative way to create online maps.

See documentation and demos.

Quick start

To install run

npm add @openlayers-elements/maps @openlayers-elements/core

Here's the simplest possible OpenStreetMap:

<script type="module">
  import '@openlayers-elements/core/ol-map'
  import '@openlayers-elements/maps/ol-layer-openstreetmap'
</script>

<ol-map zoom="7" lat="46.7985" lon="8.2318">
  <ol-layer-openstreetmap></ol-layer-openstreetmap>
</ol-map>

For further examples go to the online demos, linked from GitHub.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.4.066latest

Version History

VersionDownloads (Last 7 Days)Published
0.4.066
0.3.01
0.2.11
0.2.01
0.2.0-beta.01
0.2.0-alpha.01
0.1.11
0.1.01

Package Sidebar

Install

npm i @openlayers-elements/maps

Weekly Downloads

73

Version

0.4.0

License

MIT

Unpacked Size

86.7 kB

Total Files

21

Last publish

Collaborators

  • tpluscode