Под рукой был пример с гуглом, но в яндексе также, только вместо слов "google", "yandex"
[CODE]$PLACEMARKS[]["LON"] = $lon;
$PLACEMARKS[]["LAT"] = $lat;
$PLACEMARKS[]["TEXT"] = $text;
$PLACEMARKS[]["LON"] = $lon1;
$PLACEMARKS[]["LAT"] = $lat1;
$PLACEMARKS[]["TEXT"] = $text1;
<? $APPLICATION->IncludeComponent("bitrix:map.google.view",
"",
array("INIT_MAP_TYPE" => "MAP",
"MAP_DATA" => serialize(
array(
'google_lat' => $lat, //
'google_lon' => $lon, //
'google_scale' => $scale,
'PLACEMARKS' => $PLACEMARKS
)
),
"MAP_WIDTH" => "671",
"MAP_HEIGHT" => "616",
"CONTROLS" => array(
0 => "SMALL_ZOOM_CONTROL",
1 => "TYPECONTROL",
2 => "SCALELINE",
),
"OPTIONS" => array(
0 => "ENABLE_SCROLL_ZOOM",
1 => "ENABLE_DBLCLICK_ZOOM",
2 => "ENABLE_DRAGGING",
3 => "ENABLE_KEYBOARD",
),
"MAP_ID" => "MAP",
),
false,
array("ACTIVE_COMPONENT" => "Y")
);?>[/CODE]