[mapguide-users] MapGuide Maestro 6.0m13 and mapguide-react-layout 0.14.10 released
Jackie Ng
jumpinjackie at gmail.com
Fri Feb 14 17:10:51 PST 2025
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20250215/61f1b5ad/attachment.htm>
More information about the mapguide-users
mailing list