Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • WMS services can now be consumed using tiles. To do this, use server type "WMS-C" instead of "WMS" in your map context.
  • For better caching of map images, MapPaneOL works with fixed zoom levels, as soon as WMS-C or commercial layers (Google, Microsoft, Yahoo) are used. In that case, zoom operations (like zoom in to a box) will not result in the exact extent of the dragged box, but in the next fixed zoom level that the box fits in entirely.
  • The map is clipped to the maximum extent specified in the context xml. If it is desired to view the map outside this extent, the property
    No Format
    <displayOutsideMaxExtent>true</displayOutsideMaxExtent>
    
    has to be specified in the MapPaneOL config. Note that this will only allow you to view the map to the extent of the map tiles containing the specified extent. So this ensures that there will be no white border around the map image, but it will not allow for showing arbitrary locations outside the map extent. If that is desired, the property <maxExtent> of MapPaneOL has to be set, e.g.
    No Format
    <maxExtent>10, 50, 20, 50</maxExtent>
    
  • The <fixedWidth> property of MapPaneOL is no longer available. Instead,
    No Format
    <fixedSize>true</fixedSize>
    
    can be used to take the size of the map pane from the context document. For a dynamically sized map pane, this options should not be set. Instead, a proper css for the mapPane div will do. The AutoResize widget is no longer available.

...