Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
HARP-15488 Don't add ground planes to FeatureDataSources
Browse files Browse the repository at this point in the history
They cover up the fallback tiles which looks like flickering

Signed-off-by: Jonathan Stichbury <2533428+nzjony@users.noreply.github.com>
  • Loading branch information
nzjony committed Jun 1, 2021
1 parent 33a534c commit 0ea1a7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions @here/harp-examples/src/datasource_geojson_visibility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ export namespace GeoJsonVisibilityExample {
const featuresDataSource = new VectorTileDataSource({
decoder: new VectorTileDecoder(),
styleSetName: "geojson",
dataProvider,
addGroundPlane: false
dataProvider
});

featuresDataSource.dataSourceOrder = 1;
Expand Down
3 changes: 2 additions & 1 deletion @here/harp-features-datasource/lib/FeaturesDataSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ export class FeaturesDataSource extends VectorTileDataSource {
constructor(options?: FeatureDataSourceOptions) {
super({
...options,
dataProvider: new GeoJsonDataProvider(NAME, DEFAULT_GEOJSON, options)
dataProvider: new GeoJsonDataProvider(NAME, DEFAULT_GEOJSON, options),
addGroundPlane: false
});
if (options !== undefined) {
if (options.features !== undefined) {
Expand Down

0 comments on commit 0ea1a7a

Please sign in to comment.