Version:
Popular examples
Map
Geo objects
Balloon and hint
Controls
Hotspots
Clustering
GeoQuery
Behaviors and events
Search on a map
Traffic
User's location
Routing
YMapsML
GeoXML
ObjectManager
Modular system
Panoramas
External modules

Changing a placemark icon

Save as filesEdit on JSFiddle

YMapsML is a language for describing geographical objects.

In YMapsML, each geographical object is associated with a geometric shape and a geo object that is used for displaying this shape on the map. The shape definitions and their anchors to geographical coordinates are set in corresponding YMapsML elements. The gml:Point element is designated for the "point" shape. The Placemark geo object is used for displaying a point on the map.

The appearance of the displayed objects is set in the repr:Representation.

The geoXml.load function is used for loading YMapsML data. After data loads, the function converts it to GeoObjectCollection a collection of geo objects , then passes it to the handler function as a parameter. A GeoObjectCollection can be displayed on the map.

Пишете на JavaScript? У нас есть вакансии
Mon Oct 31 2022 13:07:25 GMT+0300 (Moscow Standard Time)