1.Google Map API does not support Models
2. Your file is on your localhost - you need it on the web for Google
Maps API to parse it.

try the other group
http://groups.google.com/group/google-earth-browser-plugin/topics

Mapperz
http://mapperz.blogspot.com/

On Nov 5, 2:59 pm, cooller <[EMAIL PROTECTED]> wrote:
>       I have following code for making eventhandler for the model:
>         .............
>         var placemark = ge.createPlacemark('');
>         placemark.setName('model');
>         var model = ge.createModel('');
>         ge.getFeatures().appendChild(placemark);
>         var loc = ge.createLocation('');
>         model.setLocation(loc);
>         var link = ge.createLink('');
>         var pagePath = "http://Localhost:50144/WebSite1/Lwow/Models/";;
>         link.setHref(pagePath + "lwow.dae");
>         model.setLink(link);
>         var la =
> ge.getView().copyAsLookAt(ge.ALTITUDE_RELATIVE_TO_GROUND);
>         loc.setLatitude(myLatitude);
>         loc.setLongitude(myLongitude);
>         placemark.setGeometry(model);
>         la.setRange(300);
>         la.setTilt(80);
>         ge.getView().setAbstractView(la);
>
>         google.earth.addEventListener(model, "mousedown",
> onModelDown);
>         .............
>
> But it isn't work. Why ?
> Also i have same problem with creating eventhandler for the ground
> overlay
--~--~---------~--~----~------------~-------~--~----~
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