diff --git a/lib/utils/text_util.dart b/lib/utils/text_util.dart index e20963f..2d4f7b0 100644 --- a/lib/utils/text_util.dart +++ b/lib/utils/text_util.dart @@ -7,13 +7,13 @@ class TextUtils{ static String getDisplayTextFeture(GeoJsonFeature f){ RegExp regex = RegExp(r'([.]*0)(?!.*\d)'); String txt = ""; - if(f.properties!["cp"] > 0){ - //print("-- sub-- ${f.properties!["cp"]} ----"); - txt = "${f.properties!["cp"].toString().replaceAll(regex, '')}"; - } - if(f.properties!["buy_point"] != null && f.properties!["buy_point"] > 0){ + // if(f.properties!["cp"] > 0){ + // //print("-- sub-- ${f.properties!["cp"]} ----"); + // txt = "${f.properties!["cp"].toString().replaceAll(regex, '')}"; + // } + //if(f.properties!["buy_point"] != null && f.properties!["buy_point"] > 0){ txt = txt + "[${f.properties!["sub_loc_id"]}]"; - } + //} return txt; }