Has anyone has success using the Python API to add OGC WFS data to webmaps? Either directly or by creating a new item on AGOL and then adding that?
I am unable to get the add_layer() method of the WebMap class to work with WFS type items as I get a 'layers' KeyError.
I have tried adding a 'layers' attribute to the object which, interestingly, shows when I use dir() on the object but returns the same KeyError when I try and access item.layers.
Any help appreciated.