-
Notifications
You must be signed in to change notification settings - Fork 37
Component API calls
petewarden edited this page Sep 14, 2010
·
25 revisions
These are the functions you can call on an OpenHeatMap object from Javascript within a page. The object itself should be retrieved by calling getOpenHeatMap() from the supplied openheatmap.js script.
getLatLonViewingArea
getPixelsPerDegreeLatitude
getValueForWayId
getValuePointsNearLatLon
getWayForWayId
getWaysContainingLatLon
loadValuesFromCSVString
loadValuesFromFile
loadWaysFromFile
removeAllInlays
removeAllWays
setColorGradient
setEventHandler
setGradientValueRange
setLatLonViewingArea
setOceanColor
setPixelsPerDegreeLatitude
setSetting
setSize
setWayDefault
translateMapByScreenPixels
zoomMapByFactorAroundPoint