apptreesoftware / flutter_google_map_view

A flutter plugin for Google Maps
MIT License
414 stars 189 forks source link

Custom view as a pin #98

Open Kamil-H opened 6 years ago

Kamil-H commented 6 years ago

Hi, I would like to ask if your plugin supports custom view as a pin or only custom "image"? Would it be possible to get an circle with number instead of default pin?

EDIT: Alternatively, is it possible to get X,Y position of marker (real position on screen) to draw number on top of it? I'm asking about something like Projection that let translate coordinates to actual position in view: https://developers.google.com/android/reference/com/google/android/gms/maps/Projection

Eimji commented 6 years ago

Hello,

Yes ! I agree, it would be nice to have the possibility to display the id index of a Marker above the Pin view. I am looking for this option, instead of displaying custom pin images (with numbers on it)

matthewtsmith commented 6 years ago

We do not have plans to add this to this plugin. If you are looking for more customization options you should take a look at our other project https://github.com/apptreesoftware/flutter_map.

In that plugin, any marker is just a "Widget" so you can display whatever you want.