Questions tagged as 'google-maps'

1
answer

Google Maps Android API NullPointerException

good afternoon. The problem is that when I run the application in which I have a MapFragment, if I do not write code, it works perfectly but if I write the code to have a reference to a GoogleMap, I get an error "NullPointerException", I do not...
asked by 09.08.2017 / 16:00
1
answer

FATAL EXCEPTION: main java.lang.NullPointerException Android Studio

Can someone help me solve this execution error please, I'm trying to show a map, in a fragment, I'm working from the template of a navigationDrawer. I have generated a fragment that contains the following code: import android.net.Uri; import a...
asked by 31.08.2017 / 16:51
1
answer

Get current coordinate and set it in a text and that does not vary (That shows the one I'm taking at that moment) Android

Good morning: I have the following code that makes a map and puts two points on the same point A Start of the route I wrote it in the variable, point B End of the route I bring it from the database and I pass it from a previous activity for a pu...
asked by 06.06.2017 / 16:50
1
answer

Why does the Google Maps API not work on a server? [Error: The Geolocation service failed]

Currently I just upload what I have from my website to a test server and it is free, locally if the api of google maps works and shows me the location where I am currently. But when I uploaded my website to the server and modified...
asked by 20.07.2017 / 07:10
1
answer

Send GPS coordinates to the Web Service every so often

I am trying to send coordinates from my position every so often to the web service, I have a class called " LocationService " that should do this, but at the moment of executing the application, nothing happens ... LocationService p...
asked by 30.05.2017 / 08:33
1
answer

Pass latitude and longitude values to form

I have a page that displays a map where it automatically locates my position, I have tried through another code to pass the latitude and longitude to a form in text fields, but I have not succeeded. Any suggestions? <!DOCTYPE html&...
asked by 03.07.2017 / 17:57
1
answer

ng click using angular and google maps

Good afternoon, cordial greeting, I wanted to comment that I have the following problem; I'm working with angular and google maps with the ng-map directive and I have my html, my app.js and my controller.js and the ng click does not work for me...
asked by 27.04.2017 / 21:15
1
answer

problem with import com.google.android.gms

I want to use the Google Maps API but I can not import the following, because it marks everything I want to import as unknown: import com.google.android.gms.maps.CameraUpdateFactory; import com.google.android.gms.maps.GoogleMap; import com.goo...
asked by 12.04.2017 / 03:43
1
answer

Problem with Google Maps and Ionic 2. Missing plugin

Good morning, I'm trying to show Google Maps in my app on Ionic2. The following warnings are being given to me by console:    Native: tried accessing the GoogleMap plugin but it's not installed.       Install the GoogleMap plugin: 'ion...
asked by 07.04.2017 / 15:15
1
answer

Error opening a KML in an HTML - Google Maps

I have the following problem, I try to add the KML file from Google Maps to an HTML file, but it gives me the following error: Code: function initMap() { var map = new google.maps.Map(document.getElementById('map'), { zo...
asked by 19.03.2017 / 06:13