ILIAS
Release_4_0_x_branch Revision 61816
|
User interface class for google maps. More...
Public Member Functions | |
ilGoogleMapGUI () | |
setMapId ($a_mapid) | |
Set Map ID. | |
getMapId () | |
Get Map ID. | |
setWidth ($a_width) | |
Set Width. | |
getWidth () | |
Get Width. | |
setHeight ($a_height) | |
Set Height. | |
getHeight () | |
Get Height. | |
setLatitude ($a_latitude) | |
Set Latitude. | |
getLatitude () | |
Get Latitude. | |
setLongitude ($a_longitude) | |
Set Longitude. | |
getLongitude () | |
Get Longitude. | |
setZoom ($a_zoom) | |
Set Zoom. | |
getZoom () | |
Get Zoom. | |
setEnableTypeControl ($a_enabletypecontrol) | |
Set Use Map Type Control. | |
getEnableTypeControl () | |
Get Use Map Type Control. | |
setEnableNavigationControl ($a_enablenavigationcontrol) | |
Set Use Navigation Control. | |
getEnableNavigationControl () | |
Get Use Navigation Control. | |
setEnableUpdateListener ($a_enableupdatelistener) | |
Set Activate Update Listener. | |
getEnableUpdateListener () | |
Get Activate Update Listener. | |
setEnableLargeMapControl ($a_largemapcontrol) | |
Set Large Map Control. | |
getEnableLargeMapControl () | |
Get Large Map Control. | |
setEnableCentralMarker ($a_centralmarker) | |
Enable Central Marker. | |
getEnableCentralMarker () | |
Get Enable Central Marker. | |
addUserMarker ($a_user_id) | |
Add user marker. | |
getHtml () | |
Get HTML. | |
getUserListHtml () | |
Get User List HTML (to be displayed besides the map) |
Protected Attributes | |
$enabletypecontrol = false | |
$enableupdatelistener = false | |
$enablenavigationcontrol = false | |
$enablelargemapcontrol = false | |
$width = "500px" | |
$height = "300px" | |
$user_marker = array() |
User interface class for google maps.
Definition at line 32 of file class.ilGoogleMapGUI.php.
ilGoogleMapGUI::addUserMarker | ( | $a_user_id | ) |
Add user marker.
int | $a_user_id | User ID |
Definition at line 284 of file class.ilGoogleMapGUI.php.
ilGoogleMapGUI::getEnableCentralMarker | ( | ) |
Get Enable Central Marker.
Definition at line 274 of file class.ilGoogleMapGUI.php.
Referenced by getHtml().
ilGoogleMapGUI::getEnableLargeMapControl | ( | ) |
Get Large Map Control.
Definition at line 254 of file class.ilGoogleMapGUI.php.
Referenced by getHtml().
ilGoogleMapGUI::getEnableNavigationControl | ( | ) |
Get Use Navigation Control.
Definition at line 214 of file class.ilGoogleMapGUI.php.
References $enablenavigationcontrol.
Referenced by getHtml().
ilGoogleMapGUI::getEnableTypeControl | ( | ) |
Get Use Map Type Control.
Definition at line 194 of file class.ilGoogleMapGUI.php.
References $enabletypecontrol.
Referenced by getHtml().
ilGoogleMapGUI::getEnableUpdateListener | ( | ) |
Get Activate Update Listener.
Definition at line 234 of file class.ilGoogleMapGUI.php.
References $enableupdatelistener.
Referenced by getHtml().
ilGoogleMapGUI::getHeight | ( | ) |
Get Height.
Definition at line 114 of file class.ilGoogleMapGUI.php.
References $height.
Referenced by getHtml().
ilGoogleMapGUI::getHtml | ( | ) |
Get HTML.
Definition at line 292 of file class.ilGoogleMapGUI.php.
References $tpl, $user, ilObject\_exists(), getEnableCentralMarker(), getEnableLargeMapControl(), getEnableNavigationControl(), getEnableTypeControl(), getEnableUpdateListener(), getHeight(), getLatitude(), getLongitude(), getMapId(), getWidth(), and getZoom().
ilGoogleMapGUI::getLatitude | ( | ) |
Get Latitude.
Definition at line 134 of file class.ilGoogleMapGUI.php.
Referenced by getHtml().
ilGoogleMapGUI::getLongitude | ( | ) |
Get Longitude.
Definition at line 154 of file class.ilGoogleMapGUI.php.
Referenced by getHtml().
ilGoogleMapGUI::getMapId | ( | ) |
Get Map ID.
Definition at line 74 of file class.ilGoogleMapGUI.php.
Referenced by getHtml(), and getUserListHtml().
ilGoogleMapGUI::getUserListHtml | ( | ) |
Get User List HTML (to be displayed besides the map)
Definition at line 408 of file class.ilGoogleMapGUI.php.
References $tpl, $user, ilObject\_exists(), and getMapId().
ilGoogleMapGUI::getWidth | ( | ) |
Get Width.
Definition at line 94 of file class.ilGoogleMapGUI.php.
References $width.
Referenced by getHtml().
ilGoogleMapGUI::getZoom | ( | ) |
Get Zoom.
Definition at line 174 of file class.ilGoogleMapGUI.php.
Referenced by getHtml().
ilGoogleMapGUI::ilGoogleMapGUI | ( | ) |
Definition at line 43 of file class.ilGoogleMapGUI.php.
ilGoogleMapGUI::setEnableCentralMarker | ( | $a_centralmarker | ) |
Enable Central Marker.
boolean | $a_centralmarker | Central Marker |
Definition at line 264 of file class.ilGoogleMapGUI.php.
ilGoogleMapGUI::setEnableLargeMapControl | ( | $a_largemapcontrol | ) |
Set Large Map Control.
boolean | $a_largemapcontrol | Large Map Control |
Definition at line 244 of file class.ilGoogleMapGUI.php.
ilGoogleMapGUI::setEnableNavigationControl | ( | $a_enablenavigationcontrol | ) |
Set Use Navigation Control.
boolean | $a_enablenavigationcontrol | Use Navigation Control |
Definition at line 204 of file class.ilGoogleMapGUI.php.
ilGoogleMapGUI::setEnableTypeControl | ( | $a_enabletypecontrol | ) |
Set Use Map Type Control.
boolean | $a_enabletypecontrol | Use Map Type Control |
Definition at line 184 of file class.ilGoogleMapGUI.php.
ilGoogleMapGUI::setEnableUpdateListener | ( | $a_enableupdatelistener | ) |
Set Activate Update Listener.
boolean | $a_enableupdatelistener | Activate Update Listener |
Definition at line 224 of file class.ilGoogleMapGUI.php.
ilGoogleMapGUI::setHeight | ( | $a_height | ) |
Set Height.
string | $a_height | Height |
Definition at line 104 of file class.ilGoogleMapGUI.php.
ilGoogleMapGUI::setLatitude | ( | $a_latitude | ) |
Set Latitude.
string | $a_latitude | Latitude |
Definition at line 124 of file class.ilGoogleMapGUI.php.
ilGoogleMapGUI::setLongitude | ( | $a_longitude | ) |
Set Longitude.
string | $a_longitude | Longitude |
Definition at line 144 of file class.ilGoogleMapGUI.php.
ilGoogleMapGUI::setMapId | ( | $a_mapid | ) |
Set Map ID.
string | $a_mapid | Map ID |
Definition at line 64 of file class.ilGoogleMapGUI.php.
ilGoogleMapGUI::setWidth | ( | $a_width | ) |
Set Width.
string | $a_width | Width |
Definition at line 84 of file class.ilGoogleMapGUI.php.
ilGoogleMapGUI::setZoom | ( | $a_zoom | ) |
Set Zoom.
int | $a_zoom | Zoom |
Definition at line 164 of file class.ilGoogleMapGUI.php.
|
protected |
Definition at line 38 of file class.ilGoogleMapGUI.php.
|
protected |
Definition at line 37 of file class.ilGoogleMapGUI.php.
Referenced by getEnableNavigationControl().
|
protected |
Definition at line 35 of file class.ilGoogleMapGUI.php.
Referenced by getEnableTypeControl().
|
protected |
Definition at line 36 of file class.ilGoogleMapGUI.php.
Referenced by getEnableUpdateListener().
|
protected |
Definition at line 40 of file class.ilGoogleMapGUI.php.
Referenced by getHeight().
|
protected |
Definition at line 41 of file class.ilGoogleMapGUI.php.
|
protected |
Definition at line 39 of file class.ilGoogleMapGUI.php.
Referenced by getWidth().