04-16-2018 07:40 AM
Hi Lukasz,
We need to selected multiple features of a vector geopackage layer.
We tried with the following code but we received an error.
We things that our problem is the featureClassId of geopackage layer.
Can you provide an example?
How knows the featureClassId of a geopackage layer?
var successCallback = function (result) { console.log("Feature selected"); }; var errorCallback = function (error) { console.log("Error while selecting feature: " + error.message); }; var config = { featureClassId: "canonadaXEDatasetId", featureIds: ["6698"] //id of the existing Zombie feature } gsp.selectedFeatures.add(config, successCallback, errorCallback);
Best Regards.
Marti.
Solved! Go to Solution.
04-18-2018 12:49 AM
Hi,
please send me the error message and the configuraiton file.
04-18-2018 02:59 AM
The sintaxis of featureClassId by Vector Geopackage layer is: {service connectionString}tableName