feat: basic navigation with bugs
This commit is contained in:
@ -36,7 +36,6 @@ class Feature with _$Feature {
|
||||
points: pts,
|
||||
borderColor: Colors.black26,
|
||||
borderStrokeWidth: 2.0,
|
||||
hitValue: 'test${pts.length}',
|
||||
);
|
||||
final polygon = geometry as GeoJSONPolygon;
|
||||
// print(polygon.geometry!.geoSeries[0].geoPoints);
|
||||
|
@ -40,7 +40,7 @@ Result<Feature> parseFeature(
|
||||
|
||||
final building = yaml['building'] as String?;
|
||||
|
||||
print("yaml: $yaml");
|
||||
// print("yaml: $yaml");
|
||||
|
||||
var raw_type = yaml['type'] as String?;
|
||||
if (raw_type == null && layer?.toLowerCase() == 'buildings') {
|
||||
@ -123,7 +123,7 @@ Result<List<String>> stringifyList(List<dynamic> tramLines) {
|
||||
|
||||
Result<List<T>> getYamlList<T>(YamlMap yaml, String key) {
|
||||
try {
|
||||
print('yaml is ${yaml[key]}');
|
||||
// print('yaml is ${yaml[key]}');
|
||||
final val = (yaml[key] as YamlList?);
|
||||
if (val == null) {
|
||||
return bail("Key $key is missing in yaml");
|
||||
|
Reference in New Issue
Block a user