[mapguide-users] MGOS release 3.0 and Commercial maps

pcardinal pierre.cardinal at sympatico.ca
Thu Aug 27 16:30:25 PDT 2015


MGOS 3.0 is "buggy" with commercial maps. Everything was OK with MGOS2.6 but
with MGOS 3.0 it is impossible to use commercial maps. 

-------------------------------------------

Fusion Error

Error

Error Details:Exception occurred in AJAX callback.
Message: Caractère incorrect
Location: undefined (undefined)
Inner Stack: SyntaxError: Caractère incorrect
   at window.Fusion.parseJSON
(http://localhost/mapguide/fusion/lib/fusionSF-compressed.js:33:328)
   at parseMapTip
(http://localhost/mapguide/fusion/lib/fusionSF-compressed.js:3096:467)
   at Anonymous function
(http://localhost/mapguide/fusion/lib/fusionSF-compressed.js:1171:465)
   at respondToReadyState
(http://localhost/mapguide/fusion/lib/fusionSF-compressed.js:2057:587)
   at onStateChange
(http://localhost/mapguide/fusion/lib/fusionSF-compressed.js:2055:421)
   at Anonymous function
(http://localhost/mapguide/fusion/lib/fusionSF-compressed.js:1171:465)
Response: 






Invalid argument(s):
The map display width cannot be less than or equal to zero.

Invalid argument(s):
The map display width cannot be less than or equal to zero.

- MgRenderingServiceHandler.ProcessOperation() line 83 file
c:\working\build_area\mapguide\3.0.0\x64\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp
- MgOpQueryFeatures.Execute() line 125 file
c:\working\build_area\mapguide\3.0.0\x64\mgdev\server\src\services\rendering\OpQueryFeatures.cpp
- MgServerRenderingService.QueryFeatures() line 1092 file
c:\working\build_area\mapguide\3.0.0\x64\mgdev\server\src\services\rendering\ServerRenderingService.cpp
- MgServerRenderingService.RenderForSelection() line 1459 file
c:\working\build_area\mapguide\3.0.0\x64\mgdev\server\src\services\rendering\ServerRenderingService.cpp





Stack Trace:
 - ? at http://localhost/mapguide/fusion/lib/fusionSF-compressed.js (line:
54)
 - window.Fusion.parseJSON at
http://localhost/mapguide/fusion/lib/fusionSF-compressed.js (line: 33)
 - parseMapTip at
http://localhost/mapguide/fusion/lib/fusionSF-compressed.js (line: 3096)
 - respondToReadyState at
http://localhost/mapguide/fusion/lib/fusionSF-compressed.js (line: 2057)
 - onStateChange at
http://localhost/mapguide/fusion/lib/fusionSF-compressed.js (line: 2055)
 - window.Fusion.ajaxException at
http://localhost/mapguide/fusion/lib/fusionSF-compressed.js (line: 32)
 - dispatchException at
http://localhost/mapguide/fusion/lib/fusionSF-compressed.js (line: 2058)
 - respondToReadyState at
http://localhost/mapguide/fusion/lib/fusionSF-compressed.js (line: 2058)
 - onStateChange at
http://localhost/mapguide/fusion/lib/fusionSF-compressed.js (line: 2055)


Source:
http://localhost/mapguide/fusion/templates/mapguide/slate/index.html?Session=3853ae2a-4d0d-11e5-8000-90b11c9f31d3_en_MTI3LjAuMC4x0AFC0AFB0AFA&ApplicationDefinition=Session:3853ae2a-4d0d-11e5-8000-90b11c9f31d3_en_MTI3LjAuMC4x0AFC0AFB0AFA//0a2938f0-b617-49a3-bea1-509e224950d9.ApplicationDefinition&locale=en


------------------------------------

MapDefinition

<?xml version="1.0"?>
<MapDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="2.4.0"
xsi:noNamespaceSchemaLocation="MapDefinition-2.4.0.xsd">
  <Name />
 
<CoordinateSystem>PROJCS["WGS84.PseudoMercator",GEOGCS["LL84",DATUM["WGS84",SPHEROID["WGS84",6378137.000,298.25722293]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Popular
Visualisation Pseudo
Mercator"],PARAMETER["false_easting",0.000],PARAMETER["false_northing",0.000],PARAMETER["central_meridian",0.00000000000000],UNIT["Meter",1.00000000000000]]</CoordinateSystem>
  <Extents>
    <MinX>-8237000</MinX>
    <MaxX>-8174000</MaxX>
    <MinY>5678000</MinY>
    <MaxY>5737700</MaxY>
  </Extents>
  <BackgroundColor>ffffffff</BackgroundColor>
  <Metadata><MapDescription>test</MapDescription></Metadata>
  <Watermarks />
</MapDefinition>

---------------------------------------------------------------------------

ApplicationDefinition

<ApplicationDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xsi:noNamespaceSchemaLocation="ApplicationDefinition-1.0.0.xsd">
  <Title>Slate</Title>
  <TemplateUrl>fusion/templates/mapguide/slate/index.html</TemplateUrl>
  <MapSet>
    <MapGroup id="testMap">
      <Map>
        <Type>MapGuide</Type>
        <SingleTile>True</SingleTile>
        <Extension>
          <ResourceId>Library://Test/testMap.MapDefinition</ResourceId>
          <Options>
            <isBaseLayer>false</isBaseLayer>
            <useOverlay>true</useOverlay>
            <projection>EPSG:900913</projection>
          </Options>
        </Extension>
      </Map>
      <Map>
        <Type>VirtualEarth</Type>
        <SingleTile>true</SingleTile>
        <Extension>
          <Options>
            <name>Bing Maps Street</name>
            <type>Road</type>
          </Options>
        </Extension>
      </Map>
    </MapGroup>
  </MapSet>
  <WidgetSet>
    <Container xsi:type="UiItemContainerType">
      <Name>Toolbar</Name>
      <Type>Toolbar</Type>
....
</ApplicationDefinition>






--
View this message in context: http://osgeo-org.1560.x6.nabble.com/MGOS-release-3-0-and-Commercial-maps-tp5221559.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list