Uploaded image for project: 'Geomajas GWT2 client'
  1. Geomajas GWT2 client
  2. GWTII-27

Maximum scale of a raster server layer must be applied inclusive

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0
    • Component/s: Main API
    • Labels:
      None
    • CLA:
      I have read and agree with the Geomajas CLA for the attachments

      Description

      Currently both the minimum and the maximum scale are applied inclusive.
      One of the two must be applied exclusive and the other one inclusive.
      Note that the minimum scale is exclusive when following SLD conventions (the maximum scale denominator is exclusive) and the maximum scale is inclusive (the minimum scale denominator is inclusive) .
      This makes it possible to have layers with adjacent scale ranges: at the exact scale one of the two becomes visible because of a minimum scale restriction, the other one becomes invisible because of a maximum scale restriction.

      Code that must be corrected:
      org.geomajas.gwt.client.map.layer.AbstractServerLayer.isShowing()
      returns true if the current scale == layerInfo.getMinimumScale().getPixelPerUnit()
      Although it must return false in that case.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jandm Jan De Moerloose
                Reporter:
                anb An Buyle
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: