Questions tagged as 'google-maps'

1
answer

Google Maps Event - AddListener

Hello, I would like to know if anyone has any idea how to return a GLOBAL event from anything done on the map to be interpreted with CASE! Here's how I use them today.    google.maps.event.addListener (map, " click ", function (event) { In...
asked by 28.01.2017 / 06:47
0
answers

Upload buttons selectively via Mysql - Maps API

I have a question about loading pins from a Mysql database. Let's say I have a database that stores several latitudes and longitudes and needs to load some pins from them via the GMaps API. However, this gave me a question: My intention is...
asked by 22.01.2017 / 18:48
1
answer

cURL with Google Maps Directions API returning null

Here is the code I'm using: $arquivo = "destino.json"; $info = file_get_contents($arquivo); $lendo = json_decode($info); foreach($lendo->rotas as $campo){ echo "<b>Origem:</b>...
asked by 19.12.2016 / 14:30
1
answer

Enter city name in a Search box and open map of that city on another page

Well, I am a beginner in the area and would like help from the most experienced. I'm starting a project that aims to use Google Maps to present a location based on a search box query by the user. I have a table called clients in Mysql and would...
asked by 14.12.2016 / 16:21
2
answers

php data and markers google maps

I have foreach taking some data from the bank, including the address. foreach ($roteiro->ListaRoteiro($romaneio) as $dados) { echo $dados->getRomaneio() . " - "; echo $dados->getPlaca() . " - "; echo $dados->getCte(...
asked by 24.11.2016 / 11:31
1
answer

Capturing click on a specific area of Google Maps (GMaps API)

Hello, I'm developing a web application that makes use of the Google Maps API to map farms, and highlight them with different colors according to the level of a particular pest. I need to capture the user click within the selected area as...
asked by 01.12.2016 / 18:21
1
answer

GOOGLE MATRIX API

I'm using the following method to calculate the distance between 2 cities using Google API Matrix: private function calculaDistancia () { $this->destino = str_replace(" ","%20",$this->phpUtil->limpaCaracters($this->destino)...
asked by 17.11.2016 / 21:04
1
answer

Google Maps is not showing up

I have a problem with Ionic, I added a map in my app and it does not appear, I'm using the Ionic Tab interface, the code is apparently right, I used it in a Blank app and it worked, but when I I add the same code in the tab of my main app it doe...
asked by 27.10.2016 / 05:11
1
answer

Bookmarks in google maps searching the database

How would you fill in state markers in google maps, fetching latitude, longitude and title data from a database. Today I already have this function working, but the state data is fixed in a javascript. Below is the code I have today: fun...
asked by 27.10.2016 / 01:21
1
answer

Maps - CodeIgniter

Personally I'm using the following library to work with maps: link . Here's the tutorial: link . I would like when I clicked on the map not to raise a alert , but rather that the data was for 2 inputs. To raise alert the fol...
asked by 09.11.2016 / 15:27