Demo

LocationBox JavaScript Demos

Initialize Map

Instructions

Click and try dragging the map. Scroll the mouse over the map.
See the JavaScript API for more information.

Source Code

The Javascript code for the above map is:

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

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

function startup() {
  mapper.initMap(41.1, 29.1, 6, IMapper.BASEMAP_POI_LOGO, "http://www.locationbox.com.tr/mapviewer");
  return;
} 
</script>

Basemap Types:

BASEMAP_POI_LOGO : Standart basemap with brand logos.
BASEMAP_POI      : Standart basemap without brand logos.

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