[OpenLayers-Trac] [OpenLayers] #2843: The minScale accepts the
different value from
GetCapability response from OpenGeo WMTS service
OpenLayers
trac-20090302 at openlayers.org
Fri Sep 17 06:12:44 EDT 2010
#2843: The minScale accepts the different value from GetCapability response from
OpenGeo WMTS service
--------------------------------------------+-------------------------------
Reporter: minhtri | Owner:
Type: bug | Status: new
Priority: minor | Milestone: 2.11 Release
Component: Layer.WMTS | Version: 2.10
Keywords: wmts, minScale, scale, OpenGeo | State:
--------------------------------------------+-------------------------------
* Platform: Windows XP SP3, Firefox 3.6.10
* Steps to reproduce:
+ Copy to and replace the file "wmts.js" in "examples" folder of
OpenLayer 2.10 release. [[BR]]
+ Open file "wmts.html"[[BR]]
+ Try with different values of minScale variables (comment/uncomment the
lines 20, 23)[[BR]]
2.795411320143589E8 (get from GetCapabilities response from OpenGeo
WMTS service), the map displays incorrectly, WMTS layer seems to be
shifted upward and rightward[[BR]]
2.2147192125E8 (not be seen in the GetCapability response), the map
displays correctly.
* Link to code: I attach the file "wmts.js" to this ticket. [[BR]]
* Planned Solution: No
This bug may be happened because OpenGeo WMTS service responses a wrong
value. But the original example use the same service (in another CRS), I
suppose that the service is reliable.
--
Ticket URL: <http://trac.openlayers.org/ticket/2843>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list