How to customize the marker template in JavaScript Maps?
The following steps explains how to customize the marker template in JavaScript Maps.
Step 1:
Create a map sample and include necessary script files.
Step 2:
Markers are notes that is used to leave some message on the map. To customize the marker you have to set markerTemplate api in layers.
JS
layers: [
{
markers: markers,
markerTemplate: 'template'
}
]
JS
<script type="text/javascript">
jQuery(function ($) {
$("#maps").ejMap({
layers: [
{
markers: markers,
markerTemplate: 'template',
}
]
});
});
The following Screenshot displays the markers.

For the more information about markers, refer to the following link.
https://help.syncfusion.com/ug/js/default.htm#!documents/mapelements.htm
For online sample, refer to the following location.
Conclusion