Releases: ghettovoice/vuelayers
Releases · ghettovoice/vuelayers
v0.7.5
- vl-source-vector: added
update:features
event - vl-source-xyz:
url
prop as string or function
v0.7.4
v0.7.3
Current release fixes some API inconsistency in the part of receiving and returning of coordinates, and fixes several issues.
- added named export of
vl-text-style
component (fix issue #20 ) - added default scoped slot to
vl-view
component - life cycle events:
mounted
,created
anddestroyed
reflects state of underlying OpenLayers instances - arguments, options, return values representing coordinates or extents now everywhere in EPSG:4326 projection
- remove change events throttling in
vl-view
- update docs site
Patch release
- fix isse #17
v0.7.0
Totally refactored core and components, now extracted into separate packages for each module system.
Features
vl-overlay
component - component to be displayed over the map and attached to a single map location (wrapsol.Overlay
class).vl-source-cluster
component - layer source component to cluster vector data (wrapsol.source.Cluster
).- Scoped slots id
vl--feature
,vl-geoloc
,vl-overlay
,vl-interaction-select
to simplify work with state. - Support of synchronizable properties (
.sync
modifier). - Support of re-using internal OpenLayers object with the help of IdentityMap (same
ol.View
instance in multiple map instances). - Export all VueLayers mixins and helpers as
core
package for easily extending. - Support of all
ol.Map
events (such asprecompose
,postcompose
) for low level interacting with map (animation and etc). - Drop strict components hierarchy, now any component may be rendered inside any other, auto search of suitable parent container (useful for rendering inside scoped slots,
vl-overlay
insidevl-feature
for example). - standalone builds and separate components as packages for all popular module systems (ES, CommonJS, UMD).
- add
url
,format
,strategy
options tovl-source-vector
for easily load layers from backend.
Upgrade notes
vl-style-container
was renamed tovl-style-box
. The old name will be droped in the next release.selected
property was renamed tofeatures
in thevl-interaction-select
component. Also now it is synchronizable property.vl-view
now is a part ofmap
package, i.e. it do not need to be installed it manually.- All components initialization now is asynchronous. For usage of the API of a component instance there are two fields with promises that should be awaited before using component: $createPromsie and $mountPromise.
- Compiled builds directory of the NPM package was changed to
lib
, style imports should be updated relative path. - Config of the
babel-plugin-component
/babel-plugin-import
tool should be updated: style auto import should be disabled (compiled style fromlib
directory can be added once in entry file, it's enough to load all VueLayers styles),libDir
/libraryDirectory
option should be changed tolib
.
There is new Demo and Install / Usage Guide that are introducing new features and usage.
v0.6.2
New tile source component to work with Sputnik.ru tile server was added.
v0.6.1
Fix mistakes in README and demo
v0.6.0
New features
- WMTS layers through
vl-source-wmts
component. See demo source code for usage example. - Coordinates watcher inside
vl-geom-*
components. - ES6 pre-build version for usage with bundlers like Webpack 2 or Rollup.
- Reduce size of UMD build.
Changes
-
Component names inside main namespace (
VueLayers
) was changed according to the following rule.
It is important for those who have used the individual components.Layer*
was changed to*Layer
Geom*
was changed to*Geom
Interaction*
was changed to*Interaction
Source*
was changed to*Source
Style*
was changed to*Style
(exclusions:StyleContainer
andStyleFunc
)
// old code import { Map, View, LayerTile, SourceOsm, InteractionSelect } from 'vuelayers' // should be changed to import { Map, View, TileLayer, OsmSource, SelectInteraction } from 'vuelayers'
-
Separate components path was changed to
dist/modules
. If you usebabel-plugin-component
you
should update plugin config. Example:{ "presets": [ ["latest", "stage-2"] ], "plugins": [["component", [ { "libraryName": "vuelayers", "style": true, "libDir": "dist/modules" } ]]] }
v0.5.2
remove prepublish, do not interrupt publish when build failed
v0.5.1
temporarily remove `module` field from package.json, until ready ES6 …