Most voted "google-maps" questions
The Google Maps Apis family lets you incorporate the functionality of Google Maps into your own website and apps.
Learn more…530 questions
Sort by count of
-
0
votes1
answer16
viewsReturn query 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 this one below. $markers =…
-
0
votes0
answers80
viewsCircles is superimposing Merkers by making clicks impossible (Google maps Javascript API)
In Google maps API Javascript, when using the Circles object it overlaps my Layer of Fusion Tables and makes it impossible to click on the markers and open the infowindow etc of each Mac. I have…
-
0
votes1
answer1360
viewsValidate geographical coordinates
How can I validate a geographic coordinate to know if it actually corresponds to a valid location? For example, -47.888477, -100.555444; These coordinates I didn’t pick up on any map, they’re random…
-
0
votes1
answer141
viewsWordpress Advanced Custom Fields Pro How to Activate Google Maps
I am using the plugin "Advanced Custom Fields Pro" wordpress. I’m trying to use the Custom Wordpress Field, but the same asks the key to access the Google API, I already have the key but do not know…
-
0
votes1
answer80
viewsForce Javascript keydown into Google Maps autocomplete input!
Folks I have the following precise problem that by clicking "Enter" on an input with Google Maps auto complete, then it press the down key to select a Google Maps option.. tried several ways but it…
-
0
votes0
answers82
viewsWhat do I call Popover instead of an infowindow?
I have a situation on the maps where I have several markers on the map and each with a different identification. I can use the infowindow normally to display all the data relating to that marker.…
-
0
votes1
answer943
viewsError 400 Bad Request in Google Distance Calculation API
This is the Error that is happening at the time of Sending Requests by url: Warning: file_get_contents(https://maps.googleapis.com/maps/api/distancematrix/json?origins=Av Padres…
-
0
votes1
answer101
viewsAdd markers to Gmap
I want to add a marker to the point I’m showing on the map. It loads the map and everything, but I can’t add the marker. <h:body> <h:form> <p:poll interval="10"…
-
0
votes0
answers37
viewshow to consult Distance Matrix with geocoder together?
I am developing an application that uses the google API to display the registered places on the map along with the distance of each location as follows. mMap.addMaker(new…
-
0
votes0
answers42
viewsError adding Pageviewadapter to Google Maps Android API
It has three (3) buttons and a (1) tab with two (2) buttons on the map, like this that I add the code to create the Pageadapters I get error and I don’t know how to solve. ERROR: 03-15 03:50:23.990…
-
0
votes2
answers437
viewsHow to place Mapactivity in a Fragment
It is so, I have a Mapactivity, but I would like the map to be in a Fragment. How can I do this? I created a Fragment, implemented the methods of Mapactivity created by Android Studio, but I come…
-
0
votes1
answer520
viewsClear a route between two points (API google maps)
I created a system of routes between two points in Google Maps (one passed by the user and the other already defined by me). My problem is in the process of showing a new route, that is, how can I…
google-mapsasked 8 years, 4 months ago Hitch Leonardo 623 -
0
votes1
answer254
viewsGoogle maps does not work within the bootstrap modal
Hello, everybody. I’m developing a register that uses the Google Maps API to find an address and I’m trying to use it within a modal, but when I put inside the modal, it doesn’t show the map and…
-
0
votes1
answer76
viewsConsultation of very slow cep
date_default_timezone_set('America/Sao_Paulo'); include 'conn.php'; $query = $mysql_adv->query("SELECT * FROM dados"); while($row = $query->fetch_array()){ $url =…
-
0
votes1
answer288
viewsHow to solve Google Cache problem?
I took the test on pagespeed and even having installed the plugin of Wordpress appeared this: Leverage browser caching Setting an expiry date or a Maximum age in the HTTP headers for Static…
-
0
votes1
answer51
viewsLoad googlemaps in Jquery
I’m trying to upload a map, only the map won’t boot. The code I use to load the map: function carregaMapa(endereco) { var address = endereco; geocoder.geocode({ 'address': address }, function…
google-mapsasked 6 years, 4 months ago Julia Helena 63 -
0
votes1
answer487
viewsAngle inside a Google ray maps
I have a project using google maps, where I receive the latlng information (which will create a marker in this location), as well as radius and azimuth, knowing that the angle will always be 60°.…
-
0
votes1
answer93
viewsHow to know if certain coordinate is in a bounding box?
I have a coordinate (lat and Lon) and also a bounding box (minlon, minlat, maxlon, maxlat) and I have to find out if a certain coordinate is within the area. So far I did not find how I do, I…
javascript google-maps google-maps-api-3 maps-javascript-apiasked 6 years, 2 months ago twsouza 157 -
0
votes1
answer4357
viewsGoogle Maps error (This page did not load Google Maps correctly)
Lately, all the sites I created and used maps, is showing this message Do you know if anything has changed in google? any settings in the API?…
-
0
votes1
answer201
viewsGoogle Maps Api in android app does not work in Play Store
I developed an application for Android that shows google maps in one of the activitys, in the tests works well, except that the application published in the Play Store does not show the map. I…
-
0
votes1
answer72
viewsError while performing android route : Androidhttpclient: Leak found
Guys I’m making the following mistake : 08-24 22:52:53.529 9872-9880/br.com.anjodarua E/AndroidHttpClient: Leak found java.lang.IllegalStateException: AndroidHttpClient created and never closed at…
-
0
votes2
answers146
viewsHow to show all markers?
I am developing an Ionic app where I need to show several points on the Google Maps map, I add all points as markers on the map and place the camera position to the center of the points. pontos =…
-
0
votes1
answer715
viewsI need to put a link in my Google Maps
I have a map on my site, where the location of the property on the map has the logo, in place of the standard Google Maps PIN, a PNG image appears. I need this image, when clicking, to take to a…
-
0
votes1
answer110
viewsPass Activity coordinates to Mapsfragment
I need to pass the latitude and longitude that I pick up at the HomeActivity to the MapsFragment, for the map to open soon at user’s position. I tried to see Intent and it doesn’t work. My code:…
-
0
votes1
answer342
viewsTake mysql data and use in Mapsfragment on Android
My part of php I believe is working. I don’t know how to get this data to Android. How can I do? I need to pass the name data,message,lat,long for some variable on android. Part in Php: $sql =…
-
0
votes0
answers24
viewsMap with custom points, where when clicking on one of them, changes the page information
I need to create a page where there is a map (it can be the one from google maps), where I define some points. Clicking on one of these precise points changes the content of the page. Example: On…
-
0
votes0
answers20
viewsReceive information from Google Routes with React Native
I have an application in React Activate with React-Native-google-maps-Directions and I need it to receive information from google routes in real time. For example, "turn right", "turn left". It is…
react react-native google-maps google-maps-android-api-2 bluetoothasked 3 years, 9 months ago Carlos Henrique 1 -
0
votes1
answer291
viewsonMapReady performs faster than the function that recovers the location
hello, I’m trying to use map help in my app. I recover the coordinates through Json, the problem is that the function that leads to the coordinate (onMapReady) performs faster than the function that…
-
0
votes1
answer286
viewsCreate a Marker at the current Maps position with Fragment
Hello, I need to put a Marketer in my current position and show on Google Maps, but as I am using Fragment the setMyLocationEnabled method does not work, I have already gone after the internet on…
android google-maps android-fragment google-maps-android-api-2asked 8 years, 1 month ago Carlos Vicente 23 -
0
votes1
answer193
viewsBookmarks in google maps searching database
How to fill state markers in google maps, searching the latitude, longitude and title data of a database. Today I already have this function working, but the state data are fixed in a javascript.…
-
0
votes0
answers62
viewsWordpress plugin does not display html
I’m trying to make a simple plugin that show via shortcode a small google maps map with the current location of the user, but when I put the shortcode the map does not appear, follows the code:…
-
0
votes1
answer90
viewsMaps - Codeigniter
Personal I am using the following library to work with maps: http://biostall.com/codeigniter-google-maps-v3-api-library/ . Here is the tutorial of the same:…
-
0
votes1
answer906
viewsGOOGLE MATRIX API
I am using the following method to calculate the distance between 2 cities using Google API Matrix: private function calculaDistancia () { $this->destino = str_replace("…
-
0
votes2
answers284
viewsPhp data and tags google maps
I own a foreach taking some data from the bank, among them the address. foreach ($roteiro->ListaRoteiro($romaneio) as $dados) { echo $dados->getRomaneio() . " - "; echo $dados->getPlaca() .…
-
0
votes1
answer236
viewsCapturing click on a specific area of Google Maps (Gmaps API)
Hello, I am developing a web application that makes use of the Google Maps API to map plots of farms, and highlight them with different colors according to the level of a particular pest. I need to…
google-mapsasked 7 years, 11 months ago João Vitor GA 1 -
0
votes1
answer39
viewsError when customizing Infowindowadapter on Google Map?
I have this XML file: ?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"…
-
0
votes1
answer67
viewsInsert city name in a search box and open map of that city on another page
Well, I’m a beginner in the field and I would like a help from the most experienced. I am starting a project that aims to use Google Maps to present a site based on a search box query by the user. I…
-
0
votes2
answers1348
viewsProblem with Google Maps API key
Map does not open on real device using .apk generated. I made the Activity to the Map using the AS wizard for this purpose, in this mode it generates a SH1. I went to Google API where I already have…
-
0
votes1
answer269
viewsHow to get the total marker (Marker) on google maps?
I’m using Places search box. Here is the code: function initAutocomplete() { var map = new google.maps.Map(document.getElementById('map'), { center: {lat: -33.8688, lng: 151.2195}, zoom: 13,…
-
0
votes1
answer1342
viewsRoute in Google Maps using coordinates
I have this code for creating routes using Google Maps var map; var directionsDisplay; // Instanciaremos ele mais tarde, que será o nosso google.maps.DirectionsRenderer var directionsService = new…
-
0
votes1
answer528
viewsHow to search address only through google maps?
Here is an example in javascript: function initAutocomplete() { var map = new google.maps.Map(document.getElementById('map'), { center: {lat: -33.8688, lng: 151.2195}, zoom: 13, mapTypeId:…
-
0
votes1
answer447
viewsGoogle Maps Event - Addlistener
Hello, I wonder if anyone has any notion of how to return a GLOBAL event from anything done on the map to be interpreted with CASE! Below how I use them today. google.maps.Event.addListener(map,…
-
0
votes1
answer163
viewsError creating Google Maps Activity
When I create in my project a new -> Google -> Google Maps Activity he creates everything correctly. Then add the key to google_maps_api.xml. <string name="google_maps_key"…
-
0
votes1
answer96
viewsMove Text+location to google maps app
Hello, I am making an application using only: HTML, JS(Angularjs) and CSS. I have the following. My location is picked up by the application and an address that is saved in the database, a string…
-
0
votes0
answers451
viewsCreating custom map with multiple points, manageable by Wordpress
You know how to generate a json file in wordpress?. I’m trying to create a map where custom points are manageable by Wordpress, I’m using the plugin ACF Advanced Custom Fields, where you create a…
-
0
votes1
answer46
viewsHow can I pass more than one point to google maps in that while?
I wanted to mark all the points where the approximate distance is less than 25 km, but it doesn’t even show the first point that is the nearest (4km), it shows the last one (18km). Follow what comes…
-
0
votes2
answers142
viewsHow can I separate this javascript string into two php variables?
Follows the code____________________________________ <!DOCTYPE html> <html> <body> <p>Click the button to get your coordinates.</p> <button…
-
0
votes1
answer36
viewsI would like a user to register a single limit of markers on the map
Good morning guys, I would like to know, if I have how to determine a maximum limit of markers registrations there is a user depending on their level of access in the database. Example: CREATE TABLE…
-
0
votes1
answer219
viewsGoogle Maps API
I have the following situation: The geographical location of my country is: longitude de 73°59’32 (A OESTE) longitude 34°47’30 (A Leste) latitude 5°16’20 (Ao Norte) latitude 33°45’03 (Ao sul) I’m…
-
0
votes1
answer61
viewsHow to remove increment from Kmllayers in Google Maps?
I have a list of items (in the code below two buttons) in which click on each one and open a modal with a map with its given KML. When it is clicked on the first item, the polygon of the item…