###### 3.3.5.1.5 lcAreaCoords

The <lcAreaCoords> element specifies the coordinates of a linkable hotspot in a learning image.

This element contains text data representing coordinate data for learning images with linkable hotspots. Pixels are the recommended units for describing coordinates. The syntax of the coordinate data depends on the shape described by the coordinates, and is based on the image map definition in HTML. It uses the following data for the appropriate shapes:

Shape

Data format

rect

left-x, top-y, right-x, bottom-y

circle

center-x, center-y, radius

poly

x1, y1, x2, y2, ..., xN, yN. The first x and y coordinate pair and the last should be the same to close the polygon.

###### Contains

Doctype | Content model
learningAssessment, learningContent, learningOverview, learningPlan, learningSummary | ( text data or data or data-about or foreign or unknown or keyword or term) (any number)

###### Contained by

Doctype | Content model
learningAssessment, learningContent, learningOverview, learningPlan, learningSummary | lcArea

###### Inheritance

+ topic/ph learningInteractionBase-d/ph learning-d/lcAreaCoords

###### Example

    <lcHotspotMap>
       <image href="hotlogos.gif">
         <alt>Baseball team logos</alt>
       </image>
       <lcArea id="giants">
         <lcAreaShape>rect</lcAreaShape>
         <lcAreaCoords>0,50,50,100</lcAreaCoords>
         <lcFeedback>No.</lcFeedback>
       </lcArea>
       <lcArea id="orioles">
         <lcAreaShape>rect</lcAreaShape>
         <lcAreaCoords>50,50,100,100</lcAreaCoords>
         <lcFeedback>No.</lcFeedback>
       </lcArea>
    </lcHotspotMap>

###### Attributes

Name | Description | Data Type | Default Value | Required?
translate | Indicates whether the content of the element should be translated or not. Setting to "yes" will override the default. The DITA architectural specification contains a list of each OASIS DITA element and its common processing default for the translate value; because this element uses an actual default, it will always be treated as translate="no" unless overridden as described. | yes | no | -dita-use-​conref-​target | "no" | No
xml:lang | Specifies the language of the element content. The xml:lang attribute and its values are described in the XML Recommendation at http://www.w3.org/TR/REC-xml/#sec-lang-tag. | language token or the null string | #IMPLIED | No
dir | Specifies the directionality of text: left-to-right (ltr, the processing default) or right-to-left (rtl). The value lro indicates an override of normal bidi text presentation, forcing the element into left-to-right mode; rlo overrides normal rules to force right-to-left presentation. See 2.1.3.9.2 The dir attribute for more information on the dir attribute. | (ltr | rtl | lro | rlo | -dita-use-​conref-​target) | #IMPLIED | No
id-atts attribute group (id, conref, conrefend, conaction, conkeyref) | A set of related attributes, described in 3.4.1.4 id-atts attribute group |  |  |
select-atts attribute group (props, base, platform, product, audience, otherprops, importance, rev, status) | A set of related attributes, described in 3.4.1.5 select-atts attribute group |  |  |
global-atts attribute group (xtrf, xtrc) | A set of related attributes, described in 3.4.1.2 global-atts attribute group |  |  |
class, outputclass, keyref | Class and outputclass are described in 3.4.1.9 Other common DITA attributes |  |  |

Previous Topic: 3.3.5.1.4 lcArea

Next Topic: 3.3.5.1.6 lcAreaShape

Parent Topic: 3.3.5.1 Common learning interactions elements

Sibling Topics:

3.3.5.1.1 lcAnswerContent

3.3.5.1.2 lcAnswerOption

3.3.5.1.3 lcAnswerOptionGroup

3.3.5.1.4 lcArea

3.3.5.1.6 lcAreaShape

3.3.5.1.7 lcAsset

3.3.5.1.8 lcCorrectResponse

3.3.5.1.9 lcFeedback

3.3.5.1.10 lcFeedbackCorrect

3.3.5.1.11 lcFeedbackIncorrect

3.3.5.1.12 lcHotspotMap

3.3.5.1.13 lcItem

3.3.5.1.14 lcMatchingHeader

3.3.5.1.15 lcMatchingItem

3.3.5.1.16 lcMatchingItemFeedback

3.3.5.1.17 lcMatchingPair

3.3.5.1.18 lcMatchTable

3.3.5.1.19 lcOpenAnswer

3.3.5.1.20 lcQuestion

3.3.5.1.21 lcSequence

3.3.5.1.22 lcSequenceOption

3.3.5.1.23 lcSequenceOptionGroup