Questions tagged as 'google-maps'

1
answer

How do I remove bookmarks from a map with the v3 API?

I am developing an application to design routes from data collected by an embedded GPS system. My server receives coordinates of different devices and I am writing this to my database. What helped me a lot was this question in StackOverflow...
asked by 05.02.2015 / 03:16
1
answer

Makers google maps javascript. What's wrong?

I'm creating a script to add the values of a vector on a map (positions 0 and 1 only), but nothing happens. in the console there are no errors. Script: function marcar(){ var marcacao = function(position){ // Gravar dados da...
asked by 30.11.2015 / 20:02
2
answers

Insert points on a map with an array that passes in the database

I'm creating a site where I need a map, and users fill out forms with latitude and longitude to create a point on that map. Everything is stored in the database but I needed the point name, latitude, and longitude to be passed in an array first....
asked by 20.01.2017 / 18:18
1
answer

Redirect user to Google Maps application

I'm developing a responsive website and using the Google Maps API to generate the company's location map. I would like when the user was accessing the site by a mobile device and clicking on the map or even a link, was redirected to the Googl...
asked by 26.11.2015 / 16:37
1
answer

How to add button in Maps?

I selected a Google Maps activity at the time the project was created, how do I add this button to the layout? <Button android:id="@+id/btn_draw_State" android:layout_width="40dp" android:layout_height="40dp"...
asked by 15.03.2015 / 20:36
1
answer

problem with google.maps.LatLngBounds behavior

I have and following code that pecorre my maker and arrow the bouns var bounds = new google.maps.LatLngBounds(); $.each(markers_temp, function (key, value) { markers[key] = value; bounds.extend(markers[key].position); }); markerClust...
asked by 02.12.2015 / 15:04
2
answers

How to trace routes to gmaps with shapes / polygons

I'll need to manipulate a map (preferably gmaps) containing the mesoregions of each state. I found a map of mesoregions created from gmaps , but it does not allow me interactions like creating routes, etc. How to merge the two features into...
asked by 15.02.2016 / 21:43
1
answer

Find a street from just about any city + state Google Maps API

I'm using the Google Map API, and I'm having a question: how can I search for a single street in a city? If that street is not found in a particular city, nothing happens. I have basically 3 fields: a select for the state, another for the cit...
asked by 05.11.2015 / 15:24
1
answer

Identify 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 google.maps.LatLng(-23.556043,...
asked by 22.10.2017 / 17:44
1
answer

Google API JSON Return

I make a request to a Google API (API Web Service), in which I get a JSON (Matrix) ... My problem is when trying to extract data that are Arrays inside Arrays ... Like field data "Photos", follows a piece of the return JSON. { "html_attribu...
asked by 13.02.2016 / 19:03