Most voted "google-maps-api-3" questions
None
Learn more…98 questions
Sort by count of
-
7
votes0
answers163
viewsRecalculate route with Google Maps API
I’m making a tracking app. I wanted to send an alert in the Google Maps Javascript API when the user changes the route or the route is recalculated. I would like to know how to calculate the route…
-
5
votes1
answer319
viewsHow to search for markers already created on a map - Google Maps
I have a map where there are already loads of Markers. In this map I need to fetch all markers, and show a list with markers visible to the user, to make a small list of data similar to this…
-
5
votes1
answer722
viewsGoogle Maps, doubt about overlapping radius of markers
I implemented the Google Maps v3 API in Javascript in a reservation system, in the system I used PHP to connect to the Mysql database to return the units of a franchisor that already exist and are…
-
5
votes1
answer14089
viewsRemove Google Maps bus stops/locations
I have this following code: <script> function init() { var myLatlng = new google.maps.LatLng(34.04, -118.24); var myOptions = { zoom: 13, center: myLatlng, mapTypeId:…
-
5
votes1
answer109
viewsIdentify the name of the streets contained in a polygon
I have the following polygon below: function initialize() { var bounds = new google.maps.LatLngBounds(); var i; var polygonCoords = [ new google.maps.LatLng(-23.554548, -46.607911), new…
-
4
votes2
answers2528
viewsTo undo the mouse scroll (zoom) action on a google map Iframe
How to undo the mouse scroll (zoom) action on google map in this Iframe? Is it possible to do this directly in this code or do I have to use Java Script? If you have to use js, how do I get this…
-
4
votes1
answer802
viewsHow to center map in the middle of polygon?
I have a polygon formed, at first, with 3 edges, basically created using 3 locations: Maiami, Puerto Rico and Bermuda. I took the example in the documentation that shows how to create a simple…
-
3
votes1
answer2238
viewsHow to get the GPS location of who access the website?
Hello I need to develop a website that creates routes, I’m using Google API’s Javascript. I need to get the user’s location, but the same should be the GPS if the user is accessing through a mobile…
-
3
votes1
answer459
viewsValidate google key api
I am making an application, where I will have to validate a google maps API key. The problem is that I do not know what standards it follows: AIzaSyA-OlPHUh2W7LUZXVjQjjxQ8fdCWdAASmc Here it is…
-
3
votes1
answer750
viewsGoogle Maps API Return markers with JSON as you move the map or zoom
points.php returns a Json with the map markers [ { "Id": 1, "Latitude": -19.212355602107472, "Longitude": -44.20234468749999, "Descricao": "Conteúdo do InfoBox 1" }, { "Id": 2, "Latitude":…
-
3
votes1
answer868
viewsGoogle maps map turns gray, but when I change the browser zoom back, what should I do?
So guys, I have 2 parts of the system that I work on, where I use a map to show the address of the property or person. Except that in immovable works perfectly, but in the person (q has the same…
-
3
votes2
answers2116
viewsReal-time Google Maps Update
I’m using the Google map to show objects in real time. I did a function in Javascript which is updated every 3 seconds and in this it updates the marked ones in the Google map. Something like:…
-
3
votes1
answer133
viewsHow to distribute points evenly within a polygon?
Using the Google Maps API, I’m creating some random dots (custom markers) inside a polygon. I created, at first, a function in which I traverse a loop of 100 positions and randomly distribute the…
-
2
votes2
answers572
viewsRemove previous route from Google Maps
In an application with multiple locations, I have a call button for a route between two points using the function setDirection, as inserted below. I would like a support to be able to remove a…
-
2
votes1
answer97
viewsGoogle Directions Service doesn’t account for requests made with my key api
I’m using the same javascript reference both to use the Directions service and the maps api: <script type="text/javascript"…
-
2
votes1
answer501
viewsLocation selection depending on browser - Google Maps
I recently started using the Google Maps API, so I know very little about. When entering the site of my project the browser asks if it can obtain the user’s location. Only I realized that the…
-
2
votes1
answer430
viewsGoogle Maps API (server-side) limits
I am designing a system in PHP, which will access the Google Maps Geocoding API via URL (Curl). This system will be sold to different clients. All sold systems will be on the same server. Each…
-
2
votes1
answer352
viewsGooglemapsapi - create markers filter
I’m making a dynamic map, using the Google Maps API that uses markers to signal a list of predefined locations, such as: self.locations = [{ name: 'Foxtrot', lat: 38.713905, lng: -9.1518868, type:…
-
2
votes0
answers465
viewsDetermine neighborhood from Latitude and Longitude
I’m using the Google Maps API V3 more specifically angular-google-maps. I need to display the exact point of the user at the moment that opens the map and also display all the people who may be in…
-
2
votes1
answer676
viewsCompare if there is a point on a given route
I have a page that calculates the distance between the Point A and the Point B, but I need to compute tolls on this route. I think of having a bank with the coordinates (lat and lng) of the toll and…
-
2
votes1
answer92
viewsI have a geolocation code, but Chrome won’t give me permission to execute it
I would like to know, if I have to give some kind of permission, for the code to work in Chrome, because in mozila it can give me the location. Follow the code below` function…
-
2
votes1
answer416
viewsHow does Maps draw polygon automatically when typing the neighborhood name?
How Google Maps draws the polygon automatically when we type in a neighborhood’s name? Below I did a search on maps around the neighborhood Colinas da Anhanguera, Santana de Parnaíba - SP, the same…
-
1
votes3
answers15395
viewsGoogle MAPS API location from the address
I have an address saved in the database, divided correctly and accurately from this address generate the latitude and longitude and besides this plot on the map a marked in the registered area.…
javascript html5 apache-cordova google-maps google-maps-api-3asked 9 years, 2 months ago Renan Rodrigues 3,709 -
1
votes1
answer102
viewsUse of various instances of Google Maps API
I need to draw a map several times and I have a function that loads the map and is the first to be invoked when opening the page. Follows the body of the function: map = new…
-
1
votes0
answers149
viewsPhonegap plot Route
How do I plot a route through the Phonegap and follow the route so that at the end it tells me what my route and how many km, mts, etc I miss?
-
1
votes1
answer1030
viewsGoogle Maps API: Swap default marker image
Hello, I’m testing the Google Maps API on my android app, and I learned that there is a way to change the icon of the default marker, however, when I added my PNG image to the project, the icon got…
-
1
votes2
answers527
viewsPrecision problem in Geolocation maps V3
I’m creating a web localization app, using geolocation of google maps v3. The problem is that when my functions work, they can’t get my location CORRETA NO Chrome do COMPUTADOR, but when I use the…
-
1
votes0
answers94
viewsGoogle Static maps no url limit
I wanted to create an image of several routes in google maps, I already used the encodepath to reduce the size of the url, I also tried to reduce the definition of coordinate points among other…
-
1
votes0
answers290
viewsGoogle Maps API that brings nearby sites
Know some Google Maps API that brings the locations close to the location informed, such as commerce, leisure, etc? From now on, thank you.
-
1
votes2
answers303
viewsHow to remove Markers one by one(javascript)
I have the following code to add my markers: function setParking(map) { var pointA = { lat: -16.113700, lng: -45.825545 }; var pointB = { lat: -15.284216, lng: -44.658747 }; var poinC = { lat:…
-
1
votes1
answer832
viewsThe object does not support the property or method in util.js of the Google api
I have an application in Delphi XE7 that loads a google map to generate route in Twebbrowser, but when generating the route it is shown only that it generates error when will put the path described…
-
1
votes1
answer615
viewsSearch by Range of coverage
I am programming a site and in the advanced search has the option of the user to do a search to find places close to the city he is. I have all the states and cities registered in the bank. But I…
-
1
votes1
answer1641
viewsTake Geolocation Coordinates (Reactjs)
Hello, I am developing a simple application that takes the geographical coordinates of the google maps api. It’s working, but I’m not getting the values that are in the other function. Actually I…
-
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
votes1
answer284
viewsConsuming API with Nodejs
I am developing as study projects an API that consumes data from the Google API. I want my API that receives various data from the Google API to provide only the City and State data for the…
-
1
votes0
answers93
viewsJavascript API Requests
I am using the Javascript API in my Cloud. I have several different doors with the application of each client, in the end I have something more or less like this: clientea.rafaelcloud.com.br and…
-
1
votes2
answers290
viewsScript does not show map
I’m wearing this script: https://github.com/ChadKillingsworth/geolocation-marker/releases/tag/v2.0.4 The error in the console is this: "Google Maps API error: Missingkeymaperror…
-
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
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
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
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
votes0
answers63
viewsAdd wordpress image in Google Maps infowindow
Hello, I am developing a platform in wordpress and sending the establishment data to an xml, containing the main data, with this xml, send the data to the google map that shows me all locations. But…
-
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
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
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
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
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
answers59
viewsGoogle Maps API - Dynamically modify bookmarks
I’m developing a map with multiple markers, I need that when the customer clicks a marker the marker icon changes to another icon, I can even do that, but the problem is that I can’t get the icon…
google-maps-api-3asked 5 years, 9 months ago Paulo Henrique N matos 51 -
1
votes3
answers59
viewsHow to Remove Polylines from google maps?
Good morning guys, I need the code below besides drawing the lines on the map, remove the lines drawn earlier, but I’m not getting, someone could give me a help? Follow image with result of current…