Semantic MediaWiki and related extensions
|
Public Member Functions | |
__construct (LatLongValue $coordinates, string $title='', string $text='') | |
getCoordinates () | |
getJSONObject (string $defText='', string $defTitle='', string $defIconUrl='', string $defGroup='', string $defInlineLabel='', string $defVisitedIcon='') | |
hasIcon () | |
getIcon () | |
setIcon (string $icon) | |
getAddress () | |
hasGroup () | |
getGroup () | |
setGroup (string $group) | |
hasInlineLabel () | |
getInlineLabel () | |
setInlineLabel (string $label) | |
hasVisitedIcon () | |
getVisitedIcon () | |
setVisitedIcon (string $visitedIcon) | |
Public Member Functions inherited from Maps\Elements\BaseElement | |
setTitle (string $title) | |
setText (string $text) | |
setLink (string $link) | |
getArrayValue () | |
getJSONObject (string $defText='', string $defTitle='') | |
getText () | |
getTitle () | |
getLink () | |
Static Public Member Functions | |
static | newFromLatLon (float $lat, float $lon) |
Class describing a single location (geographical point).
TODO: rethink the design of this class after deciding on what actual role it has
GNU GPL v2+
Maps\Elements\Location::getAddress | ( | ) |
Returns the address corresponding to this location. If there is none, and empty sting is returned.
Maps\Elements\Location::hasGroup | ( | ) |
Returns whether Location is assigned to a group.