Using MarkerClusterer in map view

Can anybody help me figure out how to implement MarkerClusterer with Scheduler Map View?

I’m confused as to how to call it within dhtmlxscheduler_map_view.js. I’m aware that all I need to do is add:

var markerCluster = new MarkerClusterer(map, markers, options);

But it doesn’t seem to be working. Can anyone point me in the right direction?

Hi,
unfortunately, there is no public api for that, you’ll have to work with the source codes of the map view.
Note that you can access Google Map object as scheduler.map._obj
github.com/DHTMLX/scheduler/blo … ew.js#L117

Then you could use that object to create clusters as shown in official demos googlemaps.github.io/js-marker- … mples.html :

var markers = [...]; var map = scheduler.map._objl var markerCluster = new MarkerClusterer(map, markers, {imagePath: 'path to the cluster icon'});

Please show the exact code you using