We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aece1c commit b3e8c40Copy full SHA for b3e8c40
src/main/java/com/esri/samples/displayinformation/show_labels_on_layer/ShowLabelsOnLayerSample.java
@@ -90,7 +90,7 @@ public void start(Stage stage) throws Exception {
90
// position the label above and along the direction of the road
91
json.add("labelPlacement", new JsonPrimitive("esriServerLinePlacementAboveAlong"));
92
// only show labels on the interstate highways (others have an empty rte_num1 attribute)
93
- json.add("where", new JsonPrimitive("$feature.rte_num1 <> ' '"));
+ json.add("where", new JsonPrimitive("rte_num1 <> ' '"));
94
// set the text symbol as the label symbol
95
json.add("symbol", new JsonParser().parse(textSymbol.toJson()));
96
0 commit comments