kml - gx:Track updates and time slider in Google Earth Plugin -
my goal periodically update position of track, rendered in google earth plugin. using gwt-based web app , servlet produces kml updates. first create placemark <gx:track/>
, specific id, push <create/>
elements new <when/>
, <gx:coord/>
- similar how done here. updates fetched ge plugin , see time slider updated - time span longer each time update occurs. however, ge not show latest position, have move slider manually see recent position. there way force ge automatically? thinking of using <gx:multitrack/>
, read somewhere it's not supported plugin. appreciated.. wish there more documentation on using networklinkcontrol updates <gx:track/>
, i've been able find random forum posts.
why don't update time using this
var newtime = // time/date of update var timestamp = ge.createtimestamp(''); timestamp.getwhen().set(newtime); ge.gettime().settimeprimitive(timestamp);
Comments
Post a Comment