Comments (6)
So! I have good and bad news for you😅 .
good information 👍🏻
The good information is that the marker's custom icons should works correctly as the generated URL matches google static maps documentation.
bad information 👎🏻
So the problem is probably with provided icons.
Few tips:
-
Your icon cannot be larger than
64 x 64
pixels.
I know it can be confusing at times, but Google NOT supports larger icons. The documentation says that:Icons may be up to 4096 pixels maximum size (64x64 for square images)
Therefore
image_width * image_height <= 4096
. -
The file must be accessible to the google static maps API.
-
Make sure the file is not corrupted or in an unsupported format (
png
is preferred, butGIF
andJPEG
will also work) -
Only
5
different icons can be used for a single map image (multiple locations can be defined for each icon)
If this does not fix your issue, feel free to reopen it and provide me with an example icon that does not work for you 🕵🏻.
Have a nice day! 👋🏻
from google_static_maps_flutter.
Hi @mmazurovsky!
First of all, thank you for opening this issue.
I will look at this today and will back to you with a solution 💪🏻.
Stay tuned
from google_static_maps_flutter.
Hi @mmazurovsky!
First of all, thank you for opening this issue.
I will look at this today and will back to you with a solution 💪🏻.
Stay tuned😃 .
Hello @gonuit !
Do you have any updates on the issue?
from google_static_maps_flutter.
Hello @gonuit, I have the same bug, and I saw this issue opened, but no solution yet. Is it going to be anytime soon? If so thank you so much, since that one is road blocker for me currently
from google_static_maps_flutter.
Hi @gonuit :)
Any chance we could get an update on this?
We are using this in our app and would love have this fixed.
Would really appreciate a response.
Thanks
from google_static_maps_flutter.
Hi guys! 👋🏻
Sorry for the late reply, I was very busy in the last few months
I'm working on the fix. Stay tuned
from google_static_maps_flutter.
Related Issues (9)
- how to apply JSON style to the map HOT 5
- type 'Null' is not a subtype of type 'List<int>' in type cast HOT 2
- [Feature Request] Polylines Support HOT 1
- Polyline with distance calculation
- [Feature] allow caching map image HOT 3
- [Feature] Alloc to draw a circles easily as provided by google_maps_flutter HOT 1
- [Request Feature] null sound-safety HOT 2
- [Request Feture] add map_id tag HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google_static_maps_flutter.