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
-
21
votes3
answers2168
viewsHow to Make Icone Ride in the Google Maps api
In this My script below it every 30 seconds causes the icone to change position, only the icone disappears and appears at the next point. What I wanted was for him to walk up to the next point as…
-
14
votes2
answers13123
viewsIdentify if set of coordinates is within a radius on Android
I want to delimit a radius from a central coordinate (the red marker in the figure) and, from a set of coordinates (the green markers), check that these are within the area bounded by this radius.…
-
13
votes2
answers345
viewsHow do I catch an error alert generated by the Google Maps API?
If, for some reason, an error occurs and Google disables access to the maps API, an alert of this kind will appear to the visitor: Google has disabled use of the Maps API for this application. The…
-
13
votes0
answers693
viewsView regions with Google Geochart
Is it possible to display the states grouped according to their regions and a tooltip according to the region rather than the state? For example: Northern Region -> Acre, Amapá, Amazonas, Pará,…
-
11
votes2
answers2940
viewsDraw path on the map
How do I draw a particular path using the Google Maps V2 API? What I want is something more or less like this: I inform the street A and the street B and get the drawing of the path between these…
-
9
votes1
answer15796
viewsMapping and getting mileage between two points
I’m developing a web application, and I’m getting two addresses for a text field, and I’m using to calculate the distance the Matrix API from Google Maps, until then beauty, but I also wanted to…
-
8
votes1
answer867
viewsHow to return to "waypoint_order" in the Google Directions API?
I’m developing a route mapping system using the Google Maps API. I have the points of origin and destination and between those points there are some points of interest. When plotting the route…
-
8
votes1
answer10416
viewsIs it possible to list all the neighborhoods of a city?
I am using the Google-Maps API, but I did not find anywhere in the documentation something related, I would like to list all the neighborhoods of a specific city, but the items with neighborhood…
google-mapsasked 9 years, 6 months ago Guilherme Nascimento 98,651 -
7
votes2
answers16310
viewsHow to find an address by latitude and longitude
How do I get the full address of a geolocation, ex: Lat. 37.386196601958 Lon. -121.964346639 (Street tal, Neighborhood tal, cep: tal)
-
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…
-
6
votes1
answer130
viewsIs it possible to add personal sites to the google maps v3 autocomplete?
I wanted to use the search of Google addresses but also wanted to introduce some personal areas. In the div which is generated by google I can add the fields I want, but I can’t create a function in…
-
6
votes1
answer3336
viewsSet county boundaries in Googlemaps
I’m trying to create thematic maps using the api google maps. Reading the documentation realized that for coloring regions I need set all Lat Long coordinates from the perimeter I want. Someone who…
-
6
votes2
answers34056
viewsConvert ZIP to latitude and longitude (Javascript)
I need a Javascript api that converts a typed zip code to latitude and longitude, someone knows one I can use for free?
-
6
votes1
answer2476
viewsDraw route over the street on the map
I have a feature that captures the positions of gps every 10 seconds. Every 30 seconds or if there’s a 20 degree change in the Bearing (Compare the last position with the current one) store to send…
-
5
votes4
answers4908
viewsWhat is the cost of using the Google Maps API to create routes?
I’m creating an app where I take the user’s current position and create a route to a certain point. A friend commented that this route service offered by Google is paid for. Someone could or would…
-
5
votes1
answer248
viewsOptimize the movement of the marker in Maps
Working with an application where I add one Marker on the map, as : markUser.draggable(true); But I want to optimize this method, to move the marker is necessary to hold for a while, I want with a…
-
5
votes1
answer3110
viewsUse Javascript/Google Maps database addresses
I have in a database the following columns: customer name, active or inactive, address and coordinates lat and lng. I need to develop a PHP application that will display green markers in Google Maps…
-
5
votes1
answer8798
viewsGoogle Maps API 3 - Search address by zip code + number (geocode)
I have made in an application the display of points on the map from an address typed in form. I use the API v.3, javascript, and get the address using geocoder.geocode(x,y). I have followed the…
google-mapsasked 9 years, 6 months ago Vinícius Bastos 313 -
5
votes1
answer148
viewsHow do I start Maps in a specific place?
How do I make the App, when opening Google Maps, zoom in on a specific place (for example, a specific coordinate)? The codes of the demo it shows ALL continents when initializing being necessary to…
-
5
votes1
answer1084
viewsHow to get the coordinates of a point at a certain distance from my location?
Speak guys, I’m making an app, and in an app Activity need from my location to "zoom" in the maps as the user slides a seekBar, as per the image. I’ve been thinking about using the Bounds feature on…
-
5
votes1
answer2673
viewsHow to show multiple bookmarks in Google Map API v3?
I cannot mark several points on the map. They could check if there is something wrong with the code? var map; var idInfoBoxAberto; var infoBox = []; var marker ; var geocoder; function initialize()…
-
5
votes1
answer157
views3D Visualization at Angular Google Maps
Preamble I use Angular Google Maps to indicate the location of several buildings in the campus from a university. My initialization is as follows: $scope.map = { control: {}, center: { latitude:…
-
5
votes2
answers1919
viewsGoogle Maps with multiple markers coming from the database
I have a code where he takes the longitude and latitude of where you are and puts it on a map. I need to make this map show all the latitudes and longitudes of the database with markers at each of…
-
5
votes1
answer1621
viewsPHP + Google API Geocode
Follow the method code: function GetGeoCode($address) { $geo= array(); $geocode = file_get_html('http://maps.google.com/maps/api/geocode/json?address=' . $address . '&sensor=false'); $output =…
-
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
answer1165
viewsLocate nearby restaurants registered in the database through google maps
I could use some help. I have a PHP system with a mysql database with several registered restaurants, with fields such as: id, name, address, longitude and latitude and I am creating an application…
-
5
votes1
answer1838
viewsCompare Coordinates
In my mysql I have a column containing positioning coordinates coming from a polygon, drawn in the google maps api, the question is how can I compare the coordinates I have within the column with…
-
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
votes1
answer3617
viewsHow to remove bookmarks from a map with the v3 API?
I’m developing an app to design routes from data collected by an embedded GPS system. My server receives coordinates from different equipment and I am recording this in my database. What has helped…
-
4
votes1
answer934
viewsHow to add button in Maps?
I selected a Google Maps Activity when creating the project, as I added this button in the layout? <Button android:id="@+id/btn_draw_State" android:layout_width="40dp"…
-
4
votes3
answers2029
viewsPass Google Maps API to JPG image
I have this code below: <iframe width='500' scrolling='no' height='200' frameborder='0' id='map' marginheight='0' marginwidth='0' src='https://maps.google.com/maps?saddr=São Paulo - SP,…
-
4
votes2
answers596
viewsHow to route Gmaps with shapes/polygons
I will need to manipulate a map ( preferably Gmaps ) containing the mesoregions of each state. I found a map of mesoregions created from Gmaps, but it doesn’t allow interactions like creating…
-
4
votes2
answers1768
viewsTag caption on google maps
I created a dynamic map that displays multiple markers as per the user-specified query. When I cling to the marker, the information balloon usually appears with the data I requested to appear. So…
-
4
votes2
answers1365
viewsSearch only street of any city + state Google Maps API
I’m using the Google Map API, and I’m having a question: how can I search for just one city street? If that street is not found in a particular city, nothing happens. I have basically 3 fields: a…
-
4
votes1
answer862
viewsRedirect user to Google Maps app
I’m developing a responsive website and using the Google Maps API to generate the company location map. I would like when the usurer was accessing the site by a mobile device and the same clicked on…
-
4
votes1
answer42
viewsGoogle javascript maps makers. What’s wrong?
I am creating a script to add the values of an array to a map (only positions 0 and 1), but nothing happens. in the console no errors. Script: function marcar(){ var marcacao = function(position){…
-
4
votes1
answer322
viewsproblem with the behavior of google.maps.Latlngbounds
I have and following code that checks my maker and arrow the Bouns var bounds = new google.maps.LatLngBounds(); $.each(markers_temp, function (key, value) { markers[key] = value;…
-
4
votes2
answers363
viewsAlternatives to Google Maps
I recently learned that for applications that track users (e.g., taxi apps), Google maps charges an annual license to use its API. I would like to know if there are other map API alternatives for…
-
4
votes1
answer1086
viewsJSON return from Google API
I make a request to a Google API (API Web Service), in which returns me a JSON (Matrix)... My problem is when trying to extract data that are Arrays within Arrays... As the data from the "Photos"…
-
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
votes2
answers812
viewsInsert points into a map with an array that passes through the database
I’m creating a site where I need a map, and users fill in forms with latitude and longitude to create a point on that same map. Everything is stored in the database but I needed the name of the…
-
4
votes1
answer253
viewsDoes AJAX requests work on Webview?
I got the following WebView: WebView myWebView = (WebView) findViewById(R.id.webview); myWebView.getSettings().setJavaScriptEnabled(true); myWebView.getSettings().setBuiltInZoomControls(true);…
-
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…
-
4
votes1
answer1191
viewsHow to change font properties in javascript
I need to change the font format and play up the image icon. Text displayed by: label: beach[7] for (var i = 0; i < locations.length; i++) { var beach = locations[i]; var myLatLng = new…
-
4
votes1
answer135
viewsTour Virtual 360 - Google Maps
I’ve done some map integrations with the Google Maps API for Javascript in some customers, I checked that the types of maps conform to the basic map documentation are those below: roadmap- Displays…
-
4
votes1
answer1360
viewsLatitude and longitude average by CEP
I need to find the starting point and end of CEP latitude/longitude. I need to analyze on average a latitude and longitude and this initial and final parameter would show whether this coordinate is…
-
3
votes1
answer1490
viewsQuestions about using dynamic maps
My sister sells Avon and I decided to do something very simple that are the records of her clients. So far so good, but I’d like to add the Google Maps map to her website. I found the Google API but…
-
3
votes1
answer5066
viewsSHA1 generation - Another way to do it?
All tutorials point to a single path, when generating the SHA1 or MD5 sequence to be used in Google Console, in order to get the Key API to be put in the manifest.xml file. I mean, they say go to…