3 declare(strict_types=1);
31 $this->
lng = $DIC[
'lng'];
32 $this->tpl = $DIC[
'tpl'];
34 $this->
lng->loadLanguageModule(
"maps");
37 $this->width =
"500px";
38 $this->height =
"300px";
40 $this->longitude =
"";
42 $this->enable_type_control =
false;
43 $this->enable_update_listener =
false;
44 $this->enable_navigation_control =
false;
45 $this->user_marker = [];
46 $this->large_map_control =
false;
47 $this->central_marker =
false;
173 $this->user_marker[] = $user_id;
177 abstract public function getHtml(): string;
ilGlobalTemplateInterface $tpl
bool $enable_update_listener
setLongitude(string $longitude)
setEnableUpdateListener(bool $enable_update_listener)
setEnableCentralMarker(bool $central_marker)
getUserListHtml()
Get User List HTML (to be displayed besides the map)
setLatitude(string $latitude)
setEnableTypeControl(bool $enable_type_control)
getEnableUpdateListener()
setEnableLargeMapControl(bool $large_map_control)
addUserMarker(int $user_id)
getEnableLargeMapControl()
getEnableNavigationControl()
bool $enable_type_control
bool $enable_navigation_control
setHeight(string $height)
User interface class for maps.
setEnableNavigationControl(bool $enable_navigation_control)