-
Notifications
You must be signed in to change notification settings - Fork 58
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
Transit icons only visible in the Maputnik editor #159
Comments
I don't know what the issue is, but icons are a new feature released in version 4 of this library. It's possible that there is a defect. I recommend:
relevant code: https://github.com/greensopinion/dart-vector-tile-renderer/blob/main/lib/src/features/icon_renderer.dart |
Thank you for your response! I wasn't using the latest version so I had to update first, but it's still not working. Different zoom levels didn't help either. I did debug the style and found out that the content of the sprite is null even though the sprite json and image content is loaded in the style.dart. I also tried to debug the icon renderer but somehow it wasn't called once. Could that be the issue? If yes, do you know what could be the cause? |
It's fine for the content property to be null, so likely the problem is
something else.
…On Tue, Jun 13, 2023 at 2:18 AM Győző Gál ***@***.***> wrote:
Thank you for your response!
I wasn't using the latest version so I had to update first, but it's still
not working. Different zoom levels didn't help either.
I did debug the style and found out that the content of the sprite is null
even though the sprite json and image content is loaded in the style.dart
<https://github.com/greensopinion/flutter-vector-map-tiles/blob/main/lib/src/style/style.dart#L77>
.
[image: Screenshot 2023-06-13 at 9 24 05]
<https://user-images.githubusercontent.com/17298968/245399661-04154a25-74f4-4de7-acd4-a91bb7162265.png>
I also tried to debug the icon renderer but somehow it wasn't called once.
Could that be the issue? If yes, do you know what could be the cause?
—
Reply to this email directly, view it on GitHub
<#159 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEKDQ7UX74WUHHXDZAL6ZFLXLAV4RANCNFSM6AAAAAAY56UCFY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hey,
I downloaded the osm-bright style json and also uploaded it to the Maputnik editor and I found a strange thing. While there are icons in the editor, in the app I only see the names of the POIs.
Do you know what could be the reason behind this?
The text was updated successfully, but these errors were encountered: