MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / getFeatureProperties

Function getFeatureProperties

src/openlayers/mapping/webmap/Util.js:8–17  ·  view source on GitHub ↗
(features)

Source from the content-addressed store, hash-verified

6import { FeatureService } from '../../services/FeatureService';
7
8export function getFeatureProperties(features) {
9 let properties = [];
10 if (isArray(features) && features.length) {
11 features.forEach((feature) => {
12 let property = feature.get('attributes');
13 property && properties.push(property);
14 });
15 }
16 return properties;
17}
18
19export function getFeatureBySQL(url, datasetNames, serviceOptions, processCompleted, processFaild, targetEpsgCode, restDataSingleRequestCount) {
20 getFeatureBySQLWithConcurrent(url, datasetNames, processCompleted, processFaild, serviceOptions, targetEpsgCode, restDataSingleRequestCount);

Callers 1

createMigrationLayerMethod · 0.90

Calls 4

forEachMethod · 0.80
pushMethod · 0.80
isArrayFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected