This commit is contained in:
@@ -41,7 +41,7 @@ const initMap = async (lat: number, lon: number) => {
|
||||
})
|
||||
mapInstance.value = map
|
||||
|
||||
props.pickupPoints.forEach((point) => {
|
||||
props?.pickupPoints?.forEach((point) => {
|
||||
const placemark = new window.ymaps.Placemark(
|
||||
[point?.position?.latitude, point?.position?.longitude],
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user