google maps api v3: add point on polyline beetwen two existing points on click polyline event
How can I add point on polyline beetwen two existing points on click polyline event? Thank you! ...
How can I add point on polyline beetwen two existing points on click polyline event? Thank you! ...
Hello, Having an odd problem printing an API-generated (V3) Google Map from Internet Explorer 7 & 8. I generate my map with JavaScript similar to the following: <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> <script type="text/javascript"> function initialize() { var centroi...
Hello, have created a map that I'm trying to have function similar to 'My Maps'. I have two dropdownlists on the right side, based on the selection in those ddl's, you can add a custom marker / icon. You select a marker type, then click the '+' button in the top right corner of the map, and then click where you want the marker added. My ...
For some reason the getBounds() function for Google Maps v3 seems to be extending much further than what the map is actually showing. Correct me if I'm wrong, but shouldn't it return the NE (top right corner) and SW (bottom left corner) latitude and longitude coordinates for the very corners of what's being shown in the current view? I...
edit: this is now solved, see my answer below The situation: User clicks on a map-image google maps API V3 is loaded via ajax the map is shown in a dialog window / lightbox please see glitch here What happens: The map displays and all functionality works however there's a glitch with the top-left 'square' of the map. I'm stuck...
var markersArray = new Array(); function clearOverlays(){ if(markersArray){ for (i in markersArray) { markersArray[i].setMap(null); } } } this is pretty much copied off the google maps v3 documentation... but it doesn't work. :/ this is where the function is implemented: function TCGetLatLo...
Hi, Bit stuck on this one. I am retrieving a list of geo coords via JSON and popping them onto a google map. All is working well except in the instance when I have two or more markers on the exact same spot. The API only displays 1 marker - the top one. This is fair enough I suppose but would like to find a way to display them all s...
I have been playing around with Google maps API v3 because v2 is depricated and no longer works for my site Instead of displaying every pointer in the xml file on the map, i want to display the current marker that would be relevant to that page. I have an events page so i want to show info about the event and display a map just for tha...
Hi, I have a Spring MVC 3 app (that uses JSP) running on Google App Engine and saving information on the Datastore. I'm using the Google Maps API v3 to project some of the data on maps by drawing shapes, colouring etc. My database will potentionally hold millions of entries. I was wondering what the best way is to keep pulling data fro...
Hello, I'm trying to include a GoogleMap v3 (everything was okay with v2) in my HTML pages generated with XLS Transformations. My JS code comes from this page. Basically, the map works correctly when everything is in plain HTML, as per the example, however when I try to include it in the XSL stylesheet, Firefox (v3.6) complains and doe...
May I know how to add numbering label to google map marker using google map api? Just add label, not trying to change the icon. Thank you. ...
I'm in a bit of a rut. I need to figure out how to convert all this code into jquery. Since I don't know too much jquery. http://www.lastyearsloss.com/store/javascript/map.js I'm not sure which lines I can use or which ones change fully. The main problem is where I'm importing the data from xml. If anyone can point me in the right direct...
On Google Maps API V3, fitBounds it's not accurate, most of the time the selected zoom level is little too lower. how to have a fitBounds that will fullfill the bounds in the viewport at the maximal zoomlevel ? ...
hi how to parse json response that we get from google map api and how can we show the particular location on map. suppose i have entered one location name(i.e NewYork) and for that i have received json response,how can i show it on the map. please provide help as i have never used google map api and json also. ...
Title pretty much says it all. I want to use streeview for an area not on google maps, so could I add my own roads and then add my own panoramic images for streetview? It's also for personal use, obviously I'm not asking to modify googles actual map. I'd be happy to use an alternative to streeview too, as long as it does the same thin...
I have a class based on google.maps.OverlayView which implements a custom replacement for a standard InfoWindow. You can see my custom overlays in action at http://www.qype.co.uk/uki/explore/category/883-eating-and-drinking I need to be able to pan a map when the overlay doesn't fit completely in the visible area (standard behaviour f...
I try to find how to get marker inside direction that user point in Google map Suppose that User start at point A to point B and inside my Database has marker of Shopping store how could we know that Shopping store is in direction from A to B or not if yes then show marker of store on the map Any suggestion to do that, Thank you ...
I want my InfoWindows in my Google Map implementation to have a black background color. "backgroundColor" is not an available option for InfoWindows. See here. I put a div tag in the content option with a black background and white text. However, that still renders with a white border. Does anyone know a way to get a completely black b...
I'm using the v3 maps JS API google.maps.getPanoramaByLocation to create a link to streetview with lat/lng which looks like: http://maps.google.com/?cbll=52.099659,0.140299&cbp=12,0,,,&layer=c, but I was wondering if anyone knew how to get rid of the large left-hand sidebar that appears in street view by default? I've checked map...
how i can get latitude from a city name like Florida how i can get the latitude and longitude from sending a json to google map api. any way to do this. i need a sollution in javascript or jquery through the json. ...