Moxi Media Inc.
<map-center-coordinate> Discussion Forum

IMF Developer's Guide » Site Configuration » <map-center-coordinate>  

The <map-center-coordinates> element contains zero or one projection elements to indicate what coordinate systems that the map center coordinate is used for labeling the map. If you do not want the center coordinate to be displayed on the map, this element can be added to the site configuration file without a child projection element.

Note: The <projection> element has been eliminated at v4.0.6, and can no longer be used. Use one of the specific projection element types listed below instead.

Frequency Parent Elements (this element is valid within):
PRS1 <site-config>
   

Frequency Child Elements:
O-CHOICE <projection-albers-equal-area-conic>
O-CHOICE <projection-geographic>
O-CHOICE <projection-lambert-conformal-conic>
O-CHOICE <projection-transverse-mercator>
O-CHOICE <projection-utm-auto>
   

Frequency Description (in this context)
PRS1 The <map-center-coordinate> element is required once in the <site config> element in the specified sequence.
O-CHOICE Zero or one of the child projection elements may appear within the <map-center-coordinate> element. If you don't wish to display the map center coordinate on your maps, don't include any of the child projection elements in the <map-center-coordinate> element.
   

Examples:

<!-- Show map center as BC Albers. -->
<map-center-coordinate>
 <projection-albers-equal-area-conic alias="BC Albers"
                                     ellipsoid="GRS80"
                                     central-meridian="-126.0"
                                     reference-latitude="45.0"
                                     standard-parallel-1="50.0"
                                     standard-parallel-2="58.5"
                                     false-easting="1000000.0"
                                     false-northing="0.0" />
</map-center-coordinate>

<!-- Show map center as Geographic. -->
<map-center-coordinate>
 <projection-geographic/>
</map-center-coordinate>

<!-- Don't show map center at all. -->
<map-center-coordinate/>