I am really struggling with google map util these days challenge after challenge and there is not good example or solution on the net.
This is my code:
@Override
protected void onBeforeClusterRendered(Cluster cluster,
…
I am trying to write code for marker drag on google map in android and I am using the following code for that
First i make the marker draggable by setting setDraggable to true.
Then I listen to user pressing and holding on the marker using…
I am trying to animate my marker instead of making it jump between the 2 points. For some reason the animation does not work.
Every time I get a new current location, I call the below code.
if (currentLatitude != 0 && currentLongitude != 0) {
…
My app call getmap() method and notice that is depracated and I've to use getMapAsync() instead, however I've read all posts everywhere on the internet and none helped me. Sometimes I got "null pointer return message". I'll hope someone help me to…
We recently switched from free google maps library to maps for work. I changed all imports from com.google.android.gms.maps to com.google.android.m4b.maps and imported compiled aar library. We have valid licence.
Only thing I haven't found in docs…
the projection.toScreenLocation() in API v2 returns a point containing two ints. I need more precision than that (either float, or double) as I need subsequent conversions back to latlngs from these screen coordinates to be almost exactly the same…
I wrote this method to determine a distance to a destination along a path and also to determine a distance to the next waypoint along that path. The problem is, sometimes I don't go within 10 meters of the waypoint so it's not getting caught as…
I am new to android working on google map and google places api. have been searching from almost last one month. but i am not success.
i m developing an app where anyone can find nearest hospitals/laboratories from his/her location.
please help me…
I have an location-based application which uses Google Maps API. I've signed up for Google Maps V2 API Keys on Google and although my maps render, my app doesn't seem to be communicating with Google in order to find the current location of the…
Let's use this location as an example. The lat/lng are 39.9477959/-75.1850599.
I can use the Google JS API to pull up this Street View no problem. However, using these same coordinates and Google Maps Android API, all I get is a black screen.
To…
I would like to open this directly from my program, is it possbile?
I checked this, but cannot found relevant information
https://developers.google.com/maps/documentation/android-api/intents
If it is impossible, is there any alternative way?
I want to implement the below card (with drive/transit images used by the google maps application). When the drive icon is clicked i want to implement the maps showing the driving directions within my app itself. I have read through the…
I'm having a problem with the OnPlaceSelectedListener method of a SupportPlaceAutocompleteFragment.
My onViewCreated() method:
@Override
public void onViewCreated(View view, Bundle savedInstanceState) {
super.onViewCreated(view,…