Telogis.GeoBase.Constants |
Internal use only.
Name | Type | Description |
---|---|---|
BUFFERING | Number | Size of offscreen buffer. |
DEFAULT_LAYER_PADDING | Number | Amount to pad the maps bounds by when the clusterlayer updates its items. Defaults to 100. |
DEFAULT_LAYER_REQUESTS | Number | Each tile layer will default to making only 4 simultaneous requests unless specified otherwise in the config. Defaults to 4. |
DEFAULT_MAP_HEIGHT | Number | The height of the map if no height is available. Defaults to 240. |
DEFAULT_MAP_LAYER_REQUESTS | Number | The base tile layer will make up to 8 simultaneous tile requests by default.desc This gives it preference over additional tile layers unless specified otherwise in the config. Defaults to 8. |
DEFAULT_MAP_WIDTH | Number | The width of the map if no width is available. Defaults to 240. |
DEFAULT_MAP_ZOOMINDEX | Number | The initial zoom index of a map if one was not specified. Defaults to 8. |
DEFAULT_MAP_ZOOMS | Array | The zooms referenced by the maps ZoomIndex if using a tile size other than the legacy one. |
GESTURE_THRESHOLD | Object | Threshold values for determining the start of a gesture event. Defaults to { min: 0.95, max:1.05}. |
LEGACY_MAP_ZOOMS | Array | The zooms referenced by the maps ZoomIndex if using the legacy tile size. |
PROXIMITY | Number | A distance in pixels used for hit testing an object. If the mouse or touch is within this many pixels of the object it is considered a hit. |
TAP_TIMEOUT | Number | Maximum time in milliseconds between a TouchStart event and TouchEnd event to trigger a Click event. Anything longer than this is not translated into a Click event. |
TOUCH_HOVER | Number | Minimum time in milliseconds between a TouchStart event and no TouchEnd event to be considered 'hovering'. |