[mapguide-users] REACT Sample
Jackie Ng
jumpinjackie at gmail.com
Thu Aug 25 06:09:32 PDT 2022
Use "resource" instead of "ApplicationDefinition" as the query string
parameter.
- Jackie
You wrote:
With MGOS (build 9862) and IIS under Win10.
I have no problem to display the REACT viewer when I am using the
viewer directory (ziewer.zip or yarn install from the source) .
But when I am trying to display the REACT viewer with the sample
directory, http://localhost/mapguide/sample/sample_template.html?ApplicationDefinition=Library://Samples/Sheboygan/FlexibleLayouts/React.ApplicationDefinition&locale=en
Note : I have a React flexible layout (react.xml) in FlexibleLayouts
of the Sheboygan package
I have the following message :
An error occurred during startup
No resource parameter found. This viewer assumes this parameter to be
set in the query string and must refer to a valid Web Layout or
Application Definition. If not specified, it will try to init from a
Application Definition document at appdef.json
With MGOS 4.0 P3 and IIS under Server 2012 R2
Also I have no problem with the viewer directory but, when I am trying
to display the REACT viewer with the sample directory, mostly
everything is OK except the « View as KML » function. When I click
on « View as KML », the function returns a pop up window to download
the file mapagent.fcgi.
With MGOS 4.0 P4 and IIS under Win10.
Also I have no problem with the viewer directory but, when I am trying
to display the REACT viewer with the sample directory, mostly
everything is OK except the « View as KML » function. When I click
on « View as KML », the function returns a pop up window to download
the file mapagent.fcgi.
Regards,
Pierre
--
*Please Note: I no longer create new posts or post replies to any OSGeo
mailing list through nabble. As a result, you most likely won't see this
message appear on nabble's view of any OSGeo mailing list and may only see
this message through mailing list archives or depending on your mailing
list subscription settings, through daily message digests or automated
notifications from the mailing lists.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20220825/f35fce1e/attachment.htm>
More information about the mapguide-users
mailing list