earthoutreach / earth-api-utility-library

Automatically exported from code.google.com/p/earth-api-utility-library
0 stars 0 forks source link

gex.edit.place inside a gex.edit.place dropcallback doesn't work #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Visit the draggable demo

2. Paste and run:

gex.dom.clearFeatures();

function dropCallback() {
  var pm2 = gex.dom.addPointPlacemark([0, 0], {
    name: 'Champion2'
  });

  gex.edit.place(pm2, {
    dropCallback: function() {
      dropCallback();
      // This does work:
      //setTimeout(function() {
      //  dropCallback();
      //}, 100);
    }
  });
}

dropCallback();

Original issue reported on code.google.com by christop...@gmail.com on 7 Oct 2009 at 12:44

GoogleCodeExporter commented 8 years ago

Original comment by api.roman.public@gmail.com on 7 Oct 2009 at 12:48

GoogleCodeExporter commented 8 years ago
Fixed in trunk, see Revision 62

Original comment by api.roman.public@gmail.com on 7 Oct 2009 at 4:01