LuciadCPillar C# 2024.0.04
|
Builder
for the MBTiles options.
More...
Public Member Functions | |
Builder (Luciad.Formats.MbTiles.MbTilesModelDecoderOptions.Builder other) | |
Luciad.Formats.MbTiles.MbTilesModelDecoderOptions | Build () |
Builds the options for the MBTiles model decoder. More... | |
void | Dispose () |
Luciad.Formats.MbTiles.MbTilesModelDecoderOptions.Builder | FeatureIdProperty (string featureIdProperty) |
Sets a property to be used as feature id, to identify and associate features belonging to the same object together. More... | |
Luciad.Formats.MbTiles.MbTilesModelDecoderOptions.Builder | HttpClient (Luciad.Net.Http.IHttpClient httpClient) |
Sets the http client to be used for fetching the data. More... | |
Luciad.Formats.MbTiles.MbTilesModelDecoderOptions.Builder | MbTilesType (Luciad.Formats.MbTiles.MbTilesType mbTilesType) |
Sets the MBTiles type . More... | |
Builder
for the MBTiles options.
|
inline |
|
inline |
Builds the options for the MBTiles model decoder.
System.InvalidOperationException | When not all mandatory parameters are set. |
|
inline |
|
inline |
Sets a property to be used as feature id, to identify and associate features belonging to the same object together.
Calling this function is optional.
If not set, and an "id" property exists in the data, the "id" property is used. If not set but no "id" property exists in the data, a new id is generated per feature.
featureIdProperty | the property to be used as feature id. |
|
inline |
Sets the http client to be used for fetching the data.
Calling this function is optional.
See related article for an example on how to customize HTTP requests when loading data.
httpClient | HTTP client implementation to fetch the MBTiles resources. When null the decoder uses its own HTTP client. |
|
inline |
Sets the MBTiles type
.
Calling this function is optional.
This method can be used to enforce the expected MBTiles type when the source metadata does not contain sufficient information to determine it.
mbTilesType | the MBTiles type. |