Wasn't it skulli who wrote:
>
>> How does that work, what does it call? All I can see is
>>    <a id="directionsTest" href="javascript:void(0);">Test</a>
>>
>> cheers, Ross K
>
>I added the click event with jQuery in the 
>http://people.emich.edu/nhaller1/js/directions.js
>with the following code:
>
>$("#directionsTest").click(function(){
>       dir_map.addOverlay(new GMarker(new GLatLng(-83.4795923,42.3358181)));
>});
>
>When you look at the code in Firebug, the method is called and there
>is no error.

The marker is displayed, but you'll only see it if your directions 
happened to be somewhere near that location. That's a bit unlikely, 
because the API doesn't support directions in Antarctica.

-- 
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to