Questions tagged as 'google-maps'

2
answers

click on GMSPolygon swift with Googlemaps

I have a GMSPolygon visible on the Googlemaps map. I want to click (tap) and have the console send me a message. // ##### Polígonos let polygonEspaña = GMSPolygon(path: españa) polygonEspaña.fillColor = UIColor(red : 0.25, green: 0,...
asked by 30.05.2017 / 20:39
1
answer

Retrieve data from a map in another activity - Android Studio

Hello! I have a class called Maps, with which I can know the location of the phone: public class MapsActivity extends FragmentActivity implements OnMapReadyCallback { Button siguiente; TextView messageTextView; private GoogleMap mMap; privat...
asked by 24.05.2017 / 03:17
2
answers

It does not load the google map having created an api in google api console

I have registered an Api to insert a Google map but I do not upload the map on the web. I get the error in the console:    InvalidValueError: initialise is not a function. <script src="http://maps.googleapis.com/maps/api/js?key=AIzaS...
asked by 17.02.2017 / 17:01
0
answers

Use of api from google maps

In my app I use the Google Maps API. I use the api in 2 parts of the app, in one if it works correctly but in another does not show me the activity, my question is as follows: Once this is enabled in the app, it can be used anywhere and how many...
asked by 17.02.2017 / 12:36
0
answers

how to know if a polyline is showing on the map?

my android project contains some markers, my idea is that by clicking on a marker a polyline is generated up to the marker from my current position, the problem that I have, is how to know if the polyline exists to erase it and add the new polyl...
asked by 14.12.2016 / 04:45
0
answers

Measure distance in Google Maps with Android Studio

I would like help with distances in Android Studio with Google Maps: I want to draw the distance between markers. Here is an image where I can trace the route with time and distance, only with the best-known cities that Google Maps offers m...
asked by 02.12.2016 / 02:02
1
answer

bookmark google maps javascript uber style

I need to make a map on a web page with markers that move according to the user's location on the map. like the uber in the map of the uber application. try to do this but it looks bad. var map; function initMap() { var myLatLng = app.ubi...
asked by 27.02.2017 / 08:43
1
answer

Help with a $ scope and data from a database on google maps

I have a problem and I do not know how to use a scope variable and show it on the map, it does not recognize the location /** * Created by gamba on 20/10/2016. */ var app = angular.module("mapas",[]); app.controller("myctrl",func...
asked by 07.12.2016 / 00:49
0
answers

Google Maps: Android Studio Get the ID of a Marker and move on to another activity

Hello, I am trying from a map to be able to select a marker and send it to a new activity by passing the information of "ID", "lat" and "long", but when selecting it, it sends me to the activity with other information, someone knows how I should...
asked by 31.10.2016 / 21:34
1
answer

Android studio (Api google maps) Api

Hello, I'm doing a job in which I must occupy an api of google maps , I already got my api and added it to my code but whenever I want to run it on my cell phone or machine it appears error:    Error: Execution failed for task ': app: transf...
asked by 27.10.2016 / 21:31