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
-
1
votes0
answers24
viewsGoogle maps autocomplete custom input
The autocomplete of google maps after clicking on the street I want example below: After selecting the street it shows a lot of information. What I belonged to was to click the information filtered…
-
1
votes0
answers69
viewsHow to delete Markers from Google Maps
Hi, I’m creating a map that reads the data from Google Places and returns to the nearest stores within a 50,000-meter radius. It works perfectly, however, when I search another location in the…
google-maps google-maps-api-3 marker maps maps-javascript-apiasked 5 years, 3 months ago Karoline Arias 11 -
1
votes0
answers42
viewsGet geolocation data through Google Maps
Is there a function or library in Python or Java that interacts with Google Maps and is able to bring geolocation coordinates of smartphones that have GPS enabled?
google-mapsasked 5 years, 1 month ago Wellington França 11 -
1
votes1
answer315
viewsGoogle Maps does not load registered points (Java)
Good afternoon, everyone. I’m using Google Maps in my app and was working before but stopped working. The app breaks while the map is being loaded. I’ve researched enough on the internet and no…
android android-studio google-maps android-activity localizationasked 4 years, 2 months ago Laura Regina 304 -
1
votes0
answers46
viewsLocking on the map Onresume();
I have the following code is locking on the map in Onresume(); Could someone help me? public class fragRegion extends MyFragment { private MapView mapRegio = null; private AlertDialog alertD = null;…
-
1
votes2
answers530
viewsRecover return from callback
I have the function below that calculates distances using a Google API. I would like to know how to have the return of the function of callback. <script type="text/javascript"…
-
1
votes1
answer59
viewsMap only click on my device
I have a map in a fragment. I already solved all as key questions, created the signed apk, is not what I want to do and I did not put any console google developer, with the name of the project. A…
-
1
votes1
answer61
viewsAdd Marker with click
How do I add a marker to the map with a click? public class MapsActivity extends FragmentActivity implements OnMapReadyCallback { private GoogleMap mMap; @Override protected void onCreate(Bundle…
-
1
votes0
answers182
viewsHow to put the address in Mark maps
Good Afternoon Guys, I have the following code below and I would like to know how to include the address in the Marker, because I own the lat and lng in the database of all points. (That and a gps)…
-
1
votes1
answer402
viewsCurl with Google Maps Directions API returning null
Below 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>…
-
1
votes2
answers1060
viewsMap does not appear in application
I’m adding a feature in an app of mine that will show specific locations near the user. ( Follow the example that struck me ) Follow screen print on Activity: EDIT: E/Google Maps Android API(21658):…
-
1
votes0
answers216
viewsGoogle Maps does not work on mobile
I have this HTML code below and it used to work, suddenly the map does not load anymore and I can not solve the problem. Could someone help me? I test on Firefox and Android Google Chrome.…
-
1
votes0
answers24
viewsReceive information shared by Google Maps
I have an application where you can share links! I do this by taking information from meta og with Jsoup: final Document doc = Jsoup.connect(url).get(); final Elements itens =…
-
1
votes1
answer134
viewsGoogle Maps - After doing new search, remove old Marker
Follows the code: function initAutocomplete() { debugger var markers = []; var latitude = parseFloat('@Model.Latitude'); // -23.4811396 var longitude = parseFloat('@Model.Longitude'); // -46.3676736…
-
1
votes0
answers83
viewsPrice transfer between online store and external page
I want to create a virtual store using already available solutions like Shopify or Iluria. Only that the service (deliveries) would not have a fixed pricing, the price would be based on the location…
-
1
votes0
answers35
viewsSetar Bearing using Cameraupdate
I have two positions (LatLong) I’d like to center them on the map! For that, I’ll tell you what: final LatLngBounds.Builder builderZoom = new LatLngBounds.Builder(); if(null != mCurrentLocation){…
android google-maps google-maps-android-api-2asked 7 years, 10 months ago Thiago Luiz Domacoski 7,310 -
1
votes1
answer192
viewsGoogle maps' getMap() problem - android
I am studying the google maps api and was using it as a basis for my video studies available on youtube. However, while I was studying I came across a code depreciation problem. The video class that…
-
1
votes0
answers89
viewsCould not allocate dup blob fd
I have approximately 1,500 markers on a map that are being shown through clusters so as not to overload the application. these markers are currently shown as BitmapDescriptorFactory.defaultMarker()…
-
1
votes0
answers98
viewsThe Map (google maps API - javascript) stops working when I add a function in the script!
The map stops when I put the Connect function, when I remove it the map will appear again as always var map; var markers = []; function initMap() { map = new…
-
1
votes0
answers173
viewsGooglemaps with two Apis?
I’m working on a page with several calls from the functions of this library, turns out, I have two references to call the API and, each of them works with only one part of the functions I need, For…
google-mapsasked 7 years, 5 months ago Camila Yamamoto 1,302 -
1
votes1
answer55
viewsDifficulties working with google maps in version 3
I’m transferring my apps to version 3 of this API, but I’m really picking up a lot. It turns out, although everything seems to be in place, as the example of google itself , keeps returning me two…
google-mapsasked 7 years, 5 months ago Camila Yamamoto 1,302 -
1
votes0
answers34
viewsInsert edit points blocking user interaction
Using the Google Maps Javascript API, with this code below I am creating a PoLyline, that would be a line on the map passing a array of coordinates in the path. Look at: Polyline maplines = new…
-
1
votes1
answer915
viewsGoogle Maps Location button (Android Studio) not displayed
I’m developing a native Android app, with the Android Studio IDE, which integrates with the Google Maps API. I noticed in several videos that when activating the setMyLocation(True) property you…
-
1
votes0
answers22
viewsGeolocation - returning zero to server only
I have the following code that returns my latitude and longitude. Fiddle <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8">…
-
1
votes2
answers403
viewsProblems with javascript and google maps API
I’m trying to calculate the distance between these two points but I’m not getting it! I’d like to find out what the problem is. On the console, gives error a 404: distancia.html:14 Uncaught…
-
1
votes1
answer419
viewsHaversine formula for SQL SERVER
Guys, I have an Android app that uses Google Maps API. On the map, I get data from an SQL Server database. I need to create a KM radius where I only upload the database data that’s inside this…
java android sql-server web-service google-mapsasked 7 years, 3 months ago Gabriel Moreira Carvalho da Lu 13 -
1
votes0
answers69
viewsHow to make an infowindow with different content for each marker in a loop
I’m trying to make each marker in this loop have an infowindow with different content, the arrays are the same size and are being taken from the database, the problem is that by creating new…
-
1
votes0
answers54
viewsBlock Maps External Query Api
In this code below I perform a query at the address and it returns me some data so far everything ok. What I wanted to know is ? If there’s a way, if a customer enters an address in the United…
javascript jquery ajax google-maps google-maps-api-3asked 7 years, 2 months ago Fabio Henrique 2,156 -
1
votes1
answer1663
viewsGet coordinates, measure distances and compare them
I was proposed to develop a page where this presents an excerpt from Google Maps with several markers organized in clusters (done). I have no experience with Javascript, and what I need is that by…
-
1
votes0
answers28
viewsIs it possible to generate a route without going down the same street again?
I’m using the Google Maps API which has as an example the waypoints in Directions to generate a route using several points on the map. Depending on the address I enter on the map, a route is…
-
1
votes0
answers694
viewsHow to show and hide bookmarks in Google Maps with Mysql?
I made a site with Google Maps that used each position of an array for each marker... var map; var markers = []; function initMap() { var uluru = {lat: -23.9651447, lng: -46.3838347}; map = new…
-
1
votes0
answers134
viewsJson problem to load data into the Gmaps api
I’m using Rails on a college project and added to Gmaps API to my project, in which I intend to display several points on the map picking the coordinates of a file JSON to create the cluster.…
-
1
votes1
answer715
viewsGoogle Map not shown
The google map is not appearing on my site. Code: <div class="row"> //O ERRO OCORRE QUANDO INCLUO A DIV MAP DENTRO DESSA DIV ROW <div id="map" class="col-6"></div> <div…
-
1
votes1
answer435
viewsError (Uncaught Referenceerror: google is not defined) in "Run" in MAPS Autocomplete API
An error is occurring in "google.maps.Event.addDomListener(window, 'load', initialize);" and I can’t fix :'( function initialize() { var mapOptions = { center: {lat: -33.8688, lng: 151.2195}, zoom:…
-
1
votes0
answers131
viewsHow to add markers to my map dynamically?
Good guys, I’m developing a mobile application in AS, and I’m using the map to add markers of each location of a new registered form, IE, when performing a registration I send along my latitude and…
-
1
votes1
answer1312
viewsHow to take the user’s location and compare with others to see which one is closest to him?
I need to capture the user’s location and compare all the cited locations in a list/array and see which one is closest and display a picture of the location. So far I’ve been able to handle bugs and…
-
1
votes2
answers125
viewsGoogle Maps returning Latitude and Longitude as zero and problems when placing the Marker
I’m trying to use Google Maps, and settar a location in it (pulling the user’s Latitude and Longitude). It pulls and displays on a Toast, but it does not Setta this in the onMapReady method and not…
android google-maps android-fragment google-maps-android-api-2asked 6 years, 10 months ago Wallace Baldenebre 114 -
1
votes0
answers125
viewsCreate a bookmark in "outward" and another in "back" in a Polyline
I have a Polyline between "Origin" and "Destination", In this Polyline I need to insert markers in a particular location "Point", I do it using the function isLocationOnEdge(). But when there are…
-
1
votes0
answers242
viewsGoogle Maps autocomplete does not show address
I’m trying to get my Google Maps autocomplete to show the address in the formed "City - State, Country" however, is returning this: In short, it only returns with the city, but you can’t tell where…
-
1
votes0
answers139
viewsMaps Javascript Api - Problem saving searched location in Mysql database
I need that when the user clicks the save button that appears when Mark receives a click, the location information is saved to the database. Hidden fields that receive location values when searched:…
-
1
votes1
answer895
viewsHow do I pick up the location of a marker and store it in the database using google map?
I have a marker on my map, it is "draggable", I would like to know how I can find the latitude and longitude of this marker, and later store in the database. I read the google map api documentation…
-
1
votes1
answer1198
viewsChange route (road) color from google maps
Someone can help me how you change that blue color of the road when you set a course.. I already have the style all ready just don’t know the variable that applies to that part of the map.. Obg…
-
1
votes0
answers3959
viewsGoogle Maps and radius of a marker
I implemented the Google Maps code on one site, and it displays custom markers for all addresses on the map, it’s okay so far, it has to customize my map to change the type of the marker if one…
-
1
votes1
answer73
viewsGet problem using google’s Angular API
I have an angled application that should search the Google API a long and lat. I created this method below to configure my call HTTP.GET(): ObterGeolocalizacao(): Observable<any> { const cep =…
-
1
votes0
answers190
viewsReturn Location ID only with Latitude and Longitude - Google Maps Javascript API
Good evening, my question refers to the following case: I am working with the API of google maps V3, and I use services such as Places, Geocoder and Matrix Distance. However I have a huge problem to…
-
1
votes0
answers86
viewsGoogle maps inside the Ionic 3 segment?
I wonder if it is possible to add this map in an Ionic segment tab. I even managed to use the map perfectly as I want, but I would like to leave it only in a tab of the segment. When I put it on it…
-
1
votes1
answer388
viewsGoogle Maps - Set Zoom user
I have this code down with the Google Maps API using various places defined within Javascript. My problem is that I have more stores to add and they’re spread all over the state, so I want when the…
javascript google-maps google maps-javascript-apiasked 6 years, 3 months ago Jonathan Halberstadt 84 -
1
votes1
answer579
viewsChange Google Maps default pin color
Good morning guys, it’s my first question here, so if I do anything out of the norm I apologize in advance. Need to change the default color of the google maps pin to some hexadecimal value, would…
-
1
votes0
answers54
viewsSearch in google maps api returns different values with Curl or guzzle
I do the search in the google maps api with Curl or guzzle using php and returns me a different value than using the Postman or browser ex: $client = new Client(); $res = $client->request('GET',…
-
1
votes0
answers29
viewsProblems with localization request
Hello, good afternoon! I am having problems with the return of my location in my code (it is also not asking permission to the user) CODE OF ACTIVITY public class GPSActivity extends…
java android android-studio google-maps android-permissionasked 5 years, 12 months ago Gabriel Júnior de Souza 13