-
-
Notifications
You must be signed in to change notification settings - Fork 359
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
Custom style for map #183
Comments
No reason other than time. At the moment, I am using a standard stylesheet. To create a custom stylesheet is very powerful, you can style any part of the map, even with shaders (have you seen the tron stylesheet on their website?). But it is a lot of work. The detailed stylesheets are about 4000 lines of code. There are some cool things that can be done when this app has its own stylesheet, 3d buildings is one of them. But at the moment, I do not want to begin this undertaking as there are more pressing things to do. |
Actually, a StreetComplete related stylesheet could probably be much simpler than 4k lines of code as many things are not necessary at all
So it might not be that much work. Are you interested? (or anyone else who is reading this) I am aiming for a very clear and clean map where - as said - only those things are visible which help the specific use case of this app. See i.e. Pokemon Go, very simplistic. Regarding the color scheme, I was thinking that it should not be "shades of gray" but something with a little more colors as well. Again, Pokemon Go does this very good, but personally I like the colors used in the Tron stylesheet. Though, certainly something to experiment. Start Experimenting Here |
That's interesting. I think the Tron style is only useful for a "night/dark/black mode" of the app, as it should be light by default, but are not there some other nice templates you can use? |
It would be very helpful to have housenumbers shown. Without a good GPS it is difficult to orientate. |
I think that's tracked in #162. |
Thanks! |
I played a little bit around and created a custom stylesheet! You can look at it here: https://mapzen.com/tangram/view/?api=64617/1161 It looks very similar to Pokemon Go and has only about 200 lines of code. It can also be very easily extended. It would be great if you tell me what you think about it! |
I have my own style. It is unfinished - in part because I wait for mapzen deploying my changes - but it may be usable (after removing some unwanted features, like displaying bicycle parkings) and almost certainly it is a better base than 4k cinnabar mammoth. https://github.com/matkoniecz/Zazolc/blob/fork/app/src/main/assets/my-style.yaml |
I would not go so far. Sometimes GPS is unavailable or extremely stupid, so ability to move to a correct country is useful. Sometimes it is also useful to download on WiFi locations that are far, far away. |
Can you link also style itself? |
Here is the link: https://gist.github.com/ENT8R/0a8c03d896eb75d4729133d300b0db41 |
@ENT8R, I really like what you did there. You both made it look very simple and also tried to copy the playful color theme of Pokemon Go (I guess?) but also already included information that is helpful for StreetComplete users, the housenumbers - and these, quite prominently. If the actual code is as simple as the style looks, then it is a very good starting point for a custom style. I know that at least @matkoniecz and @Teester already played around a bit but I was not aware of any outcome. Mateusz's seems to have tackled the custom style from the other end: Dumbing down the default (cinnabar) style and keep what may be useful for StreetComplete (users). Perhaps @ENT8R could create an own repository that links directly to a tangram play page for trying it out and invite people who are interested in contributing to the style there so that not everyone does their own thing but everyone can work together. I think this is better than me governing over PRs because obviously I will not be the (main) developer of a custom SC stylesheet, at least not while it is in development. |
My style may be viewed at https://mapzen.com/tangram/view/?api=53844/1164#17.19025/50.07410/19.93505 (slightly simplified version of https://github.com/matkoniecz/Zazolc/blob/fork/app/src/main/assets/my-style.yaml ) |
Yes I can do that! I will do that tomorrow |
Maybe it is just me but this colour scheme is really straining my eyes. @ENT8R It may be a good idea to document what is missing by design (like POIs). For example, maybe some things that I personally think that are missing are omitted deliberately? From quick look it would include: barriers (fences, hedges, railway tracks) and labels (for street names and water features), rendering rivers/streams mapped only as lines, smarter labels (displaying labels of major cities larger than ones for tiny villages), better outline handling (see any crossing of major and minor road or a bridge). |
Yes, I think we can track it in the issue tracker of the new repository. |
I created a new repository at https://github.com/ENT8R/streetcomplete-mapstyle |
I posted some issues, after appearance of license file and sign that copying some features from my style is considered as a good idea I will make PRs. |
any news about official or private stylesheets? |
@wambacher we are working on it. Have you seen the repository at https://github.com/ENT8R/streetcomplete-mapstyle ? There you can see the progress of the map and open an issue for your problem! |
From the screenshots of your used lib I see it also supports showing the height of buildings in a 3d view, so why not use that?
The text was updated successfully, but these errors were encountered: