Skip to content

Commit 51e416e

Browse files
committed
fix: missing MultiPoint geometry type check in feature style
1 parent b3a7ab9 commit 51e416e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

map/client/utils/utils.features.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ export function getFeatureStyleType(feature) {
513513
logger.warn('[KDK] feature has undefined geometry')
514514
return
515515
}
516-
if (geometryType === 'Point') return 'point'
516+
if (['Point', 'MultiPoint'].includes(geometryType)) return 'point'
517517
if (['LineString', 'MultiLineString'].includes(geometryType)) return 'line'
518518
if (['Polygon', 'MultiPolygon'].includes(geometryType)) return 'polygon'
519519
logger.warn(`[KDK] unsupported geometry of type of ${geometryType}`)

0 commit comments

Comments
 (0)