I’m having a little difficulty displaying two data shapes on top of each other. I have Polygon data shape that’s controlled by a data table or .dataShapes.
The problem comes when I call for the next data shape in script(controlled by a button) it replaces the first data shape with the new one. I figure its because when I call .dataShapes it erases the previous values in the table. (code for second shape and shape below).
event.source.parent.getComponent(‘Map Panel’).dataShapes = project.agricultural.parseToShapes(coords)
Does anyone know how I can place these two data shapes on top of each other?