Geomajas Community Documentation

A.7. Migrating from Geomajas 1.4.x to 1.5.0

  • In your application.xml, you should change "OSMLayerFactory" to "OsmLayerFactory"

  • In your application.xml, you should change "WMSLayerFactory" to "WmsLayerFactory"

  • replace package "layermodels" with "layermodel"

  • replace "org.geomajas.core.application.DefaultLayerFactory" with "org.geomajas.internal.application.DefaultLayerFactory"

  • mapWidget.addController() and mapWidget.removeController() have been removed. They are replaced by mapWidget.setController(). You could only add one controller anyway.