Giter VIP home page Giter VIP logo

Comments (6)

gonuit avatar gonuit commented on August 12, 2024 3

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, but GIF and JPEG 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.

gonuit avatar gonuit commented on August 12, 2024

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.

mmazurovsky avatar mmazurovsky commented on August 12, 2024

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.

VladanRandjelovic avatar VladanRandjelovic commented on August 12, 2024

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.

timgrossmann avatar timgrossmann commented on August 12, 2024

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.

gonuit avatar gonuit commented on August 12, 2024

Hi guys! 👋🏻
Sorry for the late reply, I was very busy in the last few months 😞.
I'm working on the fix. Stay tuned 🎤 ⏲️ (one more time).

from google_static_maps_flutter.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.