In our project, we used to have a function to modify an object's attribute, usually a user added pin and save the coordinates along with the description. Like the snippet below.
var tempId = document.getElementById("googleMapFeatureId").value; var features=ge.getGlobe().getFeatures().getChildNodes(); for (var i = 0; i < features.getLength(); i++) {
if (features.item(i).getId() == tempId) {
features.item(i).setDescription("New Object Created By User");
break;
} else {
continue;
} }
Do we have something similar so I can do something?
Thanks