Skip to content

Releases: ghettovoice/vuelayers

v0.7.5

24 Dec 17:18
Compare
Choose a tag to compare
  • vl-source-vector: added update:features event
  • vl-source-xyz: url prop as string or function

v0.7.4

14 Nov 08:40
Compare
Choose a tag to compare
  • fix issue #21

v0.7.3

11 Nov 15:25
Compare
Choose a tag to compare

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 and destroyed 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

14 Oct 10:14
Compare
Choose a tag to compare

v0.7.0

19 Sep 20:57
Compare
Choose a tag to compare

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 (wraps ol.Overlay class).
  • vl-source-cluster component - layer source component to cluster vector data (wraps ol.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 as precompose, 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 inside vl-feature for example).
  • standalone builds and separate components as packages for all popular module systems (ES, CommonJS, UMD).
  • add url, format, strategy options to vl-source-vector for easily load layers from backend.

Upgrade notes

  • vl-style-container was renamed to vl-style-box. The old name will be droped in the next release.
  • selected property was renamed to features in the vl-interaction-select component. Also now it is synchronizable property.
  • vl-view now is a part of map 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 from lib directory can be added once in entry file, it's enough to load all VueLayers styles), libDir / libraryDirectory option should be changed to lib.

There is new Demo and Install / Usage Guide that are introducing new features and usage.

v0.6.2

12 May 14:21
Compare
Choose a tag to compare

New tile source component to work with Sputnik.ru tile server was added.

v0.6.1

16 Apr 18:25
Compare
Choose a tag to compare
Fix mistakes in README and demo

v0.6.0

16 Apr 14:43
Compare
Choose a tag to compare

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 and StyleFunc)
    // 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 use babel-plugin-component you
    should update plugin config. Example:

    {
      "presets": [
          ["latest", "stage-2"]
      ],
      "plugins": [["component", [
          {
          "libraryName": "vuelayers",
          "style": true,
          "libDir": "dist/modules"
          }
      ]]]
    }

v0.5.2

02 Apr 12:48
Compare
Choose a tag to compare
remove prepublish, do not interrupt publish when build failed

v0.5.1

02 Apr 12:41
Compare
Choose a tag to compare
temporarily remove `module` field from package.json, until ready ES6 …