Demo

LocationBox JavaScript Demos

Image Layer

Add:  

Instructions

Use the "Add" button to add image layer on the map.

Source Code

The Javascript code for the above map is:


<script language="Javascript" 
	src="http://www.locationbox.com.tr/locationbox/services?
	Key=key&Cmd=API&Typ=JS"></script>

<script language="JavaScript">
var mapper  = new IMapper();

function startup() {
  mapper.initMap(41.1, 29.1, 7);
  return;
} 

function add() {
    mapper.addImageLayer();     
    return;
  } 
</script>

Download working page
Remember that you need to use your key code as Key attribute.