Places areas Class
Allows the logged-in user to select/add areas to locations. Pass either (publisherId,streamName) or (location) options.
Constructor
Places areas
(
-
options
Parameters:
-
options
Objectused to pass options
-
publisherId
StringLocation stream publisher id
-
streamName
StringPlaces/location stream name
-
location
Places.CoordinatesTo relate the areas to
-
Methods
getStream
(
-
[callback]
Get location stream and launch callback with this stream as argument
Parameters:
-
[callback]
Function optionalcallback
prompt
(
-
_proceed
Show Q.prompt to add new area
Parameters:
-
_proceed
FunctionCallback from Streams/related tool to create new stream
refresh
()
Refresh the display