To add an image or other object to the map, insert something like the following code into startUp.js, just before ‘drawPage();’ – located around line 60:
1 2 3 4 |
var canvas = myKaMap.createDrawingCanvas( 500 ); //zindex=500 var img = document.createElement( 'img' ); img.src = 'images/kamap.gif'; myKaMap.addObjectGeo( canvas, lon, lat, img ) |
It should be added at the end of the myKamapInitialized() rather than “just b4 drawPage()” !!!
doc in the mailing list is WRONG !!