liodali/osm_flutter

marker as image

lvenier opened this issue · 16 comments

Hello,

I am displaying Marker Icon in the map today :
image

To be more trendy would it be possible to have a image/gif instead of an icon.
Im thinking about something like in snapchat :

image

Would that be possible ?

you want animated marker ?
if that true unfortunately technically i could face some issue on iOS or web i need to see how i could do it its not easy feature

you want animated marker ? if that true unfortunately technically i could face some issue on iOS or web i need to see how i could do it its not easy feature

I think having image marker and animated marker will be a very cool feature for the plugin.

image marker i can add it
i will see better solution for image marker and provide new API for markers
for animated marker its little bit difficult

image marker i can add it i will see better solution for image marker and provide new API for markers for animated marker its little bit difficult
image marker is already a good start...
Thank you very much

Hello @liodali have you started looking into it? Do you think it is doable?

yeah its doable i will start working on it this week
i will need some help from you if you can share some asset to test with at least i can propose some api to set image as marker
because we need to make sure that image will not loose the quality and fit correctly into the wiget

yeah its doable i will start working on it this week i will need some help from you if you can share some asset to test with at least i can propose some api to set image as marker because we need to make sure that image will not loose the quality and fit correctly into the wiget

No problem at all. Who do you the format you would like to use (png, jpg, svg...) ?
And what is the size of the image (32x32, 48x48, 64x64) ?

I will be available to make tests if needed.

if you can provide 3d image that you have in use case
because you can use iconWidget in MarkerIcon to show flutter widget but better to be directly Image
if you have custom widget to show gif i think i need to add new API in MarkerIcon
can you share with me gif image and one static image also (im planning to add isComplex that will help render to provide more time for rendering)

if you can provide 3d image that you have in use case because you can use iconWidget in MarkerIcon to show flutter widget but better to be directly Image if you have custom widget to show gif i think i need to add new API in MarkerIcon can you share with me gif image and one static image also (im planning to add isComplex that will help render to provide more time for rendering)
flutter-osm

flutter-osm

I have uploaded a gif and png file.

I started making implementation for gif makers technically for now im working on android side and our implementation work fine
i will try to make it available soon for mobile (for web i need more time to find suitable way to provide API as in mobile )
for image marker use iconWidget in MarkerIcon it should work fine