ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Static Public Member Functions | |
static | settings () |
static | isActivated () |
Checks whether Map feature is activated. More... | |
static | setActivated (bool $activated) |
static | setType (string $type) |
static | getType () |
static | setStdLatitude (string $lat) |
static | getStdLatitude () |
static | setStdLongitude (string $lon) |
static | getStdLongitude () |
static | setStdZoom (string $zoom) |
static | getStdZoom () |
static | setApiKey (string $api_key) |
static | getApiKey () |
static | setStdTileServers (string $tile) |
static | getStdTileServers () |
Returns the tile server to be used in the installation. More... | |
static | setStdGeolocationServer ($geolocation) |
static | getStdGeolocationServer () |
Returns the reverse geolocation server to be used in the installation. More... | |
static | getDefaultSettings () |
Get default longitude, latitude and zoom. More... | |
static | getMapGUI () |
Get an instance of the GUI class. More... | |
static | getAvailableMapTypes () |
Get a dict { $id => $name } for available maps services. More... | |
Data Fields | |
const | DEFAULT_TILE = "a.tile.openstreetmap.org b.tile.openstreetmap.org c.tile.openstreetmap.org" |
const | DEFAULT_GEOLOCATION = null |
Static Public Attributes | |
static ilSetting | $_settings = null |
Definition at line 21 of file class.ilMapUtil.php.
|
static |
Definition at line 95 of file class.ilMapUtil.php.
References settings().
Referenced by ilGoogleMapGUI\getHtml(), and ilObjExternalToolsSettingsGUI\getMapsForm().
|
static |
Get a dict { $id => $name } for available maps services.
Definition at line 166 of file class.ilMapUtil.php.
Referenced by ilObjExternalToolsSettingsGUI\getMapsForm().
|
static |
Get default longitude, latitude and zoom.
Definition at line 135 of file class.ilMapUtil.php.
References settings().
Referenced by ilADTLocationFormBridge\addToForm(), ilADTLocationSearchBridgeSingle\addToForm(), ilObjCourseGUI\editMapSettingsObject(), ilObjGroupGUI\editMapSettingsObject(), and ILIAS\User\Profile\Fields\Standard\Location\getLegacyInput().
|
static |
Get an instance of the GUI class.
Definition at line 147 of file class.ilMapUtil.php.
References getType().
Referenced by ILIAS\User\Profile\PublicProfileGUI\getEmbeddable(), ilADTLocationPresentationBridge\getHTML(), ilLocationInputGUI\insert(), and ilMembershipGUI\membersMap().
|
static |
Returns the reverse geolocation server to be used in the installation.
Definition at line 125 of file class.ilMapUtil.php.
References DEFAULT_GEOLOCATION, and settings().
Referenced by ilLocationInputGUI\geolocationAvailiable(), and ilObjExternalToolsSettingsGUI\getMapsForm().
|
static |
Definition at line 65 of file class.ilMapUtil.php.
References settings().
Referenced by ilObjExternalToolsSettingsGUI\getMapsForm().
|
static |
Definition at line 75 of file class.ilMapUtil.php.
References settings().
Referenced by ilObjExternalToolsSettingsGUI\getMapsForm().
|
static |
Returns the tile server to be used in the installation.
Definition at line 110 of file class.ilMapUtil.php.
References DEFAULT_TILE, and settings().
Referenced by ilObjExternalToolsSettingsGUI\getMapsForm().
|
static |
Definition at line 85 of file class.ilMapUtil.php.
References settings().
Referenced by ilObjExternalToolsSettingsGUI\getMapsForm().
|
static |
Definition at line 55 of file class.ilMapUtil.php.
References settings().
Referenced by ilLocationInputGUI\geolocationAvailiable(), getMapGUI(), ilObjExternalToolsSettingsGUI\getMapsForm(), and ilObjExternalToolsSettingsGUI\saveMapsObject().
|
static |
Checks whether Map feature is activated.
API key must be provided.
Definition at line 40 of file class.ilMapUtil.php.
References settings().
Referenced by ilObjCourseGUI\editMapSettingsObject(), ilObjGroupGUI\editMapSettingsObject(), ILIAS\User\Profile\PublicProfileGUI\getEmbeddable(), ilObjExternalToolsSettingsGUI\getMapsForm(), ILIAS\User\LocalDIC\init(), ilMembershipGUI\membersMap(), ilMembershipGUI\setSubTabs(), ilObjCourseGUI\setSubTabs(), ilObjGroupGUI\setSubTabs(), and ilPageObjectGUI\showPage().
|
static |
Definition at line 45 of file class.ilMapUtil.php.
References settings().
Referenced by ilObjExternalToolsSettingsGUI\saveMapsObject().
|
static |
Definition at line 90 of file class.ilMapUtil.php.
References settings().
Referenced by ilObjExternalToolsSettingsGUI\saveMapsObject().
|
static |
Definition at line 117 of file class.ilMapUtil.php.
References settings().
Referenced by ilObjExternalToolsSettingsGUI\saveMapsObject().
|
static |
Definition at line 60 of file class.ilMapUtil.php.
References settings().
Referenced by ilObjExternalToolsSettingsGUI\saveMapsObject().
|
static |
Definition at line 70 of file class.ilMapUtil.php.
References settings().
Referenced by ilObjExternalToolsSettingsGUI\saveMapsObject().
|
static |
Definition at line 100 of file class.ilMapUtil.php.
References settings().
Referenced by ilObjExternalToolsSettingsGUI\saveMapsObject().
|
static |
Definition at line 80 of file class.ilMapUtil.php.
References settings().
Referenced by ilObjExternalToolsSettingsGUI\saveMapsObject().
|
static |
Definition at line 28 of file class.ilMapUtil.php.
References $_settings.
Referenced by getApiKey(), getDefaultSettings(), getStdGeolocationServer(), getStdLatitude(), getStdLongitude(), getStdTileServers(), getStdZoom(), getType(), isActivated(), setActivated(), setApiKey(), setStdGeolocationServer(), setStdLatitude(), setStdLongitude(), setStdTileServers(), setStdZoom(), and setType().
|
static |
Definition at line 50 of file class.ilMapUtil.php.
References settings().
Referenced by ilObjExternalToolsSettingsGUI\saveMapsObject().
|
static |
Definition at line 26 of file class.ilMapUtil.php.
Referenced by settings().
const ilMapUtil::DEFAULT_GEOLOCATION = null |
Definition at line 24 of file class.ilMapUtil.php.
Referenced by getStdGeolocationServer().
const ilMapUtil::DEFAULT_TILE = "a.tile.openstreetmap.org b.tile.openstreetmap.org c.tile.openstreetmap.org" |
Definition at line 23 of file class.ilMapUtil.php.
Referenced by ilObjExternalToolsSettingsGUI\getMapsForm(), and getStdTileServers().