Marquee Zoom
Instructions
Use the "Start" button to start marquee zoom.
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, 4);
mapper.addNavigationPanel();
return;
}
function start() {
mapper.startMarqueeZoom();
return;
}
function stop() {
mapper.stopMarqueeZoom();
return;
}
</script>
Buttons:
<a href="javascript:start()"
><img src="images/zoomin.gif" border=0></a>
<a href="javascript:stop()"
><img src="images/zoomout.gif" border=0></a>
Download working pageRemember that you need to use your key code as Key attribute.