MapTools.org

[Chameleon] Problem with CompassPoint Widget

Paul Spencer spencer@dmsolutions.ca
Wed, 04 Feb 2004 09:15:24 -0500
Dave,

sorry, you are a victim of out-of-date documentation.  The compasspoint 
widget attributes have changed to match other widgets.  You can replace 
imageextension and imagebase with just image="images/pan_northwest.gif". 
  This change was made because the other attributes don't really make a 
lot of sense when looking at the way the rest of the widgets are set up. 
  What was I thinking? ;)

Cheers,

Paul

Dave Astolfo wrote:

> I am having trouble implementing the compasspoint widget. I am using
> Chameleon 1.1
> 
> Sample code:
> 
> <CWC2 type="CompassPoint" panpercent="80" imageheight="19"
> imagewidth="19" imageextension=".gif" imagebase="images/pan_"
> direction="northwest" visible="true" />
> 
> I have verified that pan_nortwest.gif is in the folder images/ .   The
> error I am getting is:
> 
> ERROR: Invalid image specified in Icon.php for parent 20 of type
> CompassPoint.
> 
> Any ideas?
> 
> Thanks,
> 
> Dave
> 
> 
> _______________________________________________
> Chameleon mailing list
> Chameleon@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
> 

-- 
  -----------------------------------------------------------------
|Paul Spencer                           spencer@dmsolutions.ca    |
|-----------------------------------------------------------------|
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
  -----------------------------------------------------------------



This archive was generated by Pipermail.