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

How can I apply style to the map? #551

Closed
JAICHANGPARK opened this issue Mar 15, 2020 · 10 comments
Closed

How can I apply style to the map? #551

JAICHANGPARK opened this issue Mar 15, 2020 · 10 comments

Comments

@JAICHANGPARK
Copy link

Hi , I am using openstreetmap now.
https://openmaptiles.org/styles/

I would like to apply a style to the map like the site, but I am wondering how to use it in this plugin.

Thank you

@ibrierley
Copy link
Collaborator

Have you tried adding a style to the part where the url is set, so you would add...

style: 'https://openmaptiles.github.io/osm-bright-gl-style/style-cdn.json'

I have no idea if this works! Just wondering, if the current code is set to pass those things.

@moovida
Copy link
Contributor

moovida commented Mar 18, 2020

I think there is some confusion here, Vector tiles, which could be styled, are not (yet) supported by this project to my knowledge. So right now tiles are png/jpg image that are downloaded and can't be styled.

@ibrierley
Copy link
Collaborator

Yes, thinking about it, you're likely right. I was thinking some create raster tiles with different themes, e.g https://www.maptiler.com/maps/#darkmatter//raster/2/-45.03/38.07

Howevever, I think those are pre-rendered and wouldn't be affected by the json styling etc.

@mootw
Copy link
Collaborator

mootw commented Jun 8, 2020

Someone is working on a post process tiles PR #582 which might let you partially style raster images, but vector support is the proper way to do it.

@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Mar 28, 2021
@github-actions
Copy link

github-actions bot commented Apr 2, 2021

This issue was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions bot closed this as completed Apr 2, 2021
@furkan-celik
Copy link

Is this still no go? I would like to be able to close transportation etc which can be provided on styling document but couldn't find any fields to import that

@JaffaKetchup
Copy link
Member

@furkan-celik The PR has been merged (look into that for more details), but vector tiles - which is probably more like what you're looking for - are not supported by default. @ibrierley does have a plugin (look at his profile), but as far as I'm concerned it's still work in progress, and he's away at the moment.

@ibrierley
Copy link
Collaborator

ibrierley commented Mar 23, 2022 via email

@furkan-celik
Copy link

thx @JaffaKetchup and @ibrierley I will look into both

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

No branches or pull requests

6 participants