breadcrumbs=array(
'Standort'=>array('index'),
$model->name,
);
$this->pageTitle = $model->name . ' - ' . Yii::app()->name;
$this->menu=array(
array('label'=>'Standorte', 'url'=>array('index')),
);
?>
type == "Bühne") ? "Bühne": "Standort" ?> "name ?>"
zoom = 20;
$mapTypeControlOptions = array(
'position'=> EGMapControlPosition::LEFT_BOTTOM,
'style'=>EGMap::MAPTYPECONTROL_STYLE_DROPDOWN_MENU
);
$gMap->width = '100%';
$gMap->setOptions(array("mapTypeId"=>EGMap::TYPE_HYBRID));
$gMap->mapTypeControlOptions= $mapTypeControlOptions;
$gMap->setCenter($model->pos_lat, $model->pos_long);
$info_window_a = new EGMapInfoWindow('
'.$model->name.'
');
$icon = new EGMapMarkerImage("http://www.astaf.de/images/map/marker_red_32.png");
$icon->setSize(32, 32);
$icon->setAnchor(16, 16.5);
$icon->setOrigin(0, 0);
$marker = new EGMapMarkerWithLabel($model->pos_lat, $model->pos_long, array('title' => $model->name,'icon'=> $icon));
$marker->draggable=false;
$marker->raiseOnDrag= true;
$marker->addHtmlInfoWindow($info_window_a);
$gMap->addMarker($marker);
// enabling marker clusterer just for fun
// to view it zoom-out the map
$gMap->enableMarkerClusterer(new EGMapMarkerClusterer());
$gMap->renderMap();
?>
type) {
$this->renderPartial('_standort',array(
'data'=>$model,
));
} elseif ("Bühne" == $model->type) {
$this->renderPartial('_buehne',array(
'data'=>$model,
));
} else {
echo "asd";
}
?>