[mapguide-users] HttpApi doc improvement

morkl mapguide at morkl.se
Mon Feb 13 04:39:43 PST 2017


I'm not sure if this is a documentation error or a bug, but there is a
discrepancy with GETMAPIMAGE's operation version.

The documentation specifies  a 1.0.0 version
<https://trac.osgeo.org/mapguide/wiki/HttpApi/RenderingService#GetMapImage1.2>  
and  two
<https://trac.osgeo.org/mapguide/wiki/HttpApi/RenderingService#GetMapImage2.0>   
different
<https://trac.osgeo.org/mapguide/wiki/HttpApi/RenderingService#GetMapImage>  
2.0.0 versions, while the  implementation
<https://trac.osgeo.org/mapguide/browser/trunk/MgDev/Web/src/HttpHandler/HttpGetMapImage.cpp?rev=8442#L154>  
(since MapGuide 3.0) only allows 1.0.0 and 3.0.0.

OpenLayers' ol.source.ImageMapGuide uses  2.0.0
<https://github.com/openlayers/openlayers/blob/f5aea97d3bba067170003a28b26622b075aad511/src/ol/source/imagemapguide.js#L214>  
by default, so upgrading MapGuide from 2.x to 3.x can break existing apps in
a sneaky way.



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/HttpApi-doc-improvement-tp5302731p5307702.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list