1 /** 2 * Create a new ILayer instance. 3 * @class IMapper class 4 * --This class could be considered a concrete implementation class 5 * @constructor 6 */ 7 function IMapper() { 8 } 9 10 /** 11 * Initialize the IMapper object 12 * @param {double} lat The latitude value of center coordinate of the map 13 * @param {double} lon The longitude value of center coordinate of the map 14 * @param {int} wdth The width of div 15 * @param {int} hght The height of div 16 * @param {String} divid The div to set the map. If it is null or not specified then it is set as "map". 17 */ 18 IMapper.prototype.initMap=function(lat, lon, wdth, hght, divid) { 19 return; 20 } 21 22 /** 23 * Move to given coordinate 24 * @param {double} lat The latitude value of center coordinate of the map 25 * @param {double} lon The longitude value of center coordinate of the map 26 */ 27 IMapper.prototype.flyToCoordinate=function(lat, lon) { 28 return; 29 } 30 31 /** 32 * Add custom marker 33 * @param {int} id Id of custom marker 34 * @param {double} lat The latitude value of center coordinate of the map 35 * @param {double} lon The longitude value of center coordinate of the map 36 * @param {string} imgUrl The Url of custom marker's image 37 */ 38 IMapper.prototype.addCustomMarker=function(id, lat, lon, imgUrl) { 39 return; 40 } 41 42 /** 43 * Remove custom marker 44 * @param {int} id Id of custom marker 45 */ 46 IMapper.prototype.removeCustomMarker=function(id) { 47 return; 48 }