Open ccone-pattern opened 1 week ago
@ccone-pattern When you say the map was previously made with python do you mean this new version of mapping or with the older WebMap class?
Can you post a screenshot of the actual issue or provide an example item for this? The one you have posted suggests that something is being passed into the dataclasses that it does not recognize.
Also this may not be it but can you initialize the map with Map(item=item)
? The first parameter (by user demand) is location and not item. We have a check in the code but it's not always foolproof.
Describe the bug Map object fails to populate given an
Item
of type: WebMap that was previously generated and saved from python. This map item is fully interactable within AGOL.To Reproduce Steps to reproduce the behavior:
error:
Screenshots screenshot from vscode debugger displaying valid item fetched directly before initializing Map
Expected behavior A valid
Map
object based on the item fetched from GIS.content and/or Explicit description of any invalid json syntax in WebMap's definitionPlatform (please complete the following information):