Questions tagged as 'google-maps-api-3'

1
answer

How to set different icons on the map at the beginning and end of the route?

I'm developing tracking system and I need it when checking the route where the vehicle went. I want start and end point to be identified with another icon as image. Here's also PHP code: while($RS= mysql_fetch_array($RSS)){ $x = $x + 1...
asked by 29.08.2017 / 05:06
1
answer

Route in Google Maps using coordinates

I have this code to create routes using Google Maps var map; var directionsDisplay; // Instanciaremos ele mais tarde, que será o nosso google.maps.DirectionsRenderer var directionsService = new google.maps.DirectionsService(); fun...
asked by 10.01.2017 / 14:00
1
answer

Stylize editable square "balls"

When you draw an editable square on the map, those "polka dots" appear in the corners, which are the clickable areas to resize the square. function initMap() { var map = new google.maps.Map(document.getElementById('map'), {...
asked by 07.10.2015 / 16:56
1
answer

Change default Google map pin color

Good morning, this is my first question here, so if I do something out of the standard I apologize in advance. I need to change the default color of the google maps pin to some hexadecimal value, would it be possible? I already anticipate tha...
asked by 14.12.2018 / 12:48
0
answers

How to display balloons in all brands in google maps without having to click?

I have the following code to display information for a specific bookmark: var bindInfoWindow = function (marker, map, infowindow, htmlContent) { google.maps.event.addListener(marker, 'click', function () { infowindo...
asked by 09.11.2018 / 01:22
0
answers

Any examples of how to implement a map in a fragment?

I can not add a map in a fragment, does anyone please have some example of how to implement it in an app with android 5.0 or higher? Map tab: has a map with some markers. Projects tab has a projects listview Button + add a project...
asked by 25.10.2018 / 17:25
0
answers

Google Maps API is not working in my application

Good night, I have a project of a system that I'm developing, where I have a Google Maps API that brings the list of addresses queried by an autocomplete to the system user. This should happen in a modal, but this modal has some dynamic fields t...
asked by 29.09.2018 / 01:34
1
answer

How to tell if a given 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 given coordinate is within the area. So far I have not found how I do, I looked in the Google Maps API documentation and found...
asked by 31.08.2018 / 17:59
0
answers

[Android Studio] [Google Maps API] Know how many Markers are close to my location

I want to know how many Markers (those markers I created and put in a certain place) have close to my location (GPS) at a certain radius / distance from my location.     
asked by 02.09.2018 / 22:29
0
answers

Error setting coordinates in google maps with vue js

I have a problem with setting the google maps api javascript points. At the time I get the coordinates of the variable, and hedge on my map it restarts the component and erases the value of the variable. how to do it so that it does not restart...
asked by 31.07.2018 / 19:43