repr:Template

Diagram

Description

Allows you to set a template for the HTML representation of map objects.

The template consists of a unique identifier (attribute gml: id) and body (repr: text) of the template. In the styles of map objects, whose layout is based on templates (styles of an icon, icon shadow, icon content, balloon content, and popup hint), the template assigned to the style is specified with the link to its ID, see repr: template.

Contains:

repr:text

Contained by:

repr:Representation

repr:Template

Part of a YMapsML document that describes the template for popup hints:

<repr:Template gml:id="hintTemplate">
    <repr:text><![CDATA[<div style="color:blue">$[name]</div>]]></repr:text>
</repr:Template>