3.1.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>
<location> 35,35 </location>
<size> 16,32 </size>
</north_arrow>
Parent topic: Map Request DTD