Most voted "google-maps-api-3" questions
None
Learn more…98 questions
Sort by count of
-
1
votes1
answer52
viewsHow do I pull strings from the URL and mount a specific array for the Google Maps API?
I’m trying to assemble a map of google maps with some pins, where the strings will be passed through the URL. However I need to pass an array like this to the API: var locations = [ ['First Place',…
-
0
votes1
answer127
viewsStyle editable square "balls"
When drawing an editable square on the map, those "dots" appear in the corners, which are the clickable areas to resize the square. function initMap() { var map = new…
-
0
votes0
answers1760
viewsHow to get the address, longitude and latitude by the zip code using the Google Maps Api
I am doing a project where I need the user to inform the zip code and automatically fill out the fields of a form such fields being: Street, Neighborhood,City,I am looking for a few days. Please…
-
0
votes1
answer98
viewsEnable Panorama (Street View) mode with Function Javascript
How to call Google Maps panorama mode, via API? Using JS, you can configure and display Google Maps in a customized way: //Setup Maps function initialize(){ var geoLatLong =…
-
0
votes1
answer549
viewsGoogle Maps Api v3 - Working with 2 Json files
I am creating a map, to present a lot of information, using google maps v3. I decided to work with 2 Json files, to fill the map. The first file contains the Latitude and Longitude information of…
-
0
votes0
answers328
viewsGoogle Maps API: Retrieve country or city name from a coordinate
I need to check to be a coordinate (latitude and longitude) belongs to a city or country. Someone knows a simple way to do this using the Google Maps API v3 (javascript)?
-
0
votes1
answer371
viewsSearchbox Google Maps JS API does not return search results
Good evening, I have a map obtained through the Google Maps Javascript API, and I’m inserting a searchBox. So far so good, the search box has been inserted and the autocomplete is working. The…
-
0
votes0
answers57
viewsUsing Circle as a mask with Google Maps Api V3
I have a circle, and multiple rectangles, which I paint with some colors, but, I just want to see the colors inside the circle, not outside it. Example I just want to see the colors of the inner…
javascript jquery google-maps front-end google-maps-api-3asked 7 years, 4 months ago Matheus Morett 1 -
0
votes0
answers112
viewsDuplicate bookmarks in Google Maps, even with cache disabled!
Hello, I’m working with google maps, everything was going ok, but when I started using the markers, the same are getting duplicated in some locations, this happens when I’m walking and stand…
-
0
votes1
answer129
viewsCommand to update the location of the following code in 2 seconds:
I’m developing an app and I need it to always update its location within a time frame. I found in this same site the following solution to take the location and turn into a marker as well as the…
android google-maps google-maps-api-3 markers google-location-apiasked 7 years, 1 month ago user93734 -
0
votes1
answer71
viewsHow to add onClick on the "Draw Shape" button of the Google Maps Api?
I would like to add the "onClick" event in the "Draw Shape" of the "Drawing Controller" from google maps api v3. I could not find in the documentation and there is no right click on the button to…
-
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
answer72
viewsHow do I clean data that I picked up in a database search using ajax?
How do I clean data that I picked up in a database search using ajax? Because when I do a second search it merges the searched data. var nuevos_marcadores = []; var marcadores_bd= []; var mapa =…
-
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
answer233
viewsHow to use the Google Maps API on a Windows Form in c#?
I’m having trouble with how to do that. My TCC has a tab where there are some addresses (Label), where, when clicking, I want the address to appear in Maps. I’ve thought about using Webbrowser, but…
-
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, 3 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
votes0
answers1121
viewsAuto Complete Addresses with Google Api
As I have no knowledge of javascript I need a little help.... What I need is to do an address autocomplete in several fields by a google Api how could I do this? This example below is what I needed,…
-
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
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
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
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
votes0
answers64
viewsInsert address in my website form and return the address position on the map automatically
Hello, I’m with a map, google maps, that marks positions of various places. In a general way I would like that, when entering the address in the form of my site, the location is marked on the map…
-
0
votes0
answers208
viewsProblem - Add Google Maps bookmarks from JSON
I have a problem that is the following: I have to make a call from a JSON that contains latitude and longitude of several locations and then add them to a Google Maps map as markers. I can upload…
-
0
votes1
answer236
viewsGoogle Maps Javascript API with Geocoding Service
I am now using other utilities of Google Maps Javascript API, I changed some parts of the code and he returned to have problems more or less in this same part where @Sergio helped me Link the…
-
0
votes1
answer434
viewsStart page with unchecked checkbox
Personal I am beginner in programming and I am trying to develop a web map that has layers, to be connected or disconnected by the user through the checkbox. I’m having a hard time getting the page…
-
0
votes1
answer50
viewsAccess JS function
How can I call a JS function inside a click event, and this function is inside another? Follows the code: function setPin(geocoder, resultsMap, address, i) { geocoder.geocode({ 'address': address },…
-
0
votes0
answers53
viewsReturn from Opoligono
I have Poligono locations saved in a BD. I return these locations to Javascript by a JSON like this:…
-
0
votes0
answers144
viewsGoogle Maps API filter 'title'
Good night, I create the markers on the map using the method: function addMarkersLabel() { var latlngbounds = new google.maps.LatLngBounds(); for (var i in points) { var marker = new…
-
0
votes0
answers150
viewsCentralize Google Maps between two Javascript routes
Good Afternoon, Folks! I’m facing problems to centralize using Google Maps API between 2 points, what happens follows in the images below. The application is in Ruby on Rails and we use the JS for…
javascript ruby-on-rails google-maps google-maps-api-3 maps-javascript-apiasked 7 years, 5 months ago João Henrique 33 -
0
votes2
answers1639
viewsHow do I add bookmarks to the google map when I click it? - Javascript
I would like to know how to add markers to the map by clicking on a point on google maps. Actually create/add the marker "manually" I already know, what I would really like is to trigger the…
-
0
votes1
answer213
viewsUsing database coordinates in google maps API
I’m trying to use in Google Maps, the data that is in a database sqlite, But I’m having trouble accessing the shuttle’s return. I used the same logic to call using the database number and it worked,…
-
0
votes1
answer73
viewsHow to set different icons on the map at the beginning and end of the route?
I’m developing a tracking system and I need you to consult the route the vehicle went through. I want the initial and final point to be identified with another icon according to the image. It also…
-
0
votes0
answers691
viewsHow to change the zoom on a particular location in google maps api v3?
I’m trying to get the map dee zoom into a certain markers location when they are created in Firebase. I’ve already tried to use the setZoom() setCenter() but what happens is this: I’d like him to go…
-
0
votes0
answers93
viewsGoogle Maps Api V3 Div Bug
My Google Maps, when it is in the zoom "global" and I use draggable, it disappears, as if it were some bug in the div. OVERVIEW, WITHOUT DRAGGABLE. DRAGGING THE MAP IN THE OVERVIEW. CSS CODE: html,…
-
0
votes1
answer49
viewsGoogle Distance Matrix, wait callback to continue loop
I’ve done a lot of research on the subject and I still can’t find a solution. When I run the code below, the loop proceeds before the API callback. In the callback the variable…
-
0
votes1
answer343
viewsDelphi JSON Encode with Tsslhttpcli (Overbyte ICS)
I am using the Tsslhttpcli component of Overbyte www.overbyte.I and I’m having problems with formatting my return json, with special characters, I’m consuming the google’s Geolocation api, see…
-
0
votes0
answers73
viewsError setting coordinates in google maps with Vue js
I’m having a problem setting the points (Makers) of the javascript api google maps. When I get the coordinates of the variable, and Seto in my map it restarts the component and erases the value of…
-
0
votes0
answers193
viewsView locations by searching for the address in the JSON file / Google Maps Api
Hello, I’m in need of doing a search in the json file, where the attributes that will return me the location would address(Street, Number, Neighborhood, City) and with this information in hand…
-
0
votes1
answer93
viewsTreat return of the maps api getdetails() function in angular/Ionic
I look for places close by with nearbySearch(), which returns an array of objects, from this return use the place_id to fetch the details getDetails(), that returns an object "place". Inside a loop…
-
0
votes1
answer46
viewsGooglemap does not redenrize the map in Ionic3 app on Android and iOS platforms
I developed an Ionic 3 application and implemented the Googlemaps API, when I run the command Ionic Cordova run browser the map works perfectly, but when I will perform the test on Android or Ios…
-
0
votes1
answer282
viewsSave user latitude and longitude in variables
Good afternoon, I am doing some projects using the Google Maps API and wanted to know how to save the values of latitude and longitude of the user in a variable each, which will be used later in…
-
0
votes0
answers27
viewsgetAutocompletePredictions is not working
Hello, I’m having problems with Getautocompletepredictions from google Api, I’m not able to know if I can fix the function or I have to update the api and redo it. java android google-maps-api-3
asked 3 years, 11 months ago Deletking 9