Uber and Ola mobile app: To calculate distance between start point & end point of the trip we cannot use Google MAP API directly as it may not give the exact route traveled by the car. How do I drop points along the travel path so that I can use…
i want to make maps in android fragment with use extend fragment
this is my code : Maps do not come up, and system force close
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle…
I am trying to use the Google Places API on Android to find Universities on a map based on where you click.
So ideally I could feed the Places API a coordinate and it could tell me the Universities around this coordinate. The PlaceDetectionAPI only…
MarkerOptions marker = new MarkerOptions().position(geom.get(0)).title(id).visible(true);
googleMap.addMarker(marker).showInfoWindow();
I have trying with this code but unable to keep the infowindow in open mode on map click.
i tried using
MarkerOptions marker = new MarkerOptions().position(geom.get(0)).title("hai how are bgdj");
map.addMarker(marker);
where geom.get(0) is the LatLng and map is google map
I can't find my current location button in Android Marshmallow. I am using google map api.
I have already enabled these:
mMap.setMyLocationEnabled(true);
mMap.getUiSettings().setMyLocationButtonEnabled(true);
I have tried in jellybean,…
I am trying to figure out cache expiry headers for the map rendered in android map fragment. As i see google has a policy for it's own map app's offline access for 30 days. What would be the expiry period for cache through " Maps Android API".
I am a beginner to android development and i am building an application related to map creating the route. the lat long data are taken from the php API. the problem is when i debug the program it works perfectly fine but when i run the application…
I'm trying to use both google maps API and places API in my android app (includes a map and a place autocomplete activity),
but the API key I got for google maps doesn't seem to be working for the place autocomplete activity, I tried getting another…
STORY:
Our company were using Google Maps API for the past couple of years. We had an old API key that we were using. Today the key got expired or deleted by an unknown entity and all our applications cannot load maps anymore. I have tried to get to…
I have gone through the different question here on Stackoverflow but none of them helped me out yet. I am using google API in my app and needs to retrieve the zipcode. Currently I am getting all the other parameters but zipcode.
Any…
i am implementing long click to get latlang on mapview,
i referred this tutorial. but i am getting error
here is my code:
import com.google.android.gms.vision.barcode.Barcode;
public class MyCustomMapView extends MapView {
public interface…
My target is to change marker title on button click. The problem is that I cannot get marker and set title of it in onCreate() because it is initialized in onMapReady(). I have the following code:
public View onCreateView(LayoutInflater inflater,…
I have an app that searches the Google Places API and returns places based on categories that I choose.
The result is a JSON Object that contains a lot of data about each place. I want to share this place via email with other people. I extract…