markerclusterer

Showing custom InfoWindow for Android Maps Utility Library for Android

六眼飞鱼酱① 提交于 2019-11-27 00:07:57
问题 I'm using the library Google Maps Utility for Android which allows to create clustering int he maps and I need to show a custom InfoWindow but I can't find any method to do this. In order to show the info window, I have the following class, and in the method onClusterItemRendered is where I have access to the info of the marker: class MyClusterRenderer extends DefaultClusterRenderer<MarkerItem> { public MyClusterRenderer(Context context, GoogleMap map, ClusterManager<MarkerItem>

Google Maps MarkerClusterer Not Clustering

梦想的初衷 提交于 2019-11-26 23:43:31
问题 Sorry, I've search high and low and can't seem to figure this one out. I have a map working fine, but I'm trying to add MarkerClusterer and markers aren't clustering. The locations in New Jersey should be in a cluster. Can anyone offer some hints? This is my page: http://vbarbershop.com/location-finder/ I'm getting these javascript errors, which may be the cause? I'm somewhat unexperienced with Google Maps: Uncaught TypeError: undefined is not a function markerclusterer.js:660 Uncaught

How to add title, snippet and icon to ClusterItem?

孤街醉人 提交于 2019-11-26 19:34:17
问题 I had this activity: public class MapViewer extends Activity { private GoogleMap map; private Database db = new Database(this); protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.mapviewer); try { map = ((MapFragment) getFragmentManager().findFragmentById(R.id.map)).getMap(); if (map != null) { map.setMyLocationEnabled(true); map.setMapType(GoogleMap.MAP_TYPE_NORMAL); map.getUiSettings().setRotateGesturesEnabled(false); this

Android Maps Point Clustering

瘦欲@ 提交于 2019-11-26 17:29:46
问题 Is there any code for Point Clustering in android? How can i load thousand pinpoint without having performance issues? 回答1: Last night i got into PointClustering on Android MapView. Saw that there was nothing out for the community so i would like to share. Groups the geopoints if the projection of them in the mapView is too close. Also renders only the visible poins. UPDATE Code reworked from scrach. Now available at GitHub Code Reworked from scratch Used GVM clustering algorithm (pretty fast

MarkerCluster V3 stopped working properly

孤街浪徒 提交于 2019-11-26 17:00:55
问题 I am using MarkerCluster_compiled.js from github. But while the logic works, its graphics started failing from yesterday. The problem seems to be caused by "https://google-maps-utility-library-v3.googlecode.com/svn" returns a 404, and all cluster marker images have dependency on this url. (This google map v3 svn url is still in google's public domain) Seems to me the impact of this particular "404" is not trivial, as I see people's live sites have been affected. I am surprised this problem

iPhone MKMapView Annotation Clustering

痴心易碎 提交于 2019-11-26 12:04:20
问题 I\'ve got quite a lot of pins to put on my map so I think it would be a nice idea to cluster those annotations. I\'m not really sure how to achieve this on iPhone, I was able to work something out with google maps and some javascript examples. But iPhone uses its mkmapview and I have no idea how to cluster annotations in there. Any ideas or frameworks that you know and are good? Thanks. 回答1: Since this is a very common problem and i needed a solution i have wrote a custom subclass of