The following steps explains how to customize the marker template. 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. http://help.syncfusion.com/ug/js/default.htm#!documents/mapelements.htm
For online sample, refer to the following location. http://js.syncfusion.com/demos/web/#!/azure/map/drilldown
|
This page will automatically be redirected to the sign-in page in 10 seconds.