flywave-mapview
Home > @flywave/flywave-mapview
flywave-mapview package
Functionality needed to render a map.
Remarks
This module provides all the functionality needed to display a map, including: - Map view management (MapView) - Data source handling (DataSource) - Camera utilities (CameraUtils) - Clipping planes evaluation (ClipPlanesEvaluator) - Text rendering capabilities - Map anchors for overlaying objects - Picking and interaction handling - Theme management - Tile management and rendering
Classes
Class | Description |
|---|---|
Handles animated extrusion effect of the buildings in MapView. | |
Provides background geometry for all tiles. | |
Accessor for nonindexed line geometry. | |
Accessor for nonindexed unspecified ( | |
The | |
Use Implemented as a singleton. Do not modify colors after getting them from the | |
Default concurrent decoder helper. A convenient singleton that maintains a separate [[ConcurrentWorkerSet]] for each bundle requested. Provides easy access to WorkerBasedDecoders for data sources. | |
Default concurrent tiler helper. A convenient singleton that maintains a separate [[ConcurrentWorkerSet]] for each bundle requested. Provides easy access to WorkerBasedTilers for data sources. | |
Helper class that maintains up-to-date MapView copyright information in DOM element. | |
Provides the most basic evaluation concept giving fixed values with some constraints. | |
Only exported for testing. | |
| |
Accessor for lines in an indexed geometry. | |
Container holding [[MapAnchor]] objects. | |
The core class of the library to call in order to create a map visualization. It needs to be linked to datasources. | |
Class that provides MapView's atmospheric scattering effect. | |
Class handling the Scene Environment, like fog, sky, background datasource, clearColor etc for MapView | |
Manages the fog display in MapView. | |
Class handling theme updates for MapView | |
The base class to extend for further passes in MapView, like the , | |
POI manager class, responsible for loading the objects from the , and preparing them for rendering. | |
The | |
The | |
DataSource providing geometry for poles | |
A simple ring buffer to store the last | |
Internal class to manage all text rendering. | |
A texture loader that supports request headers(e.g. for Authorization) | |
Loads and validates a theme from URL objects. | |
The class that holds the tiled data for a DataSource. | |
An accessor for all geometries in a tile. | |
Represents a unique TileKey and the area it takes up on screen. Note, in certain tiling projections, it is possible to have an offset, which represents a tile which has fully wrapped around, hence this defaults to 0 to simplify usage for projections which don't require it. | |
Evaluates camera clipping planes taking into account ground distance and camera tilt (pitch) angle (angle between look-at vector and ground surface normal). | |
Top view, clip planes evaluator that computes view ranges based on ground distance and elevation. | |
Copyright provider which retrieves copyright coverage information from provided URL. | |
Manages visible Tiles for MapView. Responsible for election of rendered tiles: - quad-tree traversal - frustum culling - sorting tiles by relevance (visible area) to prioritize load - limiting number of visible tiles - caching tiles - searching cache to replace visible but yet empty tiles with already loaded siblings in nearby zoom levels | |
Decoder based on [[ConcurrentWorkerSet]]. Decodes tiles using workers running in separate contexts (also known as | |
Tiler based on [[ConcurrentWorkerSet]]. Tiles payloads using workers running in separate contexts (also known as | |
Set of |
Abstract Classes
Abstract Class | Description |
|---|---|
Abstract base class of an accessor for nonindexed geometry. | |
Geometry accessor for both indexed and nonindexed | |
Base class to provide copyrights based on copyright coverage information, defined by geographical bounding boxes and relevant zoom level ranges. | |
Derive a class from | |
Abstract evaluator class that adds support for elevation constraints. | |
Abstract base class of indexed geometry. |
Enumerations
Enumeration | Description |
|---|---|
Animation states for extrusion effect | |
Lists light modes. | |
Atmosphere shader variants. | |
Atmosphere effect variants. | |
Status of the elevation range calculation. | |
Enum representing classification types for rendered objects. These values are used as stencil references in depth reading operations to filter results by object classification. | |
State of loading. | |
Hint for the WebGL implementation on which power mode to prefer. | |
Describes the general type of a picked object. | |
Way the memory consumption of a tile is computed. Either in number of tiles, or in MegaBytes. If it is in MB, an estimation is used. | |
The state the ITileLoader. | |
Interfaces
Interface | Description |
|---|---|
Schema of [Map Tile API copyright endpoint](https://developer.here.com/documentation/map-tile/topics/resource-copyright.html) JSON response. | |
Copyright info attached to data displayed on map. Provided by DataSource and attached to Tiles. In most cases, an application should display this information on MapView to conform with licencing terms of its map data providers. | |
| |
Options for a DataSource. | |
List of visible tiles for a DataSource. | |
JavaScript events for custom objects. Stores all listeners to allow removing all listeners for housekeeping. Will be replaced by | |
Elevation range with an optional calculation status. | |
Source for elevation ranges per tile. The returned elevation ranges will be used in the visible tile computation to calculate proper bounding boxes. | |
Specifies how the FOV (Field of View) should be calculated. | |
Basic interface for geometry accessors. | |
Interface to access lines. Allows read access for some important attributes. | |
Accessor for unspecified 3D objects, like landmarks. | |
The interface for the Pass class. | |
| |
Interface for a client visitor that is used to visit all | |
The interface for managing tile loading. | |
Parameters for . | |
User configuration for the MapView. | |
The structure of the options to pass into [[createMaterial]]. | |
A general pick result. You can access the details of a picked geometry from the property | |
The type of | |
TextElementsRenderer representation of a 's TextStyle. | |
Options to customize loading process. | |
An interface that provides options for TileDataAccessor. | |
An interface for optional feature data that is saved in a | |
Simple information about resource usage by the Tile. | |
An object that contains information about resources used by a tile. | |
Limited set of MapViewOptions used for VisibleTileSet. |
Namespaces
Namespace | Description |
|---|---|
MapView utilities: View transformations, camera setup, view bounds computation... | |
Variables
Variable | Description |
|---|---|
Zoom level to request terrain tiles for getting the height of the camera above terrain. |
Type Aliases
Type Alias | Description |
|---|---|
Schema of [Map Tile API copyright endpoint](https://developer.here.com/documentation/map-tile/topics/resource-copyright.html) JSON response. | |
An interface describing [[THREE.Object3D]]s anchored on given . | |
Any type supported by WebGLRenderingContext.texImage2D() for texture creation | |