You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

vue3-openlayers

Package Overview
Dependencies
Maintainers
2
Versions
177
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue3-openlayers - npm Package Versions

1
911
18

1.0.0-alpha.4

Diff
d
d-koppenhagen
published 1.0.0-alpha.4 •
d
d-koppenhagen
published 1.0.0-alpha.3 •
d
d-koppenhagen
published 1.0.0-alpha.2 •
d
d-koppenhagen
published 1.0.0-alpha.1 •
d
d-koppenhagen
published 1.0.0-alpha.0 •
d
d-koppenhagen
published 0.5.1 •

Changelog

Source

Summary (compared to version 0.5.1)

  • 🛠️ migrated all components and features to TypeScript
  • 👩🏻‍🔧 migrated all components to use <script setup> syntax
  • 🗺️ aligned API with OpenLayers 7.4.0
  • 📘 updated & restructured the whole documentation
  • 🧩 added new components: ol-layer-group, ol-source-tile-json, ol-source-stadia-maps and ol-vector-image-layer
  • 🚀 expose all interactions to be able to call access them via ref in templates
  • 🐞 lot's of bug fixes
  • 📖 improved the documentation
  • ✨ better types for improved developer experience

Compability

Please be sure to install the following peerDependencies in your project:

"ol": "^7.4.0",
"ol-contextmenu": "^5.2.1",
"ol-ext": "^4.0.8"

Breaking Changes

general: dropped support for Openlayers 6 and below. Please use Openlayers 7.x.x

general: lot's of property types have been updated to match with the types in Openlayers. This may lead to TypeScript issues that must be fixed. Please have a look at all Changelog notes from the alpha and next releases before.

ol-geolocation: pass-through original events from Openlayers directly and remove legacy events The following events are not emitted anymore and replaced with the events from Openlayers. All new events receive a generic ObjectEvent. This means, changing only the event name in your templates isn't enough, you must adopt the implementations of the handler functions, so the will receive an ObjectEvent as first parameter.

  • positionChanged -> change:position
  • speedChanged -> change:speed
  • headingChanged -> change:heading
  • altitudeChanged -> change:altitude
  • altitudeAccuracyChanged -> change:altitudeAccuracy
  • accuracyGeometryChanged -> change:accuracyGeometry

Please refer to the official Openlayers docs for Geolocation for details of the emitted event data format.

Special Thanks 👏🏼

Special thanks goes to:

  • @MelihAltintas for creating this awesome project, making it open source and enable other maintainers (like @d-koppenhagen) to improve it
  • @mathiash98 for digging deep into the code and fixing tricky issues like #128 and #175
  • @209, for the time invested and the laborious migration of the code base (PR https://github.com/MelihAltintas/vue3-openlayers/pull/149 was the basis for all the related commits)
  • @lukas-zaugg and @pjreed for other important bug fixes and new features
  • all other people who were not mentioned here but who also contributed to version 1.0.0 with their questions and issues 🙌🏼
d
d-koppenhagen
published 0.5.0 •
d
d-koppenhagen
published 0.4.0 •
d
d-koppenhagen
published 0.2.2 •
d
d-koppenhagen
published 0.2.1 •
SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.