mapsplugin / cordova-plugin-googlemaps

Google Maps plugin for Cordova
Apache License 2.0
1.66k stars 916 forks source link

Does it support cluster markers ? #9

Closed saadmahmoodkhan closed 8 years ago

saadmahmoodkhan commented 10 years ago

Dear Masashi Katsumata,

Does it support cluster markers ?

Thanks Best Regards Saad Mehmood

wf9a5m75 commented 10 years ago

It's not supported currently, but I'm going to implement it in the feature.

stevesims commented 10 years ago

Automatic marker clustering would be very cool.

I've been looking into this myself. Seems that the Android SDK has a Utility Library that will handle this.

Unfortunately the iOS SDK doesn't have an equivalent utility library, which is a shame.

The approach I was going to take was to do my own clustering in the JS layer - but it would be super-cool if the plugin supported this.

wf9a5m75 commented 10 years ago

I'm planing to implement this feature request, but I haven't had enough time yet.

wf9a5m75 commented 10 years ago

Thank you for using PhoneGap-GoogleMaps-Plugin. However, I've been getting tired to develop new feature for everyone. If you donate some amount via the fund-raising, I really appreciate for you.

https://www.bountysource.com/teams/phonegap-googlemaps-plugin/fundraiser

hirbod commented 10 years ago

Hey Masashi,

that is absolutly fine! You should get some money for your hard work, and I'm in. Just want to ask some questions:

What kind of data can I receive, when I click on a marker? In my case, I would not want to open a default marker popup, I would display a modal or something with the list of "faces" and redirect to a profile or something else (after the user choose a face in the list)

Of course I would develop all the modalview etc. by myself, but it would be important for me to receive all the values I've set on a marker. Will this be possible? What kind of data will you / SDK return, when I clicked on a marker?

wf9a5m75 commented 10 years ago

@Hirbod Thank you.

Regarding your question, you just want to prevent the default behavior, move the map to center, right? v1.1.5 does not provide the way, but you can hack. https://github.com/wf9a5m75/phonegap-googlemaps-plugin/issues/174

hirbod commented 10 years ago

Hey Masashi, I guess you did not understand my question. I need the cluster functionality, but maybe you remember my screenshots I send you a couple of weeks ago?

At Bountysource you put a screenshot. The "After Clustering Image" has an open bubble with "Alfeld, Berlin, Copenhagen and 19 more". On my map, I won't use the default marker bubbles. On click, I want to open my own modalview with some call to actions (Show a picture of the user, start chat, show profile")

Thats why I asked: what kind of data will be returned, if I click on a clustered marker? I guess I need a bunch of userids with I set with marker.set("user_id", data.userId);

Will this be possible?

wf9a5m75 commented 10 years ago

I don't start development yet, thus I'm not sure. But I will consider your request.

canadaka commented 9 years ago

any progress on clustering support?

wf9a5m75 commented 9 years ago

Sorry guys, but many people reports many issues for the map plugin, I can not focus on the development of the marker cluster. I will release the new version of the map plugin in couple of days, then I will resume this later.

batuhan commented 9 years ago

Hi,

Is there an ETA for the clustering feature? Any workarounds you can recommend?

Thanks.

TheMassassian commented 9 years ago

Hi there, I tried to contact you via e-mail, because we are developing at the moment a clustering for you plugin. If you got the time, feel free to mail me.

hirbod commented 9 years ago

Ping! We need this to get this finished @wf9a5m75

abremner commented 9 years ago

Bump. Just waiting on this feature so I can implement this plugin.

hirbod commented 9 years ago

@TheMassassian Masashi dropped the development and requested a refund to all donors. He opened the source of his android efforts, but it is still beta.

How is the status of your development? Would you like to share your clustering solution? The people are waiting badly for this and I would love to merge this function inside of this plugin

hirbod commented 8 years ago

@ ALL. The clustering feature is nearly done and was hard to implement. Most of the code-donation came from @limeuwe's company (including with a lot of support from @TheMassassian), a lot of adjustment from me and my developer (paid work)

Before I release the clustering feature, I want to raise a funding of 800-1000$. I will donate some of the funded money to @limeuwe for donating the code and to my developer for the Android part.

Donate on Bountysource

or PayPal

img

hirbod commented 8 years ago

see #699

whatsupdev commented 8 years ago

any idea on when the clustering support would be available?

jdcifuentes commented 7 years ago

Any idea on when the clustering support would be available?, and thanks for your hard work!!