Private
constructorThis class should not be instantiated by users of LuciadRIA.
The coordinate type of geometries in this model.
Indicates whether credentials should be included with HTTP requests.
Set this to true if the server requires credentials, like HTTP basic authentication headers or cookies.
You should disable credentials if the server is configured to allow cross-origin requests from all domains (Acces-Control-Allow-Origin=*
).
If the server allows CORS requests from all domains, the browser will block all requests where credentials=true
.
Once set, all subsequent HTTP requests will use the newly set value.
The default value is false
.
The model descriptor of this model.
The orientedBox is a read-only attribute that contains a tight-fitting 3D box around the dataset. The OrientedBox is defined in the same reference as this model.
The reference in which this model is defined.
Headers to send with every HTTP request.
An object literal that represents the headers to send with every HTTP request. The property names represent HTTP header names, the property values represent the HTTP header values. This property can be set dynamically (post-construction). Once set, all subsequent HTTP requests will use the newly set headers.
Note that when custom headers are being sent to a server on another domain, the server will have to properly
respond to pre-flight CORS requests (a HTTP OPTION request sent by the browser before doing the actual request).
The server has to indicate that the header can be used in the actual request, by including it in
the pre-flight's Access-Control-Allow-Headers
response header.
The default value is null
.
Custom request parameters to send along with 3DTiles requests. The object literal can contain simple key/value pairs. Accepted values are strings, numbers and booleans. A ProgrammingError will be thrown if values of another type are used. Values must not be URL encoded.
Assignments of other values than object literals to requestParameters
will throw an Error. Clearing
the parameters can be done by assigning null
or an empty object literal to
requestParameters
.
The URL of this OGC 3D Tiles tileset model. It is the URL where the root tileset.json resides, including "tileset.json" itself.
For example, if tileset.json is located at "http://www.mytileset.com/ogc/dataset/tileset.json", then the `url` is "http://www.mytileset.com/ogc/dataset/tileset.json".
The parameter string of model's URL.
Please use requestParameters
Override to provide attribution strings for your OGC3DTilesModel. By default, this returns an empty array.
Static
createCreates an OGC 3D Tiles Model for a given 3D tile service
The URI of the OGC 3D Tiles Model. It is the URL where the root tileset.json resides, including "tileset.json" itself.
Optional
options: CreateOGC3DTilesModelOptionsAn object literal specifying options for the creation of the OGC 3D Tiles Model.
A promise for an OGC3DTilesModel. If the model cannot be created then the promise is rejected with either RequestError.
AttributedTileSet.on AttributionChanged
An OGC tileset model connects to a 3D tile service to retrieve tiles for a TileSet3DLayer. Its constructor should not be called directly. Instead, use the static create method:
Supported versions
The current LuciadRIA OGC 3D Tiles model supports the OGC 3D Tiles 1.0 specification. It also partially supports the OGC 3D Tiles 1.1 specification. It explicitly supports:
The following limitations hold for OGC 3D Tiles: