Location
Interface
constructor
name
get_
latitude
get_
longitude
set_
location
GJS API Reference
Shumate-1.0
Shumate
LocationInterface
Class LocationInterface
An interface common to objects having latitude and longitude.
record
Hierarchy
LocationInterface
Index
Constructors
constructor
Properties
name
Methods
get_
latitude
get_
longitude
set_
location
Constructors
constructor
new
Location
Interface
(
)
:
LocationInterface
Returns
LocationInterface
Properties
Static
name
name
:
string
Methods
get_
latitude
get_
latitude
(
location
:
Shumate
.
Location
)
:
number
Parameters
location:
Shumate
.
Location
Returns
number
get_
longitude
get_
longitude
(
location
:
Shumate
.
Location
)
:
number
Parameters
location:
Shumate
.
Location
Returns
number
set_
location
set_
location
(
location
:
Shumate
.
Location
, latitude
:
number
, longitude
:
number
)
:
void
Parameters
location:
Shumate
.
Location
latitude:
number
longitude:
number
Returns
void
Location
Interface
constructor
name
get_
latitude
get_
longitude
set_
location
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJTaHVtYXRlXzFfMC5TaHVtYXRlLkxvY2F0aW9uSW50ZXJmYWNlLmh0bWwjY29uc3RydWN0b3IiLCJuYW1lIjoiY29uc3RydWN0b3IiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyB0c2QtaXMtc3RhdGljIiwiaHJlZiI6IlNodW1hdGVfMV8wLlNodW1hdGUuTG9jYXRpb25JbnRlcmZhY2UuaHRtbCNuYW1lIiwibmFtZSI6Im5hbWUiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLW1ldGhvZCB0c2QtcGFyZW50LWtpbmQtY2xhc3M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