-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hey, I'm trying to work out how to use this to get the distance from the successful directions:
http://code.google.com/apis/maps/documentation/v3/reference.html#DirectionsDistance
This is the code I have so far:
var googleMaps = {
// HTML Nodes
fromInput: google_maps_from,
toInput: google_maps_to…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
On my site here, the SteetView control, aka "Pegman", works great under Firefox. Under IE (7 in this case, but tested on 8 as well - same result) it breaks the display of the pegman control.
Here's my map code:
var directionsDisplay;
var directionsService = new google.maps.DirectionsService();
var…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi, I'd like to know how to put multiple markers for Google Maps using Javascript API v3.
I tried the solution posted here: http://stackoverflow.com/questions/1621991/multiple-markers-in-googe-maps-api-v3-that-link-to-different-pages-when-clicked
but it does not work for me for some reason.
var…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a map with multiple markers, which I populate via an array. Each marker is clickable and should take the user to a different url per marker.
The problem is that all the markers, while displaying the correct title, all use the url of the last entry in the array.
Here is my code:
var myOptions…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
hello friends,
I have implemented one Flex application in which I want to display 3D google map.In which I am getting the error the NUll object reference during map display.
Here is my code:-
import com.google.maps.controls.MapTypeControl;
import adobe.utils.XMLUI;
import mx.rpc…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I would like to do a very simple task: add some markers in a Google Map using a list of addresses from an array.
I have been thinking about generating the Google Maps JavaScript API code using ruby (printf) but this does not seem like a very clean and beautiful solution...
I have read about YM4R…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am busy with my web application for a school project. It has has two pages. The first page uploads the location(latitude and longitude), price, date and kind of fuel. It works and i saved it with websql.(see screenshot) Now i want to get everything out of the web database and put it as a marker…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to build a map of trails around my town.
I'm using an XML file to hold all the trail data. For each marker, I have categories like "surface," "difficulty," "uses," etc.
I have seen many examples of Google Maps that use checkboxes to show markers by category. However these examples are…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am creating a databse containing the names and coordinates of all bus stops in my local area. I have all the names stored in my database, and now I need to add the coordinates. I am trying to get these of a website that contains them all as placemarks on a google map. It seems to me like they are…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello, I want to put a tooltip made myself with divs when the mouse is over a marker, but I don't know how to get the screen position to put the div on the correct position, here is my code:
google.maps.event.addListener(marker, "mouseover", function() {
divover.css("left", marker.get("left"));
…
>>> More