[mapguide-users] mapguide react.js embeded in div or iframe issue

Rémy Gourrat rgourrat at ag-carto.fr
Sat Feb 18 10:23:36 PST 2017


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20170218/012c76a0/attachment.html>


More information about the mapguide-users mailing list