-
-
Notifications
You must be signed in to change notification settings - Fork 860
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
[BUG] placeholderImage
doesn't work
#1244
Comments
Hi there, Do you get any errors trying to retrieve the image? Can you get the same image from other places in the app? If those show no apparent issues, try this instead of your current method of getting the image: // Image.asset('uploads/tile.png').image
AssetImage('uploads/tile.png') Let me know if anything shows up! |
I don't get any errors. But grey tile shows up instead of my image like placeholderImage doesn't exist |
OK. I'm assuming that the same image can be loaded elsewhere in the app? This would be good to check. |
Hi. Thanks for your reply. The same image loaded inside or using other widgets. But to my great regret, I could not deal with MemoryImage, for which I feel uncomfortable in front of you. |
Nah, no need to be uncomfortable! Everyone has somethings they can't do, and I'm here to help (along with other maintainers) :). Maybe in the future you will be the best at Flutter! In this case, I'll have to do some deeper digging and try to reproduce myself. Thanks for the info, it helps me to get to the bottom of the issue better! |
I think actually placeholderImage has become deprecated ? Someone tell me I'm not going mad! Just noticed this when I was surprised I couldn't find it in the code being used.... |
That's interesting, does anything say why it was deprecated? Seems like useful functionality to me! |
Indeed, it helps a lot to highlight your brand and product. |
I do appreciate your efforts to help me. And thank you for your wishes! |
Hi there, |
Thanks for your report! |
placeholderImage
doesn't work
Describe The Bug
I want to show my custom tile image while tile is loading. For this purpose I use placeholderImage option of TileLayerOptions but I still get grey tiles instead of my image.
Expected Behavior
I expected my custom tiles to be shown while map tiles are loading
Screenshots & Recordings
I think it's clear without screenshots
Doctors Report
To Reproduce
Steps to reproduce the behavior:
My code is
Severity
This will help us to label the issue quicker and decide what needs attention first. Only choose fatal if the entire app crashes, otherwise choose non-fatal.
Frequency/Rarity
This will help us to label the issue quicker and decide what needs attention first.
Applicable Platforms
Only select those that you've tested on - one or more. If possible, test on a variety of platforms.
The text was updated successfully, but these errors were encountered: