Questions tagged as 'google-maps'

2
answers

Calculate Distance Api Google Maps v3 Automatically in a Loop

I would like to calculate the distance between two points using the api Google Maps V3 automatically without the use of interface, and send them to java for future processing. The coordinates are in a MySQL database. I'm even getting more tha...
asked by 09.09.2014 / 01:47
1
answer

Firebase Insertion Problems

I'm developing a native application on Android that uses maps, insertion is usually happening through the code below. Location is a variable of type LatLng . mDataBase.child("location").child("Roubo").child(String.valueOf( new Date()....
asked by 18.11.2017 / 14:32
1
answer

How does Maps automatically draw the polygon when entering the neighborhood name?

How does Google Maps draw the polygon automatically when we type the name of a neighborhood? Below I did a search on the maps for the neighborhood
asked by 04.05.2018 / 22:36
1
answer

Knowing if I am in a region through latitude and longitude

I need to know through coordinates if I am in the area of a region, in this case, the code below is in PHP with polygon, but it is not working. Am I missing the coordinate question (x, y)? I looked for something with the Google Maps API, but...
asked by 30.04.2018 / 01:26
1
answer

Label / Title Posted on marker - Google Maps Api

I'm working with Google Maps Api , and I need to leave the name appearing statically on top / bottom of Marker , I wanted to put this label / title when creating the marker, like title , someone knows a way simple to do this?...
asked by 27.07.2017 / 16:30
1
answer

Is it possible to change the color of Marker marker in Google Maps?

I'm using the Google Maps API (JS) marker with no problems in my application. The code below works perfectly: var mapa = new google.maps.Map(document.getElementById("mapa"), { center: {lat: latitude, lng: longitude}, zoom: 10 }); var i...
asked by 04.11.2016 / 21:24
2
answers

Upload Json to Google Maps

I'm drawing a polygon on the map of google, I got it, but how big it is was a very repetitive code that I would like to isolate in a .json, but I could not. I tried to do something simple with Jquery loading the file and putting it in a varia...
asked by 21.06.2016 / 14:46
1
answer

System to measure distance between 2 locations on my website

Good morning, I'm making a website where users need to calculate the distance between 2 locations. Does anyone know how or where can I use a system that allows me to do this on my website?     
asked by 29.07.2016 / 10:41
1
answer

Google Directions Service does not count requests made with my api key

I'm using the same javascript reference to use the directions service when maps api: <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?key=MINHA_CHAVE"></script>Therequestsmadetothemapsapiarebeingcountednor...
asked by 10.02.2016 / 19:37
1
answer

Location change depending on browser - Google Maps

Recently I started using the Google Maps API, so I know very little about it. When entering the site of my project the browser asks if it can obtain the location of the user. Only I noticed that the location varies depending on the browser. U...
asked by 04.03.2016 / 16:06