Placing the marks on the sky.

27 views
Skip to first unread message

TMR

unread,
May 5, 2013, 11:31:04 AM5/5/13
to google-earth-...@googlegroups.com
Hi, I'm newbie to Google earth plug-in.
I want to create placemark at somewhere in the sky. 

I tried a sample code
// Create the placemark.
var placemark = ge.createPlacemark('');

// Set the placemark's location.  
var point = ge.createPoint('');
point
.setLatitude(12.345);
point
.setLongitude(54.321);
placemark
.setGeometry(point);

// Add the placemark to Earth.
ge
.getFeatures().appendChild(placemark);
But it doesn't work!
How I should do?

Thanks!

Reply all
Reply to author
Forward
0 new messages