Skip to content

Releases: ghettovoice/vuelayers

v0.5.0

30 Mar 19:48
Compare
Choose a tag to compare

New features

  • forEachFeatureAtPixel, forEachLayerAtPixel, getCoordinateFromPixel methods were added to vl-map component (#7)
  • version property was added to vl-source-wms component (#5)
  • GetFeatureInfo method was added to vl-source-wms component (#6)
  • vl-map, vl-layer-*, vl-feature now emits pointer events like click, dblclick, singleclick (#7)
  • All components were re-written and now based on ES2015 verison of OpenLayers ol. CommonJS modules from dist directory based on standard OpenLayers version openlayers
  • Now available as UMD lib
  • New style component vl-reg-shape - wraps ol.style.RegularShape

Upgrade notes

  • feature(s) now everywhere is always in GeoJSON format with geometry in EPSG:4326 (style callbacks, return values, properties and etc.)
  • Layer now passed to callbacks as plain object { id: ..., ... } instead of just ID (filter property in vl-interaction-select, style function in vl-style-func)
  • Dist directory was changed to dist instead of dist/cjs. .babelrc should to be updated if vuelayers used with babel-plugin-component

v0.4.0

16 Mar 10:52
Compare
Choose a tag to compare

Changes

  • changed public mixin exports (VueLayers.mixins.source*, VueLayers.mixins.layer*) in standalone build

v0.3.1

16 Mar 08:23
Compare
Choose a tag to compare

Upgrade to ol-tilecache

v0.3.0

15 Mar 13:57
Compare
Choose a tag to compare

New features and improvments:

  • Vector source now accepts features (in GeoJSON format) as array property, may be used for layers with huge number of features or dynamic layers with server loading
  • Feature component now mirrors GeoJSON feature
  • Add vl-source-wms - Tile WMS source
  • vl-style-func - component for advanced styling, can be used with any component that use style-target mixin

Breaking changes:

  • v-style-func directive was replaced with vl-style-func component
  • vl-map-view was renamed to vl-view

First release

05 Mar 08:51
Compare
Choose a tag to compare

This is first release of VueLayers package.
Features:

  • Vue components for common OpenLayers classes like ol.Map, ol.View, ol.Feature, ol.layer.*, ol.source.* & etc
  • CommonJs all-in-one module and CommonJs module for each component
  • Demo page with source code example