[mapguide-users] FF 3 ...AJAX viewer does not load map

Maciej Skorczewski maciej.skorczewski at procad.pl
Sat Jun 21 19:26:34 EDT 2008


did anybody try this for MG 1.2?



Zac Spitzer pisze:
> there's a patch available for testing
> 
> http://trac.osgeo.org/mapguide/ticket/378
> 
> It works for me on windows, I'm compiling on linux now to test
> 
> z
> 
> On Fri, Jun 20, 2008 at 8:22 PM, BruceWeston <ross at ime.co.uk> wrote:
>> That helps load the map but everything else is a bit flaky - especially ajax
>> mouse zooms.
>>
>>
>> Tom Chadwin wrote:
>>> That works to a certain extent (FF3 on XPSP3, MGOS2 on W2K3 IIS PHP). The
>>> map (and legend) now loads, but my rasters do not always show up, and
>>> sometimes I cannot zoom. I believe the page can be seen from the outside
>>> world for anyone who wishes to test (but please bear in mind that it is
>>> still in development, so changes are ongoing):
>>>
>>> http://maps.northumberlandnationalpark.org.uk:443/
>>>
>>> Cheers
>>>
>>> Tom
>>>
>>>
>>> Le Ingenieur Inconnu wrote:
>>>> Hi!
>>>> The problem seems to be in the ajaxmappane.templ. RequestMap() uses a
>>>> POST in the XMLHttpRequest but it seems that the MapAgent does not like
>>>> some of the headers and the reply is empty. A quick fix for this has been
>>>> to change it to a GET, appending the parameter list.
>>>>
>>>> function RequestMap(scale, centerX, centerY, showGroups, hideGroups,
>>>> showLayers, hideLayers)
>>>> {
>>>>    // ...
>>>>     mr = CreateRequestHandler();
>>>>     req = new MapRequest(mr, ++mapId);
>>>>     // -- FF3 Fix
>>>>     mr.open("GET", webAgent + "?" + reqParams, true);
>>>>     // -- Old code
>>>>     //mr.open("POST", webAgent, true);
>>>>     mr.setRequestHeader("Content-Type",
>>>> "application/x-www-form-urlencoded");
>>>>     // ...
>>>> }
>>>>
>>>
>> --
>> View this message in context: http://www.nabble.com/FF-3-...AJAX-viewer-does-not-load-map-tp17972103p18026490.html
>> Sent from the MapGuide Users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
> 
> 
> 



More information about the mapguide-users mailing list