Aller au contenu principal

.Mmap file gives error in new mobile designer (Maui), works fine in older mobile designer version

Commentaires

1 commentaire

  • Andreas Broothaerts


    Extra info: I see in the console this part of js is giving the error 

     

    But going through my mmap I seem to have popupInfo and fieldInfo set for all of them

    Oke after investigating, the conclusion is that when popup is disabled there is no popupInfo available. But in the js the code still is making the fieldExtensions based on the popupinfo which is null, after that in the code there is a push of this fieldExtension but it is null so it is giving an error. This seems like a bug in the js where the || needs to be changed to && to make this work. 

    For now I will try to make popups for all of my layers. I will log this issue as it seems a bug for Mobile Designer.

     

    Edit: creating popups for all the layers solved this issue now I'm getting the next one 

    Uncaught (in promise) InvalidOperationError: This collection is read-only. 

    1

Vous devez vous connecter pour laisser un commentaire.