Home Reference Source
public class | source

Location

Location class used as base for any themeparks object that has a physical location (parks, resorts, restaurants etc.)

Static Method Summary

Static Public Methods
public static

randomBetween(lonA: *, latA: *, lonB: *, latB: *): Object

Return a random point within an area defined by lonA, latA, lonB, and latB (a square)

Static Public Methods

public static randomBetween(lonA: *, latA: *, lonB: *, latB: *): Object source

Return a random point within an area defined by lonA, latA, lonB, and latB (a square)

Params:

NameTypeAttributeDescription
lonA *
latA *
lonB *
latB *

Return:

Object

object with longitude and latitude randomly set between locationA and locationB