Geomajas Community Documentation

A.2. Migrating from Geomajas 1.5.4 to Geomajas 1.6.0

  • The gwt-client module no longer automatically adds the "nl" locale to the application. This should now be done by the application. You can do this by adding the line

    <extend-property name="locale" values="nl"/>

    to your gwt.xml file.

  • In the GWT face, you should now use MapContext instead of directly accessing GraphicsContext.

  • RasterLayer.paint() now throws GeomajasException instead of RenderException. The RenderException class has been moved to api-experimental.

  • LocaleSelect now needs a parameter in the constructor. This parameter is the name of the default language.

  • The OpenStreetMap layer changes changed groupId from "geomajas-layer-opentreetmaps" to "geomajas-layer-opentreetmap".

  • GeomajasSecurityException has moved from "org.geomajas.global" to "org.geomajas.security".

  • AllowAllSecurityService has moved from "org.geomajas.internal.security" to "org.geomajas.security.allowall".

  • VectorLayerService and RasterLayerService have moved from "org.geomajas.service" to "org.geomajas.layer".

  • In LabelStyleInfo the style for the font is now of type FontStyleInfo.

  • LayerIdsCommandRequest has been introduced and this is now extended by SearchByLocationRequest (no change) and UserMaximumExtentRequest (changing includeLayers to layerIds).