Semantic MediaWiki and related extensions
Public Member Functions | Protected Attributes | List of all members
Maps\Elements\Line Class Reference
Collaboration diagram for Maps\Elements\Line:
Collaboration graph
[legend]

Public Member Functions

 __construct (array $coordinates=[])
 
 getLineCoordinates ()
 
 getJSONObject ($defText= '', $defTitle= '')
 
- Public Member Functions inherited from MapsBaseStrokableElement
 getStrokeColor ()
 
 setStrokeColor ($strokeColor)
 
 getStrokeOpacity ()
 
 setStrokeOpacity ($strokeOpacity)
 
 getStrokeWeight ()
 
 setStrokeWeight ($strokeWeight)
 
 hasStrokeColor ()
 
 hasStrokeOpacity ()
 
 hasStrokeWeight ()
 
 getJSONObject ($defText= '', $defTitle= '')
 
- Public Member Functions inherited from Maps\Elements\BaseElement
 __construct ()
 
 getTitle ()
 
 setTitle ($title)
 
 getText ()
 
 setText ($text)
 
 getLink ()
 
 setLink ($link)
 
 getJSONObject ($defText= '', $defTitle= '')
 
 getArrayValue ()
 
 getOptions ()
 
 setOptions (ElementOptions $options)
 

Protected Attributes

 $coordinates
 
- Protected Attributes inherited from MapsBaseStrokableElement
 $strokeColor
 
 $strokeOpacity
 
 $strokeWeight
 
- Protected Attributes inherited from Maps\Elements\BaseElement
 $options
 

Detailed Description

Class representing a collection of LatLongValue objects forming a line.

Since
3.0

GNU GPL v2+

Author
Kim Eik < kim@h.nosp@m.eldi.nosp@m.g.org >
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >

Constructor & Destructor Documentation

Maps\Elements\Line::__construct ( array  $coordinates = [])
Since
3.0
Parameters
LatLongValue[]$coordinates
Exceptions
InvalidArgumentException

Member Function Documentation

Maps\Elements\Line::getJSONObject (   $defText = '',
  $defTitle = '' 
)
Since
3.0
Parameters
string$defText
string$defTitle
Returns
array
Maps\Elements\Line::getLineCoordinates ( )
Since
3.0
Returns
LatLongValue[]

Member Data Documentation

Maps\Elements\Line::$coordinates
protected

The documentation for this class was generated from the following file: