<html><head><style type="text/css"><!-- DIV {margin:0px} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:12pt"><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;">Hi Iain<br><br>Sorry for the delay in response, just have a lot going on here.<br><br>There is a new Javascript variable to request the current extent of worldkit. That can be downloaded from<br><span><a target="_blank" href="http://worldkit.org/download/latest/worldkit.swf">http://worldkit.org/download/latest/worldkit.swf</a></span><br><br><br>document.worldkit.SetVariable("JGetExtentComm","callbackFunction");<br><br>will call your javascript function, "callbackFunction", with the extent and the zoom of the current view. <br>Within "callbackFunction", you can set the position of the other worldkit instance, and toggle visibility.<br><br>Best,<br>Mikel<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original
 Message ----<br>From: Iain Mott <mott@reverberant.com><br>To: worldkit-dev@lists.brainoff.com<br>Sent: Sunday, May 28, 2006 5:38:45 PM<br>Subject: Re: [worldKit-dev] switch between 2 or more sets of zoomify files<br><br><div>Thanks Mikel,<br><br>Got this working well using javascript to toggle the visibility of two<br>worldkit instances. What Id like now, is a means to fetch the most recent<br>zoom and location values so that when the user toggles the view, they<br>maintain their position/zoom (currently when the user toggles to the<br>alternate view, the new view is fully zoomed-out and centred).<br><br>I can see how zoom, lat and long values can be set using the JzoomComm,<br>but how can these values be fetched without resorting to annotation mode<br>techniques?<br><br>Cheers,<br><br>Iain<br><br>><br>> On Thu, 2006-05-25 at 03:33 -0700, Mikel Maron wrote:<br>>> Hi Iain<br>>><br>>> Not currently, though this wouldn't be hard to implement if
 someone<br>>> was interested.<br>>><br>>> A better option in the long run would be to implement a light weight<br>>> image tiling and wms script. This would bypass the need for zoomify,<br>>> and take advantage of all the options available for wms. I've<br>>> completed some successful experiments here, but it's not near ready<br>>> for<br>>> distribution.<br>>><br>>> One short term fix might be to include two instances of worldKit in<br>>> one page, each with different config. Then build some simple<br>>> javascript<br>>> to toggle visibility between the two. I don't think there should be<br>>> any problems with multiple worldKits in one page, but not certain.<br>>> This is<br>>> only slightly duplicating resources, and may work fairly nicely.<br>>><br>>> Mikel<br>>><br>>> ----- Original Message ----<br>>> From: Iain Mott
 <mott@reverberant.com><br>>> To: Discussion of worldKit use and development<br>>> <worldkit-dev@lists.brainoff.com><br>>> Sent: Wednesday, May 24, 2006 6:39:07 AM<br>>> Subject: [worldKit-dev] switch between 2 or more sets of zoomify files<br>>><br>>> Hello<br>>><br>>> Im wondering if theres any way of switching between two sets of<br>>> zoomify<br>>> files? I have a map view of a city and a photographic view and Id like<br>>> to<br>>> set up a javascript toggle to switch between these views. The only way<br>>> I<br>>> know how to do this is to reload the whole page and a config.xml with<br>>> different values set for <zoomifydir>. Can layers be used with zoomify<br>>> files? Some other way?<br>>><br>>> Cheers, Iain<br>>><br>>> _______________________________________________<br>>> worldkit-dev mailing list<br>>>
 worldkit-dev@lists.brainoff.com<br>>> <a target="_blank" href="http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com">http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com</a><br>>><br>>> _______________________________________________<br>>> worldkit-dev mailing list<br>>> worldkit-dev@lists.brainoff.com<br>>> <a target="_blank" href="http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com">http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com</a><br>> --<br>> Iain Mott<br>> <a target="_blank" href="http://www.reverberant.com">www.reverberant.com</a><br>><br>><br>><br>><br>><br><br><br>_________<br>Iain Mott<br><a target="_blank" href="http://www.reverberant.com">www.reverberant.com</a><br>_______________________________________________<br>worldkit-dev mailing list<br>worldkit-dev@lists.brainoff.com<br><a target="_blank"
 href="http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com">http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com</a><br></div></div><br></div></div></body></html>