Skip to content

Commit 0b775ea

Browse files
committed
Fix the example so it works again.
1 parent 8e257af commit 0b775ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Examples/CalloutExample.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Rectangle {
6565

6666
console.log("x = ", mouse.x, " y = ", mouse.y);
6767
// call identify on the feature layer
68-
mapView.identifyLayer(featureLayer, mouse.x, mouse.y, 10);
68+
mapView.identifyLayerWithMaxResults(featureLayer, mouse.x, mouse.y, 10, Enums.IdentifyReturnsGeoElementsOnly, 1);
6969
}
7070

7171
onIdentifyLayerStatusChanged: {

0 commit comments

Comments
 (0)