Skip to content
New issue

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

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

Already on GitHub? # to your account

Add vector tile layer #228

Closed
MichalPoty opened this issue Jul 26, 2023 · 5 comments
Closed

Add vector tile layer #228

MichalPoty opened this issue Jul 26, 2023 · 5 comments

Comments

@MichalPoty
Copy link

I have tried to add a vector tile layer (in .pbf format), but unsuccessfully, because there is no component for it. In the VueLayers version (Vue 2) there are vl-layer-vector-tile and vl-source-vector-tile components, but they are missing here.

Is there a reason for this not being implemented yet?

@d-koppenhagen
Copy link
Collaborator

Sure it can be added.
Do you like to contribute? It should be straight-forward, comparing with the other source / layers.

Do you have a link for a public pbf source or one with demo credentials?

@MichalPoty
Copy link
Author

MichalPoty commented Jul 26, 2023

Great,
Yes, I'd like to contribute, but I don't have much experience with it yet, so I might need some help.

Here should be the public pbf source from the official OL examples:
https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer/tile/{z}/{y}/{x}.pbf

@okame
Copy link
Contributor

okame commented Jul 26, 2023

You'll excuse me from the side.
I added "ol-vector-tile-layer" component just now.
Can I contribute this works?
(I don't udpate documents yet.)

okame@73e0932

@okame
Copy link
Contributor

okame commented Jul 26, 2023

@d-koppenhagen
Hello, I added "ol-vector-tile-layer" component.
Could you review this PR?
#229

@d-koppenhagen
Copy link
Collaborator

Just released version 1.2.0 with this feature added.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants