Geomajas Community Documentation

11.3. Geomajas configuration

The initial bean which needs to be defined is a bean indicating the client application info .

<bean name="gwt-simple" class="org.geomajas.configuration.client.ClientApplicationInfo">
    <property name="maps">
        <list>
            <ref bean="sampleFeaturesMap" />
            <ref bean="sampleOverviewMap" />
        </list>
    </property>
</bean>

Example 11.4. ClientApplicationInfo definition


As you can see, this defines the list of maps for the application. It may (optionally) also define some additional user info and a screen DPI parameter. The DPI refers to the resolution in pixels per inch of your monitor, for a PC its usually 96 (the default) or 72.

There needs to be at least one ClientApplicationInfo bean. The bean name is used when requesting the application info.