Skip to content

v0.5.0

Compare
Choose a tag to compare
@ghettovoice ghettovoice released this 30 Mar 19:48
· 965 commits to master since this release

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