3.1.2.12 map_tile_theme Element

The map_tile_theme element is used to define a map tile theme, which produces a map image layer rendered by the map tile server with pregenerated map image tiles. The map image tiles can be served by any internal or external map service providers. This element has the following definition:

<!ELEMENT map_tile_theme (#PCDATA)>
<!ATTLIST map_tile_theme
  map_tile_layer CDATA # REQUIRED
  snap_to_tile_scale (TRUE|FALSE) "FALSE"
>

map_tile_name specifies the name of the map tile layer that has been predefined with MapViewer.

snap_to_tile_scale is an optional attribute that specifies whether to adjust the map scale to fit that of one of the predefined map tile layer zoom levels. If this attribute is FALSE, the scale of the result map is always the same as what the map request specifies; and if the map request scale does not fit any of the predefined map tile layer zoom levels, the map tile images are scaled to fit the map request scale. If this attribute is TRUE, the scale of the result map is adjusted to fit one of the predefined map tile layer zoom levels when the request map scale does not fit any of the predefined zoom levels.