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

2017-02-21 Thread Rémy Gourrat
Ok.

it's more clear now and I have a workaround !

Thanks 
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

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

2017-02-21 Thread Jackie Ng
See explanation here:
https://github.com/jumpinjackie/mapguide-react-layout/issues/130

- Jackie



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/mapguide-react-js-embeded-in-div-or-iframe-issue-tp5308462p5308841.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

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

2017-02-21 Thread Rémy Gourrat
At loading of mapguide viewer react in the iframe, i see in console network 
that pageLoadFunctions.js is loaded with success

In the code I see the call to read the mapinit property wich failed :   

if (parent.parent.mapFrame.mapInit)
  return;

I don't understand why only it's failing for React.js viewer in iframe : the 
parent.parent.mapFrame.mapInit is a relative path !

And It's running with success if React.js viewer is on the top.

Have you an explication ?

Rémy
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users