How to customize the icon and its style of Baidu map point aggregation

I want to change this icon to the location of the picture, and the font in it should also be customized. How to do it? ask for instructions clipboard.png

.

Point aggregation uses js files written by Baidu itself, which are MarkerClusterer.js, and TextIconOverlay.js, where MarkerClusterer.js is the aggregation of points, and TextIconOverlay.js is the style for setting aggregation points.

here, you need to modify the TextIconOverlay.js file, view it in TextIconOverlay.js, and _ image_path can see the aggregate image url, to change the style of the aggregation point.

Menu