[worldKit-dev] switch between 2 or more sets of zoomify files

Iain Mott mott at reverberant.com
Sun May 28 17:38:45 PDT 2006


Thanks Mikel,

Got this working well using javascript to toggle the visibility of two
worldkit instances. What I’d like now, is a means to fetch the most recent
zoom and location values so that when the user toggles the view, they
maintain their position/zoom (currently when the user toggles to the
alternate view, the new view is fully zoomed-out and centred).

I can see how zoom, lat and long values can be set using the JzoomComm,
but how can these values be fetched without resorting to annotation mode
techniques?

Cheers,

Iain

>
> On Thu, 2006-05-25 at 03:33 -0700, Mikel Maron wrote:
>> Hi Iain
>>
>> Not currently, though this wouldn't be hard to implement if someone
>> was interested.
>>
>> A better option in the long run would be to implement a light weight
>> image tiling and wms script. This would bypass the need for zoomify,
>> and take advantage of all the options available for wms. I've
>> completed some successful experiments here, but it's not near ready
>> for
>> distribution.
>>
>> One short term fix might be to include two instances of worldKit in
>> one page, each with different config. Then build some simple
>> javascript
>> to toggle visibility between the two. I don't think there should be
>> any problems with multiple worldKits in one page, but not certain.
>> This is
>> only slightly duplicating resources, and may work fairly nicely.
>>
>> Mikel
>>
>> ----- Original Message ----
>> From: Iain Mott <mott at reverberant.com>
>> To: Discussion of worldKit use and development
>> <worldkit-dev at lists.brainoff.com>
>> Sent: Wednesday, May 24, 2006 6:39:07 AM
>> Subject: [worldKit-dev] switch between 2 or more sets of zoomify files
>>
>> Hello
>>
>> Im wondering if theres any way of switching between two sets of
>> zoomify
>> files? I have a map view of a city and a photographic view and Id like
>> to
>> set up a javascript toggle to switch between these views. The only way
>> I
>> know how to do this is to reload the whole page and a config.xml with
>> different values set for <zoomifydir>. Can layers be used with zoomify
>> files? Some other way?
>>
>> Cheers, Iain
>>
>> _______________________________________________
>> worldkit-dev mailing list
>> worldkit-dev at lists.brainoff.com
>> http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com
>>
>> _______________________________________________
>> worldkit-dev mailing list
>> worldkit-dev at lists.brainoff.com
>> http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com
> --
> Iain Mott
> www.reverberant.com
>
>
>
>
>


_________
Iain Mott
www.reverberant.com



More information about the worldkit-dev mailing list