Good Afternoon, Guys!
I'm having trouble centralizing using Google Maps API between 2 points, which happens below in the screenshots below.
The application is in Ruby on Rails and we use JS for some of the maps, when I click to open the mo...
I have localizations of a polygon saved in a DB. Return these locations to JavaScript by a JSON like this:
[{"lat":"-21.9838014173847","lng":"-49.409637451171875"},{"lat":"-20.3034175184893","lng":"-45.410614013671875"},{"lat":"-23.7250117...
How can I call a JS function within a click event, and is this function inside another?
Follow the code:
function setPin(geocoder, resultsMap, address, i) {
geocoder.geocode({
'address': address
}, function(results,...
Good evening,
I create bookmarks on the map using the method:
function addMarkersLabel() {
var latlngbounds = new google.maps.LatLngBounds();
for (var i in points) {
var marker = new MarkerWithLabel({...
I'm new to programming and I'm trying to develop a web map that has layers, to be turned on or off by the user through checkboxes.
I'm having a hard time getting the page loaded with the checkboxes unchecked, and therefore with the layers off...
Good night, I have a map obtained through the Google Maps JavaScript API, and I'm doing the insertion of a searchBox. So far so good, the search box has been inserted and the autocomplete is working.
The problem is that when the field is "sent",...
I'm having an issue that is as follows: I have to make a call from a JSON that contains latitude and longitude from multiple locations and then add them to a Maps map as bookmarks. I can load both the map and JSON, but the markers are not displa...
I need to check to be a coordinate (latitude and longitude) that belongs to a city or country.
Does anyone know a simple way to do this using Google Maps API v3 (javascript)?
Hello, I would like to know if anyone has any idea how to return a GLOBAL event from anything done on the map to be interpreted with CASE! Here's how I use them today.
google.maps.event.addListener (map, " click ", function (event) {
In...
Well, I am a beginner in the area and would like help from the most experienced. I'm starting a project that aims to use Google Maps to present a location based on a search box query by the user. I have a table called clients in Mysql and would...