Hi Jackie,

I work on an application which embed your mapguide react.js viewer. Beautiful 
work !

I try to use the viewer in a div or in iframe, and base functions work fine.

But when mapguide is loaded in iframe or div I have this message in the console 
:

VM142 pageLoadFunctions.js:25 Uncaught TypeError: Cannot read property 
'mapInit' of undefined at window.onload (VM142 pageLoadFunctions.js:25)

And when I want to use the digitize point function in 
"task_pane_digitizing.aspx"

I have this message :
task_pane_digitizing.aspx?SESSION=34b59d8e-f606-11e6-8000-501376d6fc7f_en_MTI3LjAuMC4x0AFC0AFB0AFA&...:30
 Uncaught TypeError: Cannot read property 'DigitizePoint' of undefined
    at DigitizePoint 
(task_pane_digitizing.aspx?SESSION=34b59d8e-f606-11e6-8000-501376d6fc7f_en_MTI3LjAuMC4x0AFC0AFB0AFA&...:30)
    at HTMLInputElement.onclick 
(task_pane_digitizing.aspx?SESSION=34b59d8e-f606-11e6-8000-501376d6fc7f_en_MTI3LjAuMC4x0AFC0AFB0AFA&...:96)

is it a way to correctly load mapguide react.js viewer in a div/iframe ?

is it necessary to edit codes ?

Thanks

Rémy




-----
AG-Carto - Bayonne
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/mapguide-react-js-embeded-in-div-or-iframe-issue-tp5308462.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to