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 ) |