|
|
@ -103,7 +103,7 @@ class FirstFragment: Fragment(R.layout.fragment_map_page) {
|
|
|
|
this.symbolManager?.iconIgnorePlacement = true
|
|
|
|
this.symbolManager?.iconIgnorePlacement = true
|
|
|
|
|
|
|
|
|
|
|
|
listRestaurant.forEach { restaurant ->
|
|
|
|
listRestaurant.forEach { restaurant ->
|
|
|
|
val description = "${restaurant.adress}${restaurant.phone ?: "Pas de numéro disponible"}\n${restaurant.lat},${restaurant.lon}"
|
|
|
|
val description = "${restaurant.adress}\n${restaurant.phone ?: "Pas de numéro disponible"}\n${restaurant.lat},${restaurant.lon}"
|
|
|
|
insertIconOnMap(
|
|
|
|
insertIconOnMap(
|
|
|
|
LatLng(restaurant.lat, restaurant.lon),
|
|
|
|
LatLng(restaurant.lat, restaurant.lon),
|
|
|
|
restaurant.name,
|
|
|
|
restaurant.name,
|
|
|
|