I was having some problem with Promise in JavaScript. What I am trying to do is I got a list of address, then for each address, I need to call the geocode API to get the lat lng, then I will proceed to plot the markers together with the heatmap. Here...
I am trying to amend the below code so that all other infoWindows are closed when one is clicked, so only one is open at once. All currently works great, besides the fact that the user can open up to 20 infoWindows. Thanks for your help.  function in...
I am new to geocode. I am getting the zip code from the user finding the lat and long and comparing it with a set of nearby locations who latitude and longitude are present in a JSON. So I have to loop through each event to compare. The geocode statu...
I'm using google.maps javascript API v3. I need to translate a set of civic addresses to markers on a google map with 'click' listeners. When the user clicks on the marker in the map, I want another window to open with a url related to th...
I have a page with a single form on it. The form contains a text box and a submit button.  When the form is submitted, either by clicking the button, or by pressing enter in the textbox, I want to do a lookup (in this case, geocoding a postcode using...
How, when geocoding, can you simply move an existing marker to the result of a new geocode result.  Let's take this example:   When the map loads, a marker appears When someone geocodes, the marker moves to the result The marker is draggable, so...
I am facing issue regarding geocoding, whenever I put  zip code in my text field its  only fetch me city state and country of USA. When I put any other zip code it is not working. I think there is issue regarding my script source . Can anybody help m...
I'm new to google maps and simply trying to get the hang of it. I want to be able to type in a   city or address, and then have the map load it and place a marker.  Right now my map loads fine initially, but when I type in a city or address nothi...
After my recent success (with help from here), I wanted to finish up my script. Google agreed that it was ok to put the geocoded map result on the second page so I want to strip out the map display from my geocoding script on the first page.  I have...
var geocoder, map, point, fmtAdd, marker;  function mapLoad() { geocoder = new google.maps.Geocoder(); var myOptions = {   zoom: 15,   mapTypeControl: false,    mapTypeId: google.maps.MapTypeId.ROADMAP } map = new google.maps.Map(document.getElementB...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.