Skip to content

Commit 55154e1

Browse files
author
Michael Tims
authored
Merge pull request #105 from Esri/james/targetScale
James/target scale
2 parents 1b16173 + 0b775ea commit 55154e1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Examples/AttachmentListViewExample.qml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Rectangle {
4343
wkid: 102100
4444
}
4545
}
46-
scale: 3e7
46+
targetScale: 3e7
4747
}
4848

4949
FeatureLayer {

Examples/AttributeListViewExample.qml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Rectangle {
4343
wkid: 102100
4444
}
4545
}
46-
scale: 3e7
46+
targetScale: 3e7
4747
}
4848

4949
FeatureLayer {

Examples/CalloutExample.qml

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Rectangle {
4949
y: 6806138.66
5050
spatialReference: SpatialReference { wkid: 102100 }
5151
}
52-
scale: 2e6
52+
targetScale: 2e6
5353
}
5454
}
5555

@@ -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)