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
answers102
viewsHow to search using Google Maps Geocode
I would like to use the google api to click on the map and get the latitude and longitude <!DOCTYPE html> <html> <head> <title>Geocoding Service</title> <meta…
-
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…
-
1
votes0
answers114
viewsSelect Google Maps Location, similar Uber/99
Talk people, all good? I’m making an app where I need to select where the user is, very similar to Uber and 99. However I do not want to rely only on Geolocation, I wanted to set directly on the…
-
1
votes1
answer66
viewsGoogle Map gave error!
Hello, I am trying to add a map to my site using the API key but it appears like this: I followed the tutorial to avoid cheating me but it appears as a mistake on my page... someone can help me?…
-
1
votes2
answers2987
views"For Development purposes only" error with google maps
Hello i solved an error with google maps but soon after this error appeared here: Can someone tell me how I can solve this problem and put the normal map? Code: #map { height: 100%; width: 100%; }…
-
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',…
-
1
votes0
answers107
viewsHow to make a route with more than 25 points in the Google Maps API?
I’m developing an application that to make a feature, I need to book bus stops and trace the route to the bus. I have all stops in an array, each with its latitude and longitude. With the use of the…
-
1
votes1
answer524
viewsIntegrating Google Maps with React JS
Personal talk, I’m having trouble integrating Google maps into React. I saw many people with this doubt, although the documentation of the api is quite complete, most of the examples I saw are…
-
0
votes1
answer201
viewsVisual to zoom in/out using Google Maps API v3
I’m using the Google Maps v3 API but one of the effects I see on the Google page I’m unable to reproduce. This effect is the Visual help to zoom in/out, when you zoom in to the Google Maps page 4…
-
0
votes2
answers94
viewsGCM interacting with google maps
Guys I have a function that server to update my map in the application, ie change the position icons and such, however I would like to do the following: When I received a message from my GCM, for…
-
0
votes1
answer353
viewsGoogle Maps API - window always opens the last
Talk personal, all right? I’m working on Google maps, picking up customers in my bank and putting the Markers on the map according to their latitude and longitude, when you click on the Mark opens a…
-
0
votes1
answer513
viewsLink from a menu to a bookmark in Google Maps
I am using the Google Maps API to show the location of some of the company’s stores. I used this tutorial to get. So far so good. But the problem is that I have a menu with the map locations and I…
-
0
votes2
answers84
viewsDoubt Web Layout
Guys, I need to make a layout like this prototype attached in the post, where are photos associated with a location sent by a mobile device, my doubt is as follows, which tools should I use for…
-
0
votes3
answers1299
viewsSimple multiplication in Javascript with decimal
As seen in the topic Simple multiplication in Javascript, I was able to multiply by X30 the value Sponse.Rows[0]. Elements[0].distance.text in the Google Maps v3 script. The Final Code looks like…
-
0
votes2
answers905
viewsGoogle Maps with file_get_contents error. What can it be?
I am implementing Google Maps on a real estate site and I have a problem to solve: the request gives error of file_get_contents($url) ... Right in the middle of the code has the result of the…
-
0
votes1
answer320
viewsRepeating infowindow on bookmarks
I am working with the Google Map API and after adding the infowindow on the markers, I noticed that they are repeating, but I could not solve. Can someone take a look at the code below and tell me…
-
0
votes0
answers24
viewsSlow map by pressing the back button
In an application that the initial fragment is Supportmapfragment, when I change Fragment and end up pressing the back button it returns to the fragment of the map, it is very slow the movement of…
-
0
votes1
answer639
viewsHow to remove default options from Google Maps v2 Android
Guys I have a question, I am creating an application that uses Google Maps V2, has how to REMOVE these default options from the Map ? This happens when I click on the marker and these two default…
-
0
votes1
answer77
viewsHow to change the size of Google Map View for iOS
I’m using the Google Map SDK for iOS in a project, but when using the service by default it covers the entire screen. But I need space to add some buttons on the screen. How can I resize the map…
-
0
votes1
answer49
viewsHow to pass map data to be displayed by another class?
I’m using Google’s Maps API for iOS. I was doing some testing and I set up a UIView as a subclass of GMSMapView and kept a pointer for her in ViewController, getting: #import <UIKit/UIKit.h>…
-
0
votes2
answers321
viewsBookmark in Google Maps
I have a site where the user can create bookmarks on the map and assign a category to those bookmarks. I would like each marker in each category to have a different image. someone knows how I do it?…
-
0
votes0
answers73
viewsGoogle Map API in desktop application
I have a project in which I need to add the functions of google map in a desktop application. My idea is to do this through a component (Widget) Webview. However I know absolutely nothing of how the…
-
0
votes0
answers265
viewshow to optimize a request made in ajax using jquery in a json file
I have this question: how to optimize my ajax requests in jquery? I have an application that uses the google maps api, and in this to show the bookmarks on the screen I use jquery to perform the…
-
0
votes1
answer260
viewsSend Google maps address of a messaging app to your mobile?
I am creating an app in Android Studio, and I have a problem. The app contains Google Maps where it shows us our location, but what I’d really like to do is, by pressing a button, our location is…
-
0
votes0
answers346
viewsHow to click on a map an address from a form?
How to show on the map the address of one of a form ? <table> <tr> <td> @Html.Label("Cep: ") <br /> @Html.TextBoxFor(e => e.CEP, new { maxlength = "9", id = "Cep", name =…
-
0
votes1
answer81
viewsAPI Distancematrix - Get travel time information
I researched a lot and ended up discovering that to discover the duration of travel between two points considering the traffic it is necessary to pay. Beauty! So how do I get the duration without…
-
0
votes1
answer534
viewsHow to get markers close to the user’s location?
Good night Anyone who knows the Tinder app knows that a map is not shown, but knows that it takes the user’s location and uses it to look for people who are close in a certain radius. I would like…
-
0
votes1
answer128
viewsBox when mouse over the municipality
I am using the Googlemaps3 api and after rendering the map I would like that when you hover over some area (which has already been programmed) the code of the area is shown. What I’ve done so far…
-
0
votes1
answer189
viewsRemove all Infowindow in google maps
How do I remove all info.window in google maps. Most examples give the following way: var infowindow = null; incia se clicar if(infowindow){ infowindow.close(); } My code is like this:…
-
0
votes2
answers130
viewsGoogle Maps Key
I have a function that carries the API of Google Maps, but every time I try to change the url, whether to use my key, or even to add to library Places to be able to use the search services I have…
-
0
votes0
answers2465
viewsIdentify where I am and plot routes (Google Maps V3 with JS)
I am trying to create a script in JS and HTML5. Need to solve the following problem: The user opens the page and the map appears in a predefined place. Then he clicks on an input and enters its…
-
0
votes1
answer350
viewsRecover Only Geocode City Name Maps PHP
I am using, in PHP this code to recover the address, is returning me normally, what I need is to recover only the name of the city, have as? $lat =$_POST['latitude']; $long =$_POST['longitude'];…
-
0
votes2
answers96
viewsGoogle Maps API
Does anyone know if it is possible to remove automatic google tags from inside the map? These markers already carry along with the map, I wonder if it is possible to remove. Thank you.…
google-mapsasked 8 years, 10 months ago Kelvin Stang Oenning 380 -
0
votes1
answer475
viewsHow to add the address to the infowindow Gmaps v3?
I have a collection of dots where I see all of them on the map! would like to add an infowindow "balloon" to each of them informing the full address of each coordinate. function initialize() { var…
-
0
votes1
answer183
viewsConflict called Google Maps
Well, on a page I call 3 modals of Bootstrap, each modal has a div with map inside, each map being clicked is created a Marker, and passed its address to a specific input text, each call with map…
-
0
votes1
answer748
viewsApi Maps Offline
Good evening, everybody, okay? I wonder if it would have as my application to open the map when the user is without internet ?
-
0
votes0
answers37
viewsCocoapods error in such file or directory: 'Opengles'
I want to add the Googlemaps library to my project. So I installed cocoapds and followed all the steps that are on the google site siteGoogle. I’ve wandered around forums and tried several of the…
-
0
votes1
answer1277
viewsCalculate the nearest point and plot route on Google maps
Eai, well, I’ll try to be brief and clear at the same time, I’d like to know how I can calculate which point is closest to my location, I have markers all over the map ja, and I have my location,…
-
0
votes1
answer592
viewsCustomize the Google Maps infowindow
You can customize the marker infowindow in the Google Maps API by placing buttons and more than one line of information?
-
0
votes1
answer1323
viewsCalculate Distance between markers
Eai, well, I will try to be brief and clear, I would like to know how I can calculate the distance between markers, the markers are all already put on the map, but I need the code to calculate which…
-
0
votes0
answers77
viewsProcedure to return route calculation between coordinates via the Googlemaps API
I need to create all the business rules of a system within the database and allow other applications for the purpose of being only a graphical user interface to freely utilize all the functions…
-
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
answer38
viewsGet path using the user’s location to the predefined marker (javascript google-mapsv3)
I am using the answer that is in the question of the following link: question And I don’t understand what I need to put on the line below where the comment is: map = new google.maps.Map( /*creates…
-
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
votes1
answer96
viewsProblem loading Maps v2
Good morning! I have the following code to load the map in my application: if (mMap == null){ mMap = ((SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.map)).getMap(); if(null…
android google-maps google-maps-android-api-2asked 9 years, 1 month ago Thiago Luiz Domacoski 7,310 -
0
votes1
answer1170
viewsAutomatically center Google Map between two markers
I’m having trouble trying to center the map between two markers. I need to do this when I change the DirectionsRenderer from one map to another. If the route has no changes that can be dragged then…
-
0
votes1
answer500
viewsDisplay coordinates on map with Gmap
I want to get coordinates from the database and show them on the map along with the marker, but I can’t. I think something is missing from the view. It should show only the last location data stored…
-
0
votes1
answer648
viewsTrace destination from address or zip code using Google Maps API
Does anyone know how to make a map like this http://yuejermano.com/#location/ceremony where the person enters the address or the zip code and he traces the route to the intended destination? I…
-
0
votes2
answers212
viewsError generating apk with google play services
I have an app that uses google maps, which works perfectly in debug mode. But when I signed apk, and install on the device the maps do not work. What can be?
-
0
votes0
answers421
viewsPoligonos Google Maps
I am using the google API but need a way to make the polygons of "such" automatic state without having to do it manually. 'Cause it’s several states I’ll need to bypass, there’s some way to do this…