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

1
answer

Error when customizing InfoWindowAdapter in Google Map?

I have this XML file: ?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent"> <ImageView...
asked by 04.12.2016 / 08:30
1
answer

Submitting location to webservice

Hello, I have a problem, I have a service on android that captures the user's location in a given range. Captured I send to the server, where it will take this location and save it in the database. The problem is that maybe the user does...
asked by 25.02.2016 / 20:15
1
answer

Problem loading Maps v2

Good morning! I have the following code to load the map into my app: if (mMap == null){ mMap = ((SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.map)).getMap(); if(null == mMap) { SupportMapFragment...
asked by 13.10.2015 / 14:35
1
answer

Error inflating class fragment using maps

When I run my app, after selecting the event that directs to activity with maps, it ends with Fatal Exception .    luizugliano.com.br.lugaresfavoritos.MapsActivity}:   android.view.InflateException: Binary XML file line # 12: Bin...
asked by 23.11.2015 / 16:11
1
answer

Upload image from a url to an InfoWindowAdapter

I'm trying to display an image from a URL in an "InfoWindowAdapter", but it's never shown. I'm using the Volley library to upload images. Does anyone have an idea how to solve this problem? //no fragment mapa map.setInfoWindowAdapter(adapt...
asked by 06.01.2015 / 20:03
1
answer

Add marker on map ANDROID

Good evening, I have an application with a map on a swipe tab, but I want the map to mark a point on the map and start at that point. Thank you in advance. JAVA submission: public class Mapa extends Fragment { @Override public View onCr...
asked by 30.07.2014 / 23:45
0
answers

How to display balloons in all brands in google maps without having to click?

I have the following code to display information for a specific bookmark: var bindInfoWindow = function (marker, map, infowindow, htmlContent) { google.maps.event.addListener(marker, 'click', function () { infowindo...
asked by 09.11.2018 / 01:22
1
answer

Google Maps Api in the android app does not work in the Play Store

I developed an Android application that shows google maps in one of the ativitys, the tests works well, but the app published in the Play Store does not show the map. I generated the Google Maps API key, restricted it, and put both google_maps_a...
asked by 05.10.2018 / 15:28
0
answers

How to add Circle on the map using an ASyncTask?

I have an ASyncTask that receives a GoogleMap object, my goal is to get it to take certain data from the server and create a circle at the point defined in onPost () but it does not add the circle and does not give any error. p> By using the v...
asked by 05.10.2018 / 10:39
0
answers

[Android Studio] [Google Maps API] Know how many Markers are close to my location

I want to know how many Markers (those markers I created and put in a certain place) have close to my location (GPS) at a certain radius / distance from my location.     
asked by 02.09.2018 / 22:29