Hello All, I am looking to use mouse clicks so as to set source and destinations points.. I am using Mike William's car trip animation. I am able to use my mouse to set the start location but I am unable to do it for the destination. Currently in my code i have fixed a destination by setting a LatLng for it. I had tried using a for loop where i click two points and they get stored and then i retrieve them and call them as source n destination points..But this didnt work as only one point got stored all the time. After a lot of struggle i have uploaded it on a site.
http://ashwinsamant.xtreemhost.com/GMU/GMU_UAV1.html just click a point on the map and the animation starts without even pressing the start button. There are a lot of issues i need to fix but currently i am looking for the mouse click event. Also It would be awesome if someone can help me in having a 2D and 3D view side by side just like http://earth-api-samples.googlecode.com/svn/trunk/demos/drive-simulator/index.html Currently I have a button for Google Earth in my code. But when i click it..my truck doesnt animate on the road. But the camera pans according to the directions. It would be nice if anyone can help me out with this Warm Regards Ashwin Samant --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
