Questions tagged as 'google-maps'

2
answers

Error with geolocation in android studio Unable to get provider

This is my MapsActivity class package com.example.em645.prueba; import android.content.Context; import android.content.pm.PackageManager; import android.location.Location; import and...
asked by 05.12.2016 / 17:13
1
answer

How can I debug a web element that only appears in the mouseover event?

I have some popups that give the bookmark information in a google map made with InfoBox. But they appear to me without style. To create it, I followed this answer successfully, but the style of the tooltip, which is not shown, I'm...
asked by 03.08.2016 / 11:42
3
answers

Hide and Show div with Google Map

I have a div on my ASP.NET page that contains a Google Map, and I need to show it and hide it but it does not work for me. This is the code divided by lengaujes : Javascript: function ShowMap() { var mapa = document.getElemen...
asked by 08.09.2016 / 21:30
1
answer

Generate route with Maps API

I am working with the Google Maps API and I wanted to generate the route between two points but I do not know very well how. I have been reading the documentation and I see that it has to be defined using the parameters origin: and des...
asked by 20.02.2018 / 15:56
1
answer

I want to put Google Maps on Android and get the error: "could not find depency com.google.android"

I have read and I have seen some videos on how to do it but the problem appears when I start to enter code, I get many errors. I have already installed the Google Play Services and the Google USB Driver but when I try to solve the errors and ins...
asked by 13.12.2017 / 12:10
1
answer

Drag marker in Android Google Maps

It is possible to do this in android studio, I have my map but I need the user to drag the marker to specify something. I know how to get my current lat and lng but how can I implement the drag?.     
asked by 05.12.2017 / 10:51
3
answers

AndroidStudio error implementing GoogleMaps

Good morning and thanks in advance, I am implementing google maps in an application and the following petardazo appears: InflateException: Binary XML file line # 6: Binary XML file line # 6: Error inflating class fragment, I took a whole day giv...
asked by 19.12.2017 / 11:31
2
answers

Error trying to load map in a fragment

I'm having a problem loading Maps, I'm using SupportMapFragment, it does not show any visible error in the code but in Logcat it shows me the following error:    java.lang.NullPointerException: Attempt to invoke virtual method 'void   com.goo...
asked by 01.11.2017 / 23:16
1
answer

Is it possible to disable the zoom of an embedded Google Maps when scrolling?

Hello good night everyone, I continue with my project in a teaching institution and I have encountered a problem that I hope you can help me solve. Using Google Maps I added a map to the website as seen below: I include the code I use: &...
asked by 10.08.2017 / 06:53
1
answer

Using the directions service with SearchBox Google Maps API?

I'm working on a project with the Google Maps API, I've been guiding myself with this Example that gives the same page of the API " Place Autocomplete and Directions " Try to do mine by guiding me by example, replacing class Aut...
asked by 26.04.2017 / 09:06