markerclusterer

Why cluster marker icon not showing when zoom in or zoom out in android [duplicate]

两盒软妹~` 提交于 2019-12-08 13:25:23
问题 This question already has answers here : Google map marker is replaced by bounding rectangle on zoom (3 answers) Closed 3 years ago . I'm trying to implement a cluster marker on my map,first, it shows me the cluster marker but when i zoom in, that expand and also show white square, i'll add some images to explain it better. images public class MyItem implements ClusterItem { private final LatLng mPosition; String Title = ""; int Icon; public MyItem(double lat, double lng, String title, int

Error when restricting zoom levels using MarkerClusterer in Google Maps API v3

♀尐吖头ヾ 提交于 2019-12-08 05:38:24
问题 I'm using code found here: Integrating Spiderfier JS into markerClusterer V3 to explode multi-markers with exact same long / lat to restrict zoom levels when clicking on MarkerClusterer created clusters containing points at the same location. Live example is here: http://www.adultlearnersfestival.com/newsite/yourarea/map.html I'm getting an error in Firebug however: Error: TypeError: markers is undefined and can't work out what's causing it. The specific code is: var minClusterZoom = 14; mc

Choosing multiple markers in an array for marker clusterin in Google Maps v3 API

删除回忆录丶 提交于 2019-12-08 04:46:44
问题 This question is related to this post: Adding simple marker clusterer to google map I'm wondering how to call markers in an array as simple as possible. Here is my code: var map = null; function initialize() { var myOptions = { zoom: 8, center: new google.maps.LatLng(43.907787, -79.359741), mapTypeControl: true, mapTypeControlOptions: { style: google.maps.MapTypeControlStyle.DROPDOWN_MENU }, navigationControl: true, mapTypeId: google.maps.MapTypeId.ROADMAP } map = new google.maps.Map(document

how to add marker cluster in google maps v3 for the same lat/long without influenting another element?

↘锁芯ラ 提交于 2019-12-08 01:11:37
问题 I made traceroute map. And I have problem with some markers that should be in the same lat/long but only one marker show on the map. I read that there's a way to do. It is marker cluster. but I don't know how to add in javascript. Also I'm afraid if that would be influent another element of markers which I've add like custom marker with label, infowindow and polyline. here is my code : <script type="text/javascript"> var pinImage = new google.maps.MarkerImage ("http://chart.apis.google.com

Cluster Marker not hiding when zoom in

你说的曾经没有我的故事 提交于 2019-12-07 08:23:55
问题 I'm trying to implement a cluster marker on my map, and it is behaving a little strange, first, it shows me the cluster marker but also shows me the point markers, that shouldn't be happening, and when I zoom in the cluster marker still showing, i'll add some images to explain it better. public class MapaViagem extends FragmentActivity { private GoogleMap googleMap; private String rm_IdViagem; private List<ClienteModel> mClienteModel = new ArrayList<ClienteModel>(); private List<EnderecoModel

Best practices for handling thousands of markers with Leaflet

三世轮回 提交于 2019-12-07 04:20:36
问题 I'm doing some tests with an HTML map in conjunction with Leaflet. Server side I have a Ruby Sinatra app serving json markers fetched by a MySQL table. What are the best practices working with 2k-5k and potentially more markers? Load all the markers in the first place and then delegate everything to Leaflet.markercluster. Load the markers every time the map viewport change, sending southWest & northEast points to the server, elaborate the clipping server side and then sync the marker buffer

React Native Maps Overlapping Marker

依然范特西╮ 提交于 2019-12-06 21:55:24
问题 I use React-Native-Maps and my map marker pins that overlap each other spring apart gracefully when i click them, so can i pick the one wanted? I've used This library for the web side. 回答1: There are libraries that do this but normally it is implemented by adjusting the zoom level. Is that a possible solution or do you need to move the pins apart at the current zoom level? If you want to move them apart at the current zoom level they could push into other pins and make the issue worse. You

Is there any way to disable the Marker Clusterer for less than defined marker counts?

我的梦境 提交于 2019-12-06 16:32:40
I want my Marker Clusterer; not to cluster markers less than 4 or something. It is clustering all the markers even for 2 markers. Is there any possible way to set it? The option you want is not available with MarkerClusterer, but it is an option if you use an an enhancement named: MarkerClustererPlus . It is essentially a Google Maps v3 upgrade of the original v2 MarkerClusterer, which was then further enhanced and extended by Gary Little. It functions pretty much the same as the original MarkerClusterer, but offers more options. Specific to your question, you may pass a set of options to the

Creating Google Maps Clusters by type

一笑奈何 提交于 2019-12-06 16:15:53
I would like to know if it is possible to cluster markets on Google Maps not only by density or number, but also by type. For example: I have 20 markers of type A and 50 of type B. Could I have a two different clusters, one grouping all the type A markers and another one with type B markers. Obviously with different icons. Another possible solution would be a single cluster that its icon would change depending of the number of markers of type. For example: if we have 20 markers type A and 50 type B, the cluster would be a B-Type image. Any of this options can be possible? Thanks a lot. Yes,

How to move existing the markers from one position to another with animation

怎甘沉沦 提交于 2019-12-06 13:24:51
问题 I am tracking my employees position on google map what I want to do is to move the marker from its old position to a new position. I am using this library for the cluster marker and the custom marker icons. I want to move the marker from one position to another one, like other apps move their icons like any online cab application Please help me, it's very important for me. 回答1: If you want to move the Marker along with the user interactions on the map something like few Cab Service do, you