jumpinjackie / mapguide-react-layout

An openlayers-based modern map viewer for MapGuide
https://jumpinjackie.github.io/mapguide-react-layout/
MIT License
62 stars 13 forks source link

Map Component stops to update #1063

Closed joseaaz closed 4 years ago

joseaaz commented 4 years ago

I tested with several maps and in all of them this happened. After turning on 41 layers when the 42th is turned on, the map no longer has updates. The Legend component is updated but the map image don't. To reproduce this: In SheboyganAsp map create 45 copies of the layer Districts.

I don't know if this is the exact place to raise this problem. I apologize if it is not.

Regards Jose

jumpinjackie commented 4 years ago

browser/mapguide/mapguide-react-layout version?

joseaaz commented 4 years ago

I'm using MapGuide 3.0 in IIS, Windows 8.1 Enterprise

mapguide-react-layout version v0.12.8

jumpinjackie commented 4 years ago

And what browser?

joseaaz commented 4 years ago

I tested in this browsers: Google Chrome version 79.0.3945.88 Google Chrome version 81.0.4016.0 Internet Explorer 11 Version 11.0.165 Firefox version 71.0

joseaaz commented 4 years ago

Problem solved. At some point the requests to mapagent.fcgi got bigger than the maxquerystringlength defined in iis.

Adding to the web.config of mapagent.fcgi the following keys solved the problem:

<system.web>
<httpRuntime maxQueryStringLength="65536" maxUrlLength="65536"/>
</system.web>
<system.webServer>
 <security>
 <requestFiltering>
 <requestLimits maxQueryString="65536"/>
 </requestFiltering>
</security>
</system.webServer>

So sorry Jackie for wasting your time, wasn't a mapguide-react viewer problem.

jumpinjackie commented 4 years ago

Makes sense. Glad you found your solution.