MarkerModelCache
final class MarkerModelCache : MarkerModelCacheProtocol
-
Declaration
Swift
static let shared: MarkerModelCache
-
가공된 데이터로 저장
Declaration
Swift
func setMarkerModel(_ markerModels: [MarkerModel])
-
가공된 데이터에서 Marker 불러오기
Declaration
Swift
func getMarkers() -> [NMFMarker]
-
앱이 실행 중일때 Marker Model 업데이트 하는 경우 가공된 데이터로 저장
Declaration
Swift
func updateMarkerModel(_ markerModel: MarkerModel)
-
Declaration
Swift
func updateMarkerModelWhenClicked(with markerModel: MarkerModel)
-
update간 삭제된 마커데이터 삭제하기
Declaration
Swift
func deleteMarkerModel(with placeId: String)
-
업데이트된 마커모델에서 마커 데이터만 뽑아내기
Declaration
Swift
func getUpdatedMarkers() -> [NMFMarker]
-
Declaration
Swift
func getMarkerModels() -> [MarkerModel]
-
marker from marker
Declaration
Swift
func getMarker(with marker: NMFMarker) -> (MarkerModel?, Int?)
-
marker from searchModel
Declaration
Swift
func getMarker(with afterSearchModel: MatchedPlaceModel ) -> (MarkerModel?, Int?)
-
marker from coordinate
Declaration
Swift
func getMarker(x: Double, y: Double) -> (MarkerModel?, Int?)
-
Declaration
Swift
func updateMarkerModel(_ index: Int, _ markerModel: MarkerModel)
-
Declaration
Swift
func updateWhenStarButton(_ makerModel: [MarkerModel])
-
Declaration
Swift
func resetAllStarMarkers()
-
Declaration
Swift
func getOnlyStarMarkerModels() -> [MarkerModel]
-
Declaration
Swift
func deleteAllMarkerModel()