Questions tagged as 'google-maps-android-api-2'

2
answers

Identify if coordinate set is within a radius in Android

I want to delimit a radius from a central coordinate (the red marker in the figure) and, from a set of coordinates (the green markers), check if they are within the area delimited by this radius. > How to identify, from a set of coordinates (...
asked by 25.03.2015 / 02:11
2
answers

Draw path on the map

How do I draw a certain route using the Maps API V2? What I want is something like this: I go to street A and street B and get the picture of the route between these two streets. I do not want API to give me a hint about the best path but the ex...
asked by 25.02.2014 / 15:58
1
answer

Open map at user's current location

I'm trying to open GoogleMaps in the user's current position, I've already researched a lot and still can not make it work in my project. I'm using Fragments to manage the layout. In the current project the map already opens without problems, ho...
asked by 13.07.2017 / 18:46
1
answer

How do I get the coordinates of a point at a certain distance from my location?

Speak people, I'm making an app, and in an activity of the precise app from my location give a "zoom" in the maps as the user slides a seekBar, according to the image. I've been thinking of using the Bounds feature in maps, where I can pa...
asked by 07.04.2015 / 14:43
1
answer

Map opens before picking GPS position

I'm studying programming for Andriod and I came across a feature that I just do not know anything about, which is ordering the functions ! please could anyone give a light? I explain, in my example I call  - API to communicate with GPS,...
asked by 23.01.2017 / 08:17
1
answer

How do I initialize Maps in a specific place?

How do I make the app, when I open Google Maps, zoom in to a specific location (for example, in a specific coordinate)? The demo codes it shows ALL the continents when I boot and need to zoom in until my markup: public class MapsActivit...
asked by 15.03.2015 / 05:15
1
answer

Optimize marker movement in Maps

I've been working with an application where I add a Marker on the map, where it looks like: markUser.draggable(true); But I want to optimize this method, to move the marker is necessary to hold for a while, I want with a single click to d...
asked by 26.02.2015 / 16:38
1
answer

Android 6 problem with map.setMyLocationEnabled (true) [duplicate]

I'm having a problem with google api 23+ specifically in the mapa.setMyLocationEnabled(true); method You need permission to run, and in android 6.0+, I can not implement the new permissions method. @Override public void onMapReady...
asked by 23.08.2016 / 05:27
1
answer

Event when you click on a Google Maps marker

I would like to know if you can put event in Google Maps bookmarks to open a custom information window, such as a fragment, for example.     
asked by 30.05.2018 / 04:41
2
answers

Show / Hide Bookmarks as zoom Zoom on Android map

I'm developing an android app that will contain many markers on the map, and to not get too messy I would like that if you were zooming in on the markups going into Hide, I tried the following code: @Override public void onCameraChange(CameraP...
asked by 01.08.2016 / 20:22