Releases: ghettovoice/vuelayers
Releases · ghettovoice/vuelayers
v0.5.0
New features
forEachFeatureAtPixel
,forEachLayerAtPixel
,getCoordinateFromPixel
methods were added tovl-map
component (#7)version
property was added tovl-source-wms
component (#5)GetFeatureInfo
method was added tovl-source-wms
component (#6)vl-map
,vl-layer-*
,vl-feature
now emits pointer events likeclick
,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
- wrapsol.style.RegularShape
Upgrade notes
feature(s)
now everywhere is always in GeoJSON format with geometry inEPSG:4326
(style callbacks, return values, properties and etc.)- Layer now passed to callbacks as plain object
{ id: ..., ... }
instead of just ID (filter
property invl-interaction-select
, style function invl-style-func
) - Dist directory was changed to
dist
instead ofdist/cjs
..babelrc
should to be updated ifvuelayers
used withbabel-plugin-component
v0.4.0
Changes
- changed public mixin exports (VueLayers.mixins.source*, VueLayers.mixins.layer*) in standalone build
v0.3.1
Upgrade to ol-tilecache
v0.3.0
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 usestyle-target
mixin
Breaking changes:
v-style-func
directive was replaced withvl-style-func
componentvl-map-view
was renamed tovl-view
First release
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