Hello , I reviewed the existing codes (https://openforis.support/questions/2813/how-to-use-your-own-gee-script-in-the-gee-app-window#gsc.tab=0) and made some additions and created a new GEE app to be used by collect earth. And I integrate this new GEE App into my Collect Earth survey. Here is what I don't fully understand and want to ask:
How should I integrate the points in my own plot? How can I get my new GEE app to zoom into points for each plot?
I guess, I need to change something on line 51 of the code in the link. (https://code.earthengine.google.com/?scriptPath=users%2Fsanchezpauspro%2FApps%3ACollectEarthPlotAncillary )
How should I create an input to the following part, what should I change. I don't understand the logic, if you can help me I would be very grateful.Thanks!
var plotId = ui.url.get('plotId', 'Plot');
var geoJson = ui.url.get('geoJson',
'{"type":"MultiLineString","coordinates":[[[-61.79819,17.624234],[-61.796098,17.624234],[-61.796098,17.622228],[-61.79819,17.622228],[-61.79819,17.624234]]]}'
);
var obj = JSON.parse(geoJson);
var geometry = ee.Geometry( obj );
script.processPlotInfo( geometry, startTime, endTime, lastYearToday, null, plotId );