ymaps:style
Diagram
Description
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>
Copied to clipboard
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>
Copied to clipboard