Skip to content

Can't access generated overlays

minervaProxy.project.data.getDataOverlays();

... does not get overlays that have been added before in the same function. So I guess refreshing is required to do so. Is there a way to overcome this?

I am creating overlays through a curl statement:

curl -X POST --data "content=name%09color%0ACAPN1%09%2300FF00%0APARK7%09....

Or is there a plugin API addOverlay() function?

Edited by Matti van Welzen