Jak utworzyć marker z popup, poligonu lub marker po kliknięciu w Google map w Vue3.
npm i @googlemaps/js-api-loader
components/map/google
VITE_GMAP_KEY=""
components/map/google/examples
{
path: '/map/marker',
name: 'map.marker',
component: () => import('../components/map/google/examples/MapMarkerView.vue'),
},
{
path: '/map/polygon',
name: 'map.polygon',
component: () => import('../components/map/google/examples/MapPolygonView.vue'),
},
{
path: '/map/marker/click',
name: 'map.marker.click',
component: () => import('../components/map/google/examples/MapMarkerOnClickView.vue'),
},
{
path: '/map/polygon/draw',
name: 'map.polygon.draw',
component: () => import('../components/map/google/examples/MapPolygonDrawView.vue'),
},