Constructor
new PlopsalandDeutschland()
- Source:
- Since:
Classes
- PlopsalandDeutschland
Methods
(async) buildAttractionEntities()
- Description:
- Build the attraction entities for this destination
- Source:
buildBaseEntityObject(data) → {object}
- Description:
- Helper function to build a basic entity document
Useful to avoid copy/pasting
- Source:
Parameters:
Name |
Type |
Description |
data |
object
|
|
Returns:
-
Type
-
object
(async) buildDestinationEntity()
- Description:
- Build the destination entity representing this destination
- Source:
(async) buildEntityLiveData()
- Source:
(async) buildEntityScheduleData() → {array.<object>}
- Description:
- Return schedule data for all scheduled entities in this destination
- Source:
Returns:
-
Type
-
array.<object>
(async) buildParkEntities()
- Description:
- Build the park entities for this destination
- Source:
(async) buildRestaurantEntities()
- Description:
- Build the restaurant entities for this destination
- Source:
(async) buildShowEntities()
- Description:
- Build the show entities for this destination
- Source:
(async) getEntertainmentProgram()
- Description:
- Get entertainment/shows schedule
- Source:
(async) getParkHours()
- Description:
- Source:
(async) getPointsOfInterest()
- Description:
- Get points of interest data (attractions, restaurants, shops, etc.)
- Source:
(async) getWaitingTimes()
- Description:
- Get waiting times for attractions
- Source:
imageToCoordinates(x, y)
- Description:
- Convert image coordinates on the park map to geographical coordinates
This uses a linear transformation based on known control points on the park map image
to convert pixel coordinates (x, y) to longitude and latitude.
Gives a good enough approximation for the park map.
- Source:
Parameters:
Name |
Type |
Description |
x |
number
|
|
y |
number
|
|