Hello.<br><br>I make a customize toolbar but the rubberzoom not finish, my code is:<br><br><script type="text/javascript" src="getcjs.php?name=xhr.js,kaMap.js,kaTool.js,tools/rubberzoom/kaRubberZoom.js"></script><br><br><script type="text/javascript"><br>var myKaMap;<br>var myNav;<br>var myCanvas;<br>var myKaRubberZoom;<br><br>window.onload=function() {<br> myKaMap = new kaMap('mapDiv');<br> myKaMap.server = 'http://localhost/maps/';<br> <br> myKaMap.initialize();<br> <br> myNav = new kaNavigator(myKaMap);<br> myKaRubberZoom = new kaRubberZoom( myKaMap );<br><br> myNav.activate();<br> myCanvas = myKaMap.createDrawingCanvas(10);<br>}<br><br>function myZoomIn() {<br> myKaMap.zoomIn();<br>}<br><br>function myZoomOut() {<br>
myKaMap.zoomOut();<br>}<br><br>/**<br> * getFullExtent<br> * ...<br> */<br>function getFullExtent() {<br> var exStr = myKaMap.getCurrentMap().defaultExtents.toString();<br> var ex = myKaMap.getCurrentMap().defaultExtents;<br> myKaMap.zoomToExtents(ex[0],ex[1],ex[2],ex[3]);<br>}<br><br>/**<br> * switchMode<br> * ...<br> */<br>function switchMode(id) {<br> if (id=='toolPan') {<br> myNav.activate();<br> } else if (id=='toolZoomRubber') {<br> myKaRubberZoom.activate();<br> } else {<br> myNav.activate();<br> }<br>}<br><br></script></head><br> <br><body><br>....<br><!-- my small toolbar --><br><img src="maps/images/full.png" onclick="getFullExtent()" alt="Full"
/><span>Full</span><br><img id="toolPan" src="maps/images/pan.png" onclick="switchMode(this.id)" alt="Pan" /><span>Pan</span><br><img id="toolZoomRubber" src="maps/images/Rubberzoom.png" onclick="switchMode(this.id)" alt="Rubber Zoom" /><span>RubberZoom</span><br><img src="maps/imagenes/zoomin.png" onclick="myZoomIn()" alt="Zoom In" /><span>Zoom In</span></a> <br><img src="maps/imagenes/zoomout.png" onclick="myZoomOut()" alt="Zoom Out" /><span>Zoom Out</span> <br><br>--------<br>My tools Full, Pan, Zoom in, Zoom out is ok, but Rubber zoom, it does not finish and it does not make the zoom, could you help me.<br><br>This is a basic and simple toolbar.<br>Thanks.<br><br><br><p> 
<hr size=1><br><font face="Verdana" size="-2">Comparte video en la ventana de tus mensajes (y también tus fotos de Flickr).<br>Usa el nuevo Yahoo! Messenger versión Beta.<br> Visita http://mx.beta.messenger.yahoo.com/