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
2
votes
1 answer

Android Google Map v2 draw static grids

I'm trying to draw grids on map only when zoom level is 18. I created grids with below code successfully. But i have one problem when I move map, new grids are created and there position change. You can see that in screenshot in right image I swiped…
William
  • 225
  • 4
  • 21
2
votes
1 answer

ClusterManager multiple styles for ClusterItems markers of Google maps v2 utils

I've found that there is a way to change ClusterItem render options, customizing them this way: clusterManager.setRenderer(new OwnIconRendered(getApplicationContext(), getMap(), clusterManager)); OwnIconRendered should extend…
2
votes
1 answer

GeoJson layer on android maps

I have a huge GeoJson file (about 12MB) to be added to a map fragment. I am using the android maps utility library to render it on the map. Its taking about 5-10 seconds to show the layer on the map, during which the app becomes unresponsive.Since…
rtk
  • 21
  • 1
  • 3
2
votes
1 answer

MapClustering not rendering String.valueof(cluster.getSize)

I am using MapCustomClustering to show images on the map. The Cluster Icon also shows the number of items in the cluster but it doesn't show in mine. I am loading data from Parse cloud. The example one renders cluster.getSize() but in mine it…
Savita
  • 747
  • 1
  • 7
  • 16
2
votes
0 answers

Dyncamically change 'MAX_DISTANCE_AT_ZOOM' and 'SHOULD_ANIMATE'

I am using android-maps-utils for clustering markers in a google's map. I need to offer users the posibility of changing the zoom level clustering and to switch on and off the clustering animation. Zoom level is managed inside…
MauriF
  • 682
  • 6
  • 19
2
votes
3 answers

Cannot create Cluster Manager instance( using Google Maps Android API Utility Library)

Update:(Problem solved) FInally it is working in my Intellij Idea 13 The problem is that the library was not imported correctly. Go Project Structure, select Modules, add the library as module from an existing source, then click it, it will show…
Haifeng Zhang
  • 30,077
  • 19
  • 81
  • 125
2
votes
1 answer

Is it possible to decluster and center camera on specific marker android-maps-utils?

I use android-maps-utils and I would like to know if this scenario is possible: MapFragment is running and pins/marker are clustered User go to list of markers and go to detail of chosen marker User go from details to map and would like to see…
Unii
  • 1,587
  • 15
  • 33
2
votes
2 answers

couldn't run Google Maps Android API Utility Demo

i'm having problems to run the Google Maps Android API Utility Demo, it shows this error: 04-03 16:32:37.397: E/dalvikvm(2592): Could not find class 'com.google.maps.android.utils.demo.ClusteringDemoActivity', referenced from method…
1
vote
1 answer

Google Maps Android No Cluster/DeCluster on Zoom In/Out

I have implemented Google Maps Clustering on the iOS version of my app and it works fine. I am now attempting to implement Clustering on the Android version using the android maps utility library and it is not Declustering/Clustering when I zoom in…
1
vote
1 answer

Google map Background color for Map type GoogleMap.MAP_TYPE_NONE

I have used Ground overlay of my floorplan added to Google Map. It loads up perfectly. Code is as shown below. override fun onMapReady(map: GoogleMap) { mMap = map; mMap.setOnGroundOverlayClickListener(this); …
androidbash
  • 390
  • 1
  • 4
  • 21
1
vote
1 answer

Is DefaultClusterRenderer in android-maps-utils broken in v1.2.1?

When trying to override any functions in DefaultClusterRenderer, it will not compile in v1.2.1. All seems ok in v1.1.0 In here I want to set colors to the clustericons, and overrides the DefaultClusterRenderer onBeforeClusterItemRendered to set the…
Roar Grønmo
  • 2,926
  • 2
  • 24
  • 37
1
vote
0 answers

IconFactory with `setContentRotation` change aling of the content

I'm working with maps and I'm trying to do something similar as Uber does, show information near the marker (in two markers at the same time so I can't use infowindow ) As I have read I'm using IconFactory to achieve this: val iconFactory =…
1
vote
1 answer

Cannot use android-maps-utils in module

I have a project which contains two modules; the main app module and another module which I include in the app module, let's call this module myModule. I want to use SphericalUtil in myModule, which is included in android-maps-utils, so I've added…
Daan
  • 147
  • 15
1
vote
0 answers

Show Area or city boundry in google map using android map api

I want to show Area or city (search dynamically) boundaries in android app like map.google.com . I have search lots of things on google.I got this link.Show city or area outline as per searching on google,I got KML file that is added on kmllayer and…
dipali
  • 10,966
  • 5
  • 25
  • 51
1
vote
1 answer

Can i import and edit code from one external library ? (e.g. google-maps-utils)

I´m using google-maps-utils (only marker clustering) and the code is read-only. dependencies { compile 'com.google.maps.android:android-maps-utils:0.5+' } I want to comment 3 lines in ClusterManager.java /** * Might re-cluster. …
Itapox
  • 579
  • 1
  • 7
  • 25