Questions tagged as 'google-maps'

2
answers

Retrieve latitude and longitude of marker (marker)

Follow the code: function initAutocomplete() { debugger; var map = new google.maps.Map(document.getElementById('map-create'), { center: { lat: -23.5505199, lng: -46.6333094 },...
asked by 04.01.2017 / 02:42
1
answer

Retrieve geographic data via an HTTP request via Google Maps URL

Good morning guys. I'm trying to retrieve some geographic information based on latitude and longitude. To retrieve such information I'm trying to make a request via URL through this link: Google Maps Geolocation API . It returns me an XML...
asked by 14.10.2015 / 14:13
1
answer

How to add a buffer to google map v2?

I followed several tutorials and one of them worked, but when I compile the normal fragment appears with the name google in the lower left corner of the screen (normal), but nothing map :( ... When I'm in a good connection with the internet ther...
asked by 10.10.2015 / 20:47
2
answers

Ungroup markers using Google Maps API with Javascript

Good afternoon How can I ungroup this group of bookmarks that have the next location using the Google Maps API? I searched but found only the MarkerClusterer and other alternatives that do not come from Google, modifying the standard icons, a...
asked by 18.06.2015 / 21:15
1
answer

Google returning 403 Forbidden

My webservice makes a request to maps.google.com but returns exception System.Net.WebException with 403 Forbidden message But the URL usually runs via browser. What can it be? [WebMethod] public string teste() { string url = @"http://ma...
asked by 13.04.2015 / 22:49
2
answers

Remove previous route from Google Maps

In a multi-location application, I have a button for calling a route between two points using the setDirection function, as inserted below. I would like support to be able to remove a route traced earlier after clicking on another marker....
asked by 07.11.2015 / 04:41
1
answer

Change pin position of Google Maps

I need to change the pin position of a map embedded in a page. Next, by default it leaves the pin in the center, I want to choose a position within my main div. I was looking at Google documentation about styling Google Maps embedded. Ho...
asked by 29.04.2014 / 16:56
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

Route system in PHP using the Google Maps API

I am terminating a system in PHP, where the client asked if he has how to generate a route between companies, and generate the shortest one, for example, he has 50 companies registered in the database, with address and everything else, he I want...
asked by 06.02.2015 / 01:15