[Chameleon] jsapi and scalezoom widget

Liz Godwin godwin.liz at gmail.com
Mon Jan 15 10:09:45 EST 2007


We're using a slightlyolder version of Chameleon (2.0?) - but in that the
ScaleZoom widget wasn't jsapi enabled.  We made changes to enable it, but
it's still a bit flakey (randomly), mostly just with IE.

I'd be happy to share it with you or anyone else.  Of course if you make it
better, please share back :-)

It can be seen in action here (it's along the top of the map):
http://nlwis-snite1.agr.gc.ca/eco/

Cheers,

Liz

On 1/11/07, Brent Lund <Brent.Lund at state.mn.us> wrote:
>
>  My ScaleZoom widget is not updated when in jsapi mode.   It will updated
> the map (zoom in/out), but ScaleZoom itself is not redrawn.  Am I missing
> something?
>
>
>
> Thanks,
>
> Brent
>
>
>
>
>
>
>
> <CWC2 TYPE="ScaleZoom"
>
> ORIENTATION="HORIZONTAL"
>
> ENABLED="TRUE"
>
> VISIBLE="TRUE"
>
> INCREASEIMAGE="images/z-in2.png"
>
> DECREASEIMAGE="images/z-out2.png"
>
> CURRENTIMAGE="images/zoom_current.png"
>
> PUTTABLETAGS="TRUE"
>
> >
>
>
>
>    <ZOOMVALUE SCALE="100000" IMAGE="images/zoom_inc.png"/>
>
>    <ZOOMVALUE SCALE="50000" IMAGE="images/zoom_inc.png"/>
>
>    <ZOOMVALUE SCALE="20000" IMAGE="images/zoom_inc.png"/>
>
>    <ZOOMVALUE SCALE="10000" IMAGE="images/zoom_inc.png"/>
>
>    <ZOOMVALUE SCALE="5000" IMAGE="images/zoom_inc.png"/>
>
> </CWC2>
>
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20070115/b30b47e2/attachment.html


More information about the Chameleon mailing list