Questions tagged as 'google-maps'

2
answers

Loading over the map

I have the following code drawn 2 polygons on the map. See: function initialize() { // Define the LatLng coordinates for the polygon's path. var bounds = new google.maps.LatLngBounds(); var i; var polygonCoords = [ new...
asked by 04.08.2017 / 15:18
1
answer

How to display an image in the marker information window?

When you click on a marker created with the Google Maps API, you can add an info window, which is what the code below does: google.maps.event.addListener(marker, 'click', (function(marker, i) { return function() { infowindow.s...
asked by 27.04.2017 / 16:34
1
answer

Compare if there is a point on a given route

I have a page that calculates the distance between Point A and Point B , but I need to compute tolls on this route. I think of having a bank with the toll (lat and lng) coordinates and check if it exists on the route, but I do not know how...
asked by 29.03.2017 / 16:46
1
answer

Marker is duplicating when updating User Location

Implemented the Uusuario Localization activity every 15 seconds. Variables are global class: LatitudeUsers UserLength marker Within the onLocationChanged method I set the two location variables, and call the addMarqueries. priv...
asked by 09.08.2016 / 15:24
1
answer

What is considered an element in Google Matrix Distance

I'm developing software that needs to get information through the Google Matrix Distance API. The problem is that this API has order limits at 2500 elements per day. My doubt is what is an element? Is an API call considered an element? Regard...
asked by 02.06.2016 / 11:41
1
answer

Error injecting source script from googlemaps via method

I would like geocomplete not to get this error, but to work, it depends on the API google maps. I removed the following script from the header and passed via method: <script id="id_script" src="https://maps.googleapis.com/maps/api/js?c...
asked by 21.10.2016 / 16:46
1
answer

I would like to find the distance in km between two markers how can I do?

I have two markers in this code and I want to find the distance in kilometers between them. private void setUpMap() { Database_Congregacao database_congregacao = new Database_Congregacao(this); int tamanho = 0; int size = 0; ta...
asked by 16.05.2015 / 00:07
2
answers

Google Maps API and Google Indoor Maps

Good afternoon. I work with Network Design and Structured Cabling and developed an application for the mapping of optical fiber with the Google Maps API, which you can see at the following URL: link In brainstorming with the team, everyo...
asked by 13.04.2015 / 22:02
1
answer

Creating Points in Google Maps with PHP Data

What I need I need to be able to receive locations from within PHP and tag them as points on Google Maps. What I did I created a part in Ajax to call the script in PHP that does the query and returns the json. He receives the data. He i...
asked by 03.12.2014 / 19:49
1
answer

Refresh in database

This is the following, I have a map where are generated several points, thus mapping a route ... But now I need to edit these points by the map itself, like I have to do in a way that I move the markers and automatically record in the database...
asked by 09.07.2014 / 15:31