Creating a google map with markers component with Vue js / TypeScript

I had to port google map JavaScript API to Vue js, that can pass in Lat/Long list, and other parameters.

Before we get into the component, remember to include the Google API map javascript in the main .html file

Below is the completed component.

Now you can use it like this parent component

There you go, hope this will help anyone looking for a map integration to Vue js.

Leave a comment