Skip to content

Commit

Permalink
Support time-series popup for MultiPolygonSeries covjson
Browse files Browse the repository at this point in the history
- Currently, the playground does not show a popup for `MultiPolygonSeries` covjson files and instead displays a `No data` popup when a polygon is clicked.
- This change fixes that
  • Loading branch information
ThorodanBrom authored Sep 4, 2024
1 parent 3d59c74 commit f7b5d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function isVerticalProfile (cov) {
}

function isTimeSeries (cov) {
return cov.domainType === C.COVJSON_POINTSERIES || cov.domainType === C.COVJSON_POLYGONSERIES
return cov.domainType === C.COVJSON_POINTSERIES || cov.domainType === C.COVJSON_POLYGONSERIES || cov.domainType == C.COVJSON_MULTIPOLYGONSERIES
}

function createLayer(cov, opts) {
Expand Down

0 comments on commit f7b5d2d

Please sign in to comment.