Questions tagged [android-maps-utils]

Handy extensions to the Google Maps Android API.

This open-source library contains classes that are useful for a wide range of applications using the Google Maps Android API.

91 questions
1
vote
0 answers

How to animate marker every 10 seconds after cluster rendered?

I've added updated android-maps-utils library in my project for marker clustering. I want to display clustering in map and i have done that. The Issue is : In my App, I have to display 100 - 200 markers, whenever its latlng change i will get update…
Thamim
  • 328
  • 3
  • 14
1
vote
1 answer

Google Maps Clustering not working with dynamic data

I have a problem with the clustering of GoogleMaps. In my app im updating the map when the User zooms in or scrolls over the Map. Im using the OnCameraIdleListener (link) for this: @Override public void onCameraIdle() { clearItems(); do API…
Lars
  • 794
  • 7
  • 21
1
vote
1 answer

How to get LatLngBounds of visible region in titled map in andorid

I tried the following code. LatLngBounds b = googleMap.getProjection() .getVisibleRegion().latLngBounds; LatLng bNE = b.northeast; LatLng bSW = b.southwest; It's not giving correct bounding coordinates if…
1
vote
0 answers

Change scale factor of cluster marker to my own attribute

I have an android app with map populated with models having an attribute of sales. I am able to implement a custom ClusterRenderer to display total sales instead of cluster size on the Cluster icon. The problem that I have is eg. Cluster A has 5…
1
vote
2 answers

Check if Point is located on(or close to) a convex polygon edges

So I'm loading KML files to my google map, they are shown as convex polygons on the map. I also have the user location , basically i want to know if the user is located on one of the polygon's edges (which is a convex polygon). and because location…
1
vote
1 answer

Android Google maps markerClickListener for clusterItems

I'm trying to implement clusters for my googlemaps markers. Currently I have some custom marker colors with an API call that fires when you click on them. When those results are loaded, there will open a bottomsheet with the specific information of…
1
vote
0 answers

Multiple onLocationChanged android google map?

Can I use in onConnected from multiple onLocationChanged? for example first onLocationChangedfor update location user and second onLocationChanged for other works : @Override public void onConnected(@Nullable Bundle bundle) { …
user4813855
1
vote
0 answers

Android - User tracking google map?

I am using the GPS from android for tracker the user position by draw points in a map. The problem is the register of the points is inaccurate. For example, when I see my points on the maps, it's look like this : But I moved like below : How can I…
1
vote
1 answer

TextView in setTextAppearance() android-maps-utils 0.4.4 always transparent

After bump from 0.4.3 to 0.4.4 in android-maps-utils I cannot set TextView style in IconGenerator for cluster icons. TextView stays transparent no matter what style I use (from lib or from my styles.xml). public class MapRenderCustom extends…
Michał Tajchert
  • 10,333
  • 4
  • 30
  • 47
1
vote
1 answer

How to change cluster image according to the number of marker it included, in Android?

Following image contains different cluster styles according to the size of it. This is exactly what I'm trying to do from Android. I'm using ClusterManager from android-maps-util. Here's the javascript code that server guy used. If possible, I…
Zin Win Htet
  • 2,448
  • 4
  • 32
  • 54
1
vote
0 answers

How to set radius for map clustering in android maps

I am a beginner in android development, and i am working on android maps Clustering, but i am not able to set clustering radius, please can anyone help me? Example: I want to cluster markers within some fixed range of distance, e.g. if i give radius…
Rajappa R
  • 31
  • 2
  • 14
1
vote
2 answers

Programmatically Increase android Map Zoom Level

I am using this code to increase the zoom level of map when user taps on Cluster. It works when I tap on the first Cluster on Map but there after its not changing the zoom level. What I am expecting is to expand each cluster as user taps on…
Zach
  • 9,989
  • 19
  • 70
  • 107
1
vote
0 answers

Ensure my location marker is drawn above the others

I’m plotting content on a GoogleMap using the map clustering utility library from google. I have lots of items representing pictures. Depending on zoom level, they are clustered or not. I’m managing clustering with a DefaultClusterRenderer…
1
vote
1 answer

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

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…
1
vote
1 answer

Google Maps Cluster Item Marker Icon with Picasso

I'm using Google Map SDK 7.3.0 with android-maps-utils 0.3.4 because I need clusters for my Markers on the map. Ok, so here the problem is, I shouldn't have a red marker. Only green+blue markers. I subclassed DefaultClusterRenderer to create my…
Quentin DOMMERC
  • 876
  • 1
  • 8
  • 24