ymaps:style
Diagram
Description
Style for displaying an object or group of objects.
Contains the ID of the style defined by the repr: Style tag. The specified style is applied to a geo object or a group of geo objects.
Important. The link to the template ID must be preceded by the hash character (#).
Contained by:
ymaps:style
Setting a customStyle for a geo object (geo points):
<ymaps:GeoObject>
<ymaps:style>#customStyle</ymaps:style>
<gml:Point>
<gml:pos>37.63 55.75</gml:pos>
</gml:Point>
</ymaps:GeoObject>
Description of a customStyle for geo points:
<repr:Style gml:id="customStyle">
<repr:parentStyle>default#greenPoint</repr:parentStyle>
<repr:iconStyle>
<repr:href>http://info.maps.yandex.net/api/i/steelblue/dot.png</repr:href>
<repr:size x="26" y="46"/>
<repr:offset x="-22" y="-46"/>
<repr:shadow>
<repr:href>http://info.maps.yandex.net/api/i/dot_shadow.png</repr:href>
<repr:size x="25" y="23"/>
<repr:offset x="0" y="-25"/>
</repr:shadow>
</repr:iconStyle>
</repr:Style>