MarkerCluster custom image is not replaced
See original GitHub issueI am trying to provide custom images for the cluster. I checked both react-google-maps doc and google map doc. According to both document, it will change images if you provide image path. on that /static/images/cluster/m contains m1.png … m5.png images. I also checked network image tab and it does not even try to get image from custom path. It just getting image from v3 lib. Any opinion ?
<MarkerClusterer
averageCenter
maxZoom={15}
defaultMaxZoom={20}
onClick={(e) => {console.log(e)}}
gridSize={60}
imagePath='/static/images/cluster/m'
>
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Google map cluster custom image - Stack Overflow
I was able to change cluster image by providing styles option which is like below. I am not sure why imagePath does not...
Read more >Incorporating custom/image markers into Leaflet MarkerCluster?
It works fine, however, when you drill down to an individual marker (not cluster) I can't figure out how to replace the standard...
Read more >Label text can't be positioned on custom cluster marker - Drupal
I can change the color, size of the label text but not its position even if ... I can't positioned the label text...
Read more >How to Change the Marker Cluster Images?
It is possible to change the default Marker Cluster images to something of your own preference. Changing Marker Cluster Images/Icons All ...
Read more >Change the Marker Cluster Images - WP Store Locator
Set a Custom Image Path. If it doesn't already exist, then first create a wpsl-markers folder in your active theme folder. Move your...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@tomchentw I tried this and it changes image
@Jiia
Here’s how me managed it. Check the Google doc as well, since some configurations are not linked to react-google-maps implementation.