The MapRequestHandler should be able to handle map requests, resulting in a map image, and capabilities requests, so a client can find out what layers, projection types and image formats are available.
If the 'layers' property is not defined the openmap.properties file, then the 'openmap.layers' property will be used, and the 'openmap.startUpLayers' property will be used to define the default set of layers. This lets there be more layers available to the client than would be sent by default (if the client doesn't specify layers).
The MapRequestHandler assumes that the ProjectionFactory shared instance has ProjectionLoaders added to it to let it know how to handle different projection names. A call to ProjectionFactory.loadDefaultProjections() will take care of this requirement if you just want the standard projections loaded.
|
|