[Chameleon] PanMap widget update.

Jacob Delfos jacob.delfos at maunsell.com
Thu Mar 31 20:23:42 EST 2005


Jason,

Regarding the panmap widget, please check the following bug report:

http://bugzilla.maptools.org/bugzilla/show_bug.cgi?id=944

This sort of fixes it in javascript mode. But not entirely, because there seems to be an issue with getting the wrong extent after submitting. But in normal mode, maybe the fix works fully.

Regards,

Jacob

-----Original Message-----
From: chameleon-bounces at lists.maptools.org [mailto:chameleon-bounces at lists.maptools.org] On Behalf Of Jason Grimes
Sent: 1 April 2005 06:06
To: Chameleon User List
Subject: [Chameleon] PanMap widget update.

Hi All,

Well I did some more looking into the problem I'm having with both the
PanMap and the Ruler widgets.  I created a skeleton chameleon site with
only three widgets MapDHTMLWidget, PanMap, and Ruler. There is no
additional javascript, no CSS, and the only other thing I set up was the
defaults for the navbuttons.  Even with this minimal setup Firefox and
Netscape do not move the image when you pan the map and the ruler line
gets displayed in the upper left hand corner and does not draw
correctly.  They both work fine in IE.  It appears that i'm not setting
something up correctly.  Here an excerpt from my template were you can
see how I setup the widgets..

<body onload="CWC2OnLoadFunction()" bgcolor="#009999">
<form method="post">

<div>
<!-- MAPDHTMLWIDGET -->
      <CWC2 type="MapDHTMLWidget" Visible="true" Width="600"
Height="400" AllowResize="true" MarqueeColor="#FF3333" MarqueeWidth="2"
minscale="1" bordercolor="#0000ff" borderwidth="0"/>
</div>                                                                                
<div>
  <cwc2 type="PanMap" image="icons/icon_pan.png" visible="true"
styleresource="NavButtons" imagetip="Pan Map" imagewidth="24"
imageheight="24" toolset="Navigation">
              <image state="normal"/>
              <image state="selected"/>
              <image state="hover"/>
   </cwc2>
<cwc2 type="Ruler" image="icons/icon_ruler.png" visible="true"
styleresource="NavButtons" imagetip="Measure Distance" imagewidth="24"
imageheight="24" toolset="Navigation" units="Miles">
              <image state="normal"/>
              <image state="selected"/>
              <image state="hover"/>
            </cwc2>
</div>

</form>
</body>

I'm testing with Netscape version 7.2 and FireFox version 1.0.  Any
ideas would be greatly appreciated.  Thanks,

Jason

_______________________________________________
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/20050401/ee28bb0f/attachment.html


More information about the Chameleon mailing list