Does anyone have any examples or source for letting users draw curved maps from point a to point b?  Thanks, Alex...
Is there a way to limit panning out of the world's edge? On this picture, brown is the world, grey is emptiness. I want to make it impossible to pan like this....
I can't find any documentation or examples for setting a markers colour in version 3.0 API. you could do this with the 2.5, do any one know if marker colour is supported anymore   function addMarkersToMap(map) {   var parisMarker = new H.map.Mark...
Using Google Maps API to add an infoWindow to each marker. Markers come from an array.  Although, infoWindow only shows up for the first marker, not the others. Why? Thanks.  function set_markers(array) {     var mapOptions = {         zoom: 13     }...
I am using Leaflet.js for a map. Now I want to remove added layers from the map. By clicking the input #button all checked checkboxes shall be changed to unchecked and all corresponding layers shall be removed from the map.  To remove a layer from th...
Is there a service or API I can ping, and pass in the lat/long as parameters, where it returns the zip code that lat/long pair is within? This is US-only, so I don't have to worry about international codes, etc.  I feel like Google Maps' reve...
I'm trying to get the pixel coordinates of an image overlay on click (right click/contextmenu) using the leaflet map library. Essentially when a user clicks on the image, I need to find the x,y or width,height of where the user clicked on the ima...
By default, when leafletJS is loading a map, the background tiles are all grey. I'd like to change that color to be black (or any other arbitrary color). How can I go about doing this?...
I'm creating a new website for new law office.  I followed Google API for embedding maps. I added their address, but would like to add the name of the firm to the map... You can see in the map, it doesn't capture the name:  <iframe width=&...
I'm saving the Zoom and Location of the Google Map API setting in cookies as the user adjusts his map. When they come back the map is at the same place. The function works most of the time:     var h = JSON.stringify(map.getCenter(), null, 2);...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.