Questions tagged as 'google-maps'

2
answers

How to return Latitude and longitude on Android Google-Maps

I would like to know how I can return latitude and longitude from an address provided by the User. Example "Av. Sampaio Vidal,Centro, Marília, SP" Response coordenadas -22.225985,-49.94656     
asked by 04.09.2014 / 21:06
1
answer

How to add 1 kilometer to a Google Maps coordinate?

How could I add 1km (or 1,000 meters) to a Google Maps coordinate to determine an area? Example: Radius formed by points A and B: Point A = Latitude: -22.91009, Longetude: -43.107499. Point B = Latitude (A) + VALUE, Longitude (B) + V...
asked by 12.04.2015 / 04:38
1
answer

How to draw a route using Google Maps? [closed]

I have a screen where Google Maps is located and I want it to take the user's current position and automatically route to the geolocation point that I'm going to set "Fixed" in the code. How to do?     
asked by 14.10.2016 / 23:38
3
answers

How to return points within a radius?

I'm working on an app where I would need to return points (Lat, Long) in a radius of size X (Km) from the user's location (Lat, Long). I have come up with the following logic: Get the user's current location Enter the location of the user...
asked by 11.04.2015 / 19:09
1
answer

Enable smartphone GPS

I'm developing an app that uses geolocation functions. The same is already taking the locations of the smartphone, and I can check if the connection of the GPS or not. So far, what I'm not getting is that if the GPS is turned off, ask the user t...
asked by 08.04.2015 / 13:59
1
answer

Automatic marker zoom

I use this code to retrieve Lat and lang from a user in firebase, My question is how to automatically zoom in on the bookmark ... mDatabase.child(mPost_key).addValueEventListener(new ValueEventListener() { @Override publ...
asked by 20.02.2017 / 15:36
1
answer

Record address by coordinates and get in google maps

I know that google makes available its api for maps. I would like to record addresses but also the coordinates, that when the user was reading these coordinates, I already showed on his screen or in his App, the map of the searched address. How...
asked by 16.11.2017 / 13:33
1
answer

Pick up address when adding bookmark on the map

I would like to know how to get the address when the client adds the marker on the map, and already save on the firebase server. Thank you in advance:) @Override public void onMapReady(GoogleMap googleMap) { mMap = googleMap; // Add...
asked by 12.03.2017 / 18:02
2
answers

Marker pass id to setOnInfoWindowClickListener

I'm trying to pass the value from the marker to the setOnInfoWindowClickListener, but I'm not sure what the best way for this is, can anyone help me? It even passes a value, but not the loop, that is, it is not passing the value of the marker by...
asked by 10.08.2016 / 14:28
1
answer

How do I create a button in the google maps API to add bookmark?

The question is as follows ... I checked one for a few days before coming here, but I just think how to manually add the bookmark to the google example: // Add a marker in Sydney and move the camera LatLng sydney = new LatLng(-34, 151); Map...
asked by 02.02.2016 / 22:55