CPのラベルが切れている
This commit is contained in:
@ -5,13 +5,17 @@ class TextUtils {
|
||||
static String getDisplayTextFeture(GeoJSONFeature f) {
|
||||
RegExp regex = RegExp(r'([.]*0)(?!.*\d)');
|
||||
String txt = "";
|
||||
if (f.properties!["sub_loc_id"] != null) {
|
||||
txt = "${f.properties!["sub_loc_id"]}";
|
||||
}
|
||||
// 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"]}";
|
||||
//txt = "$txt${f.properties!["sub_loc_id"]}";
|
||||
//}
|
||||
//print("Text = ${txt}");
|
||||
return txt;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user