Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loading features #480

Closed
npltr62 opened this issue Mar 1, 2022 · 1 comment
Closed

loading features #480

npltr62 opened this issue Mar 1, 2022 · 1 comment
Assignees
Labels

Comments

@npltr62
Copy link

npltr62 commented Mar 1, 2022

hello when i switched to v0.12 this code below not working.
<vl-layer-vector :z-index=0> <vl-source-vector ref="dept_Source" :url="dept_url"/> <vl-style> <vl-style-fill color="#cacee6"></vl-style-fill> <vl-style-stroke :width=0.5 color="grey"></vl-style-stroke> </vl-style> </vl-layer-vector> data() { return { dept_url: null } }, mounted () { this.isLoading = true; setTimeout(() => { this.dept_url = process.env.VUE_APP_GEOSERV + "geoserver/fd/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=fdp49%3Adept_49&outputFormat=application%2Fjson" this.isLoading = false; }, 2000); },
in latest version, a url validator was added cf doc. Should i use loader property?

@ghettovoice ghettovoice self-assigned this Mar 2, 2022
@ghettovoice ghettovoice added the bug label Mar 2, 2022
@ghettovoice
Copy link
Owner

Hello @npltr62 ,
I have forgot to add source refresh on url, loader prop changes.
I'll fix this ASAP.
Thanks for report!

ghettovoice added a commit that referenced this issue Mar 2, 2022
- fix #477, #480
- fix incorrect `getUid` import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants