Questions tagged as 'google-maps'

0
answers

Get coordinates of a highway in Brazil

How can I get all the coordinates of a particular Brazilian highway? I'm starting a search and could not find material to help me with this task. Basically I need to identify for example: The latitude and longitude of kilometer 120 on BR 040. Th...
asked by 17.06.2015 / 06:41
3
answers

Simple multiplication in JavaScript with decimal

As seen in the Simple JavaScript multiplication , I was able to multiply the response.rows [0] .elements [0] .distance.text value by x30 in the Maps script v3. The final code looks like this: <!DOCTYPE html> <head><ti...
asked by 29.12.2014 / 19:40
3
answers

Using the Google Maps API for a given Longitude and Latitude

I'm creating a website, I want it in it when a user puts an input into the longitude and latitude, google maps returns the exact location, I've seen several tutorials talking about google maps api but I can not. Here's the code I'm using: &...
asked by 12.02.2016 / 04:39
2
answers

Google Maps with file_get_contents error. What can it be?

I am implementing Google Maps on a real estate website and I have a problem to solve: the request gives% error of% ... Soon in the middle of the code is the result of the variable file_get_contents($url) which if I copy and paste it in...
asked by 30.09.2014 / 18:15
1
answer

Send address to search google maps

Hello, I ask for help on the following: I have a TextView with an address, I would like it when I clicked to make an Intent by sending this address to search the user's Google Maps app itself. I know I can use the Google Maps API, but I'd lik...
asked by 04.12.2016 / 14:44
1
answer

Automatically center Google Map between two bookmarks

I'm having difficulty trying to center the map between two markers. I need to do this when I change the DirectionsRenderer from one map to another. If the route has no changes that can be dragged then the map will automatically center. Bu...
asked by 22.06.2016 / 17:37
1
answer

Api Maps Offline

Good evening guys, how are you? I would like to know if my application would open the map when the user is out of the internet?     
asked by 27.02.2016 / 03:20
1
answer

Upload googlemaps in JQuery

I'm trying to load a map, but the map does not boot. The code I use to load the map: function carregaMapa(endereco) { var address = endereco; geocoder.geocode({ 'address': address }, function (results, status) { if (status == 'OK') {...
asked by 27.06.2018 / 02:52
1
answer

Validate geographic coordinates

How can I validate a geographic coordinate to see if it really corresponds to a valid location? For example, -47.888477, -100.555444; These coordinates I did not get on any map, are random numbers that came to my head now to use for example, how...
asked by 19.02.2018 / 17:47
1
answer

Query return generate Array

I have a query in MySQL. foreach($resultado as $row) { $lat = $row['lat']; $lon = $row['lon']; $horario = $row['horario']; } I need the result to mount an array similar to the one below. $markers = array( array("latitude" => $lat, "lon...
asked by 19.01.2018 / 15:04