I Want to Implement clustering google map in android like the picture .I want to Know three things can anyone help me?
1- how can have different size of cluster belong to number of cluster items?
2-how can have those colors around the circle that depends on some parameters
3-how can we show the number that shows on circle except number of marker in it? for example for another parameter.
Related
I want to display a custom image below a marker in my Android App. I see no available documentation so that I can execute this.
Have a look at what I want to achieve here. It is like an indicator and should be anchored to the markers and the distance between markers and image should not vary.
Im using Google Maps API in my app and placing a lot of markers on the map.
I need to make the size of the markers smaller, so they won't cover the whole country.
Note that i gotta use the default marker BitmapDescriptorFactory.defaultMarker
because i wrote an algo that defines the color of each marker group.
Thanks for the help in advance!
EDIT:
I know there is a way to resize the marker by setting a custom Marker image,
But i need to use the defualt marker,Therefore this topic is NOT duplicate
Follow these two steps down here:
Replace the Default Google Map Marker with the Bitmap icon as explained here
Then resize the particular Bitmap Icon in Activity as shown here.
I am building an application which uses Google Maps. When displaying the map, I'm also adding markers. Is there a way to see if there are 2 markers that touch each other, meaning if a part of a marker is on top of another marker? My goal is to be able to find that out and then make them a single bigger marker instead of 2 different markers.
The answer should depend somehow on the marker's icon size and the current map zoom since if I zoom out, there's a bigger chance they might overlap.
There seem to be a library made by Google which clusters a set of markers together automatically when they are close to one another.
The library is the marker clustering utility and instruction can be found here:
https://developers.google.com/maps/documentation/android-api/utility/marker-clustering
I started Google map in android few days age. I am doing some basic things like set marker on tap, draw line between two marker etc.
Here users can draw polygon with tapping on the device. Now i want to edit the shape. I goggled it but didn't find any helpful solution for android.
I found some resource on google map java script API like user-editable-shapes in javascript
I want to do the same in android. How to Edit or Modify polygon in Google Map Android API
It will be helpful if u provide some resource.
It looks to me like you have to replace all the points at once with setPoints on the polygon object.
https://developers.google.com/android/reference/com/google/android/gms/maps/model/Polygon.html#setPoints(java.util.List)
I'm currently trying to do the same thing in Xamarin. I mock up an edit mode when the user clicks on the polygon by changing its stroke color and then adding custom markers to each vertex. I'm holding a selected vertex which will move to the user's next click on the map and update the polygon.
I want to code a map application in Android(MinSDK=2.1).
But this map will not use any online features.It will be completely offline.
Also this map shows a high definition image which is drawn by me.I must specify points (like buildings,parkings,cafes...etc) and place little Imageviews on these points.
When needed , screen must move any requested point.
So Is there any sdk,library...etc to do this you know ? Or Should I implement myself.Lead the way pls.Thanks for any help...