box Element center Element

3-34 Oracle Fusion Middleware Users Guide for Oracle MapViewer Figure 3–2 Bounding Themes

3.2.3 box Element

The box element has the following definition: ELEMENT box coordinates ATTLIST box ID CDATA IMPLIED srsName CDATA REQUIRED preserve_aspect_ratio TRUE|FALSE FALSE The box element is used to specify the bounding box of a resulting map. It uses a coordinates element to specify two coordinate value pairs that identify the lower-left and upper-right corners of the rectangle. The coordinate values are interpreted in terms of the users data. For example, if the users data is geodetic and is specified in decimal degrees of longitude and latitude, a coordinates specification of -72.84, 41.67, -70.88, 42.70 indicates a bounding box with the lower-left corner at longitude-latitude coordinates -72.84, 41.67 and the upper-right corner at coordinates -70.88, 42.70, which are in the New England region of the United States. However, if the data is projected with meter as its unit of measurement, the coordinate values are interpreted in meters. preserve_aspect_ratio is an optional attribute that indicates whether or not the box coordinates should be further modified so that it has the same aspect ratio as the map image or device. The default is FALSE, in order to keep compatibility with previous versions that do not have this attribute. If this value is set to TRUE, the box is modified to preserve the aspect ratio, so as not to distort the resulting map image. MapViewer Map Request XML API 3-35

3.2.4 center Element

The center element has the following definition: ELEMENT center geoFeature ATTLIST center size CDATA REQUIRED The center element is used to specify the center of a resulting map. It has a required attribute named size, which specifies the vertical span of the map in terms of the original data unit. For example, if the user’s data is in decimal degrees, the size attribute specifies the number of decimal degrees in latitude. If the user’s data is projected with meter as its unit, MapViewer interprets the size in meters. The center itself must embed a geoFeature element, which is specified in Section 3.2.5 .

3.2.5 geoFeature Element