0👍
To refer file from assets folder use @. Your image path, should look like this:
<img src="@/assets/m/m2.png">
- [Vuejs]-Cannot pass the fetch method information to the instance data
- [Vuejs]-Errors compiling Vue with TypeScript
0👍
The way that worked for me is to put the images in a folder in the /public
directory, then set the imagePath
to that folder. So you’d have:
public
map-cluster-images
m1.png
m2.png
m3.png
.....
And then when you initiate the MarkerClusterer
:
imagePath: '/map-cluster-images/m'
👤Jpod
Source:stackexchange.com