$.getJSON("getPointsForMap.php",
function(json){
for (i = 0; i < json.markers.length; i++) {
if (json.markers[i].type == 9)
{
myPlacemark = new ymaps.Placemark([json.markers[i].lat,json.markers[i].lng],{
iconContent: ''
},
{
preset: 'twirl#yellowIcon'
})
}
myMap.geoObjects.add(myPlacemark);
}
});