Class Index | File Index

Classes


Class IMapper

IMapper class --This class could be considered a concrete implementation class
Defined in: locationbox_3d_main.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Create a new ILayer instance.
Method Summary
Method Attributes Method Name and Description
 
addCustomMarker(id, lat, lon, imgUrl)
Add custom marker
 
flyToCoordinate(lat, lon)
Move to given coordinate
 
initMap(lat, lon, wdth, hght, divid)
Initialize the IMapper object
 
Remove custom marker
Class Detail
IMapper()
Create a new ILayer instance.
Method Detail
addCustomMarker(id, lat, lon, imgUrl)
Add custom marker
Parameters:
{int} id
Id of custom marker
{double} lat
The latitude value of center coordinate of the map
{double} lon
The longitude value of center coordinate of the map
{string} imgUrl
The Url of custom marker's image

flyToCoordinate(lat, lon)
Move to given coordinate
Parameters:
{double} lat
The latitude value of center coordinate of the map
{double} lon
The longitude value of center coordinate of the map

initMap(lat, lon, wdth, hght, divid)
Initialize the IMapper object
Parameters:
{double} lat
The latitude value of center coordinate of the map
{double} lon
The longitude value of center coordinate of the map
{int} wdth
The width of div
{int} hght
The height of div
{String} divid
The div to set the map. If it is null or not specified then it is set as "map".

removeCustomMarker(id)
Remove custom marker
Parameters:
{int} id
Id of custom marker

Documentation generated by JsDoc Toolkit 2.4.0 on Fri May 16 2014 10:41:46 GMT+0300 (EEST)