Skip to content

Commit b3e8c40

Browse files
committed
fix where expression
1 parent 2aece1c commit b3e8c40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/esri/samples/displayinformation/show_labels_on_layer/ShowLabelsOnLayerSample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public void start(Stage stage) throws Exception {
9090
// position the label above and along the direction of the road
9191
json.add("labelPlacement", new JsonPrimitive("esriServerLinePlacementAboveAlong"));
9292
// only show labels on the interstate highways (others have an empty rte_num1 attribute)
93-
json.add("where", new JsonPrimitive("$feature.rte_num1 <> ' '"));
93+
json.add("where", new JsonPrimitive("rte_num1 <> ' '"));
9494
// set the text symbol as the label symbol
9595
json.add("symbol", new JsonParser().parse(textSymbol.toJson()));
9696

0 commit comments

Comments
 (0)