[image: image.png] בתאריך שבת, 15 בפבר׳ 2025 ב-3:11 מאת Jackie Ng via mapguide-users < [email protected]>:
> This is not helpful. I do not see any relation between the > unexpected token `<` and this error. > > The mapInit property is an AJAX viewer API property that custom task pane > content can test to see if the map viewer is ready to start using their > other APIs. This error suggests that you must have a custom InvokeURL > command that has some javascript that calls this property without testing > that the call chain is already not null/undefined (ie. > Caling parent.parent.mapInit without testing that parent.parent is not > null/undefined first) > > Again I am just speculating because I have not been given enough > information to work with. > > Can you switch over to use viewer-debug.js (instead of viewer.js) and > provide screenshots of the viewer and relevant parts of the developer tools > where the error is happening? > > - Jackie > > You wrote: > > this is the Error we get - Uncaught TypeError: Cannot read properties of > undefined (reading 'mapInit') > at About:486:42 > > _______________________________________________ > mapguide-users mailing list > [email protected] > https://lists.osgeo.org/mailman/listinfo/mapguide-users > -- בכבוד רב, *נמרוד כנען** | *גיאומינד שירותי GIS – פיתוח, ייעוץ ושירותי ענן ישיר: 048101268 | נייד: 0525355483 | [email protected] נא בקרו באתר החדש שלנו http://geomind.co.il
_______________________________________________ mapguide-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/mapguide-users
