[Chameleon] Can't make the rubberband work -- Help!

Liz Godwin godwin.liz at gmail.com
Thu Jul 14 10:17:19 EDT 2005


This issue was a while ago but I thought I would post anyway.

I recently noticed this with version 2.0, that my rubberband box disappeared 
when the DOCTYPE was set to strict. I was using Firefox.

DOCTYPES can be tricky, and they often throw off one's CSS and Javascript. 
Or Chameleon Samples ;-)

Liz

On 6/27/05, Paul Spencer <pspencer at dmsolutions.ca> wrote:
> 
> There was a bug in the ruler code, turns out that in some browsers,
> having a 0-sized div essentially clips the content. It was fixed by
> changing the code that initializes the images to be inside divs that had
> sufficient size.
> 
> Not sure why the rubberband would not show up, this is the first report
> of a problem and the code has been stable for about 4 years for that
> particular piece of functionality.
> 
> I suspect a browser issue. Can you problem details on platform,
> browser, and versions of software in use. Also a live url would be
> useful (you can send it off list if necessary). Also, a widget tag may
> be useful too (in this case, the ZoomIn and MapDHTML widget tags)
> 
> Cheers
> 
> Paul
> 
> Vic Kelson wrote:
> > Hi all,
> >
> > I'm a newbie with Chameleon, and I've got a great-looking site almost
> > finished, with one problem. The rubberband doesn't show up on the screen
> > (neither does the ruler), but their functions work perfectly. That is,
> > if I click the "zoom in" and then drag on the map, it zooms properly. If
> > I turn on the ruler and click and move, the distance updates properly in
> > the text box on the form. But, the rubberband line and the ruler lie are
> > invisible.
> >
> > What have I done wrong? Do I have a layer out of order? Is there a
> > component I'm missing?
> >
> > Help! ...and THANKS!
> > --v
> >
> > _______________________________________________
> > Chameleon mailing list
> > Chameleon at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/chameleon
> >
> 
> --
> +-----------------------------------------------------------------+
> |Paul Spencer pspencer at dmsolutions.ca |
> +-----------------------------------------------------------------+
> |Applications & Software Development |
> |DM Solutions Group Inc http://www.dmsolutions.ca/|
> +-----------------------------------------------------------------+
> _______________________________________________
> 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/20050714/de721e62/attachment.html


More information about the Chameleon mailing list