ghettovoice / vuelayers

Web map Vue components with the power of OpenLayers
https://vuelayers.github.io/
MIT License
680 stars 227 forks source link

vuelayers/lib/ol-ext on 0.12.x version #336

Closed empereira closed 4 years ago

empereira commented 4 years ago

Hello @ghettovoice ,

In that version you no longer have the ol-ext options?

I upgraded to this version and it gave error in the import:

import { findPointOnSurface } from 'vuelayers/lib/ol-ext';

ghettovoice commented 4 years ago

Hello @empereira , I don't yet describe changes for v0.12.x. There is a changes in package layout. Now you can import all stuff from vuelayers/dist/... (https://unpkg.com/browse/vuelayers@0.12.0-rc.0/dist/).

I tried to avoid incompatible changes as possible, but package layout one of breaking changes. I will describe migration a bit later. But actually all components should have props/events as in v0.11.x, but some will trigger WARN about deprecation.

empereira commented 4 years ago

Nice!!! Thanks for the feedback @ghettovoice !!!