File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
presentation/src/main/java/com/stop/ui/map Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,8 @@ class MapFragment : Fragment(), MapHandler {
107
107
108
108
private fun initNavigateAction () {
109
109
binding.textViewSearch.setOnClickListener {
110
- binding.root.findNavController().navigate(R .id.action_mapFragment_to_placeSearchFragment)
110
+ binding.root.findNavController()
111
+ .navigate(R .id.action_mapFragment_to_placeSearchFragment)
111
112
}
112
113
113
114
/*
@@ -155,7 +156,11 @@ class MapFragment : Fragment(), MapHandler {
155
156
event.getContentIfNotHandled()?.let { clickPlace ->
156
157
val clickTMapPoint = TMapPoint (clickPlace.centerLat, clickPlace.centerLon)
157
158
158
- tMap.tMapView.setCenterPoint(clickTMapPoint.latitude, clickTMapPoint.longitude, true )
159
+ tMap.tMapView.setCenterPoint(
160
+ clickTMapPoint.latitude,
161
+ clickTMapPoint.longitude,
162
+ true
163
+ )
159
164
tMap.addMarker(Marker .PLACE_MARKER , Marker .PLACE_MARKER_IMG , clickTMapPoint)
160
165
setPanel(clickTMapPoint)
161
166
}
You can’t perform that action at this time.
0 commit comments