diff --git a/ios/Classes/FinAppletExt/Common/Util/Map/FATExtChoosePoiViewController.m b/ios/Classes/FinAppletExt/Common/Util/Map/FATExtChoosePoiViewController.m index 3e20486..771581a 100644 --- a/ios/Classes/FinAppletExt/Common/Util/Map/FATExtChoosePoiViewController.m +++ b/ios/Classes/FinAppletExt/Common/Util/Map/FATExtChoosePoiViewController.m @@ -169,15 +169,14 @@ static NSString *kUserAnnotationId = @"FATUserAnnotationViewId"; }else { [localSearch startWithCompletionHandler:^(MKLocalSearchResponse *_Nullable response, NSError *_Nullable error) { //NSMutableArray *placeArrayM = [NSMutableArray array]; - if (placemark) { - FATMapPlace *place = [[FATMapPlace alloc] init]; - place.name = placemark.name; - place.address = placemark.thoroughfare; - place.location = placemark.location; - place.selected = YES; - [self.dataArray addObject:place]; - } - +// if (placemark) { +// FATMapPlace *place = [[FATMapPlace alloc] init]; +// place.name = placemark.name; +// place.address = placemark.thoroughfare; +// place.location = placemark.location; +// place.selected = YES; +// [self.dataArray addObject:place]; +// } for (MKMapItem *item in response.mapItems) { if (!item.isCurrentLocation) { FATMapPlace *place = [[FATMapPlace alloc] init]; diff --git a/ios/Classes/FinAppletExt/Common/Util/Map/FATExtSliderView.m b/ios/Classes/FinAppletExt/Common/Util/Map/FATExtSliderView.m index d7e5bec..c359229 100644 --- a/ios/Classes/FinAppletExt/Common/Util/Map/FATExtSliderView.m +++ b/ios/Classes/FinAppletExt/Common/Util/Map/FATExtSliderView.m @@ -106,14 +106,14 @@ [FATExtUtil getNearbyPlacesByCategory:@"All" coordinates:destCenter radius:1000 token:@"" completion:^(NSDictionary * _Nonnull dict) { NSMutableArray *placeArrayM = [NSMutableArray array]; - if (placemark) { - FATMapPlace *place = [[FATMapPlace alloc] init]; - place.name = placemark.name; - place.address = placemark.thoroughfare; - place.location = placemark.location; - place.selected = YES; - [placeArrayM addObject:place]; - } +// if (placemark) { +// FATMapPlace *place = [[FATMapPlace alloc] init]; +// place.name = placemark.name; +// place.address = placemark.thoroughfare; +// place.location = placemark.location; +// place.selected = YES; +// [placeArrayM addObject:place]; +// } [placeArrayM addObjectsFromArray:[FATExtUtil convertPlaceDictToArray:dict]]; self.poiInfoListArray = [[NSMutableArray alloc] initWithArray: placeArrayM];