Hi All,
Please help me out on below issue
how to overlay the square from the service feature table. Thank you
Solved! Go to Solution.
@VarmaLanke1 Assuming you have a service feature table with the square polygon to overlay on the map. You can use the Feature service table's URL to create a FeatureLayer which can be added to the map's OperationalLayers.
Example:
// initialize the service feature table using a URL
val serviceFeatureTable = ServiceFeatureTable(tableURL)
// create a feature layer with the feature table
val featureLayer = FeatureLayer(serviceFeatureTable)
// set the feature layer on the map
mapView.map.operationalLayers.add(featureLayer)
Check out the sample using service feature table: https://developers.arcgis.com/kotlin/sample-code/add-feature-layers/
@VarmaLanke1 Assuming you have a service feature table with the square polygon to overlay on the map. You can use the Feature service table's URL to create a FeatureLayer which can be added to the map's OperationalLayers.
Example:
// initialize the service feature table using a URL
val serviceFeatureTable = ServiceFeatureTable(tableURL)
// create a feature layer with the feature table
val featureLayer = FeatureLayer(serviceFeatureTable)
// set the feature layer on the map
mapView.map.operationalLayers.add(featureLayer)
Check out the sample using service feature table: https://developers.arcgis.com/kotlin/sample-code/add-feature-layers/