Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cluster markers with osmdroid

I am new to osmdroid. I am using offline maps using mbtiles. I am using too many markers on the map that make my map very slow. I read it some where that clustering would be helpful but i am not getting any useful example of how to make cluster marker in osmdroid. please help.

like image 983
Usman Riaz Avatar asked Oct 16 '25 22:10

Usman Riaz


1 Answers

Now there is a ready-to-use solution: in OSMBonusPack (an add-on to osmdroid), there is a MarkerClusterer.

The tutorial is here: http://code.google.com/p/osmbonuspack/wiki/Tutorial_3

like image 135
MKer Avatar answered Oct 18 '25 12:10

MKer



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!