map_tile_theme Element north_arrow Element

3-46 Oracle Fusion Middleware Users Guide for Oracle MapViewer ■ The seventh entry is description text County population: that users of the generated map will associate with the next and last entry, which specifies an advanced style. The County population: text entry is helpful because advanced styles usually have their own descriptive text, and you do not want users to become confused about which text applies to which parts of the legend. ■ The last entry specifies an advanced style style=V.COUNTY_POP_DENSITY, and it is indented one tab position tab=1 so that the colors and text identifying various population density ranges will be easy for users to distinguish from the preceding County population: description text.

3.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.

3.2.13 north_arrow Element

The north_arrow element specifies a style usually a marker to point to the north direction on the map. It uses the map request rotation attribute to define its orientation. This element has the following definition: ELEMENT north_arrow style, location?, size? The style element specifies the name of the style typically a marker style for the north arrow. The location element is optional. It specifies the X and Y coordinate values in pixels of the position on the map for the north arrow. The default value is 25, 25. The size element is optional. It specifies the width and height in pixels to be used by MapViewer in rendering the north arrow. The default value is 16, 32. Example 3–20 shows a north arrow definition using style m.image41_bw, located at position 35, 35 of the map image, and with width 16 and height 32. Example 3–20 North Arrow north_arrow style m.image41_bw style MapViewer Map Request XML API 3-47 location 35,35 location size 16,32 size north_arrow

3.2.14 operation Element