Hello
Is it possible to change the URL property of a GeoJSONLayer and .refresh(), so that it fetches a new set of data, overwrites the previous one and displays it on the map?
I need a different URL, not just a different query string, which I know it is possible by using .createQuery() .queryFeatures().
Thanks
Solved! Go to Solution.
Hi there,
This cannot be done and goes for all layers. You'd have to create a new instance of GeoJSONLayer for each unique URLs.
Hi there,
This cannot be done and goes for all layers. You'd have to create a new instance of GeoJSONLayer for each unique URLs.