title: Moving 3d Model in google earth?
body: <p>I'm using the Google Earth Web-plugin API and I've got a 3d model of a helicopter, I can create a 3d model using the following code:</p>
  
  <blockquote>
    <p>var placemark =
    ge.createPlacemark('');</p>
    
    <p>placemark.setName('model');</p>
    
    <p>// Placemark/Model (geometry) </p>
    
    <p>var
    model = ge.createModel('heli');
    placemark.setGeometry(model);</p>
    
    <p>// Placemark/Model/Link </p>
    
    <p>var link =
    ge.createLink('');</p>
    
    <p>link.setHref('<a href="http://my.url/heli.dae" rel="nofollow noreferrer">http://my.url/heli.dae</a>');</p>
    
    <p>model.setLink(link);</p>
    
    <p>// Placemark/Model/Location </p>
    
    <p>var loc =
    ge.createLocation('');</p>
    
    <p>loc.setLatLngAlt(temp1,temp2,alt)</p>
    
    <p>model.setLocation(loc);</p>
    
    <p>model.setAltitudeMode(ge.ALTITUDE_RELATIVE_TO_GROUND);</p>
    
    <p>// add the model placemark to Earth</p>
    
    <p>ge.getFeatures().appendChild(placemark);</p>
  </blockquote>
  
  <p>So I've been creating a new model everytime new lat long coordinates come in, is there a way to simply move the 3d models to these coordinates instead of creating a new one, after about 50 renders, it becomes unresponsive! Any help would be appreciated</p>
  
  <p>I assume that instead of createPlacemark I need to getPlacemark, but there's no mention of such a function in the reference.</p>