Questions tagged as 'google-maps-api-3'

1
answer

Validate google api key

I'm making an application, where I'll have to validate a google maps API key. The problem is that I do not know what patterns it follows: AIzaSyA-OlPHUh2W7LUZXVjQjjxQ8fdCWdAASmc Here you can see that they are uppercase and lowercase, numbe...
asked by 20.07.2016 / 15:09
1
answer

Google Maps API Return markers with JSON, as it moves the map or zoom

points.php returns a Json with map markers [ { "Id": 1, "Latitude": -19.212355602107472, "Longitude": -44.20234468749999, "Descricao": "Conteúdo do InfoBox 1" }, { "Id": 2, "Latitude"...
asked by 29.12.2015 / 23:35
1
answer

How to distribute points evenly inside a polygon?

Using the Google Maps API , I'm creating some random (custom markers) points within a polygon. I created, at first, a function in which I run a loop of 100 positions and randomly distribute the points inside the polygon. If the generated coordi...
asked by 23.10.2017 / 05:27
3
answers

API Google MAPS location from address

I have an address saved in the database, divided correctly and I need from this address to generate latitude and longitude and also to plot on the map a marked in the registered area. SGL_ENDER_ESTAD: "MG" TXT_ENDER_BAIRR: "MEU BAIRRO" TXT_END...
asked by 06.10.2015 / 15:51
1
answer

I have a geolocation code, but chrome does not give me permission to run it

I'd like to know, your I have to give some sort of permission, for the code to work on Chrome, because in Mozilla it can give me the location. Follow the code below ' function writeAddressName(latLng) { var geocoder = new google.maps.Geoc...
asked by 09.05.2017 / 18:03
1
answer

Compare if there is a point on a given route

I have a page that calculates the distance between Point A and Point B , but I need to compute tolls on this route. I think of having a bank with the toll (lat and lng) coordinates and check if it exists on the route, but I do not know how...
asked by 29.03.2017 / 16:46
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

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
0
answers

Determine neighborhood from Latitude and Longitude

I'm using Google Maps API V3 more specifically angular-google-maps . I need to display the user's exact point at the time he opens the map and also display all the people who may be in that neighborhood (whether or not there at the time). The...
asked by 21.03.2017 / 01:46