MapTools.org

[Chameleon] RE: [Mapserver-users] Hawaii Application

Paul Spencer spencer@dmsolutions.ca
Wed, 10 Sep 2003 09:00:00 -0400
Edward,

thanks for the prompt feedback.  I have replaced this code in our cvs 
with a slightly different implementation that should be backwards 
compatible.  The application will be updated shortly.

If anyone cares ...

myArray.push( obj ); is a javascript 1.2/1.3 feature.  It can be 
replaced with:

myArray[myArray.length] = obj;

I was using the return value from push() which returns the new array 
size, as in mySize = myArray.push( obj );, this can be done as:

mySize = myArray.length;
myArray[mySize] = obj;

Cheers,

Paul

Edward Wiebe wrote:

>Hi Dave,
>
>I started to take a look and right away got an error. I am running Internet
>Explorer 5.0 on Windows 2000. I did a little troubleshooting and found that
>lines 38, 111, and 268 of the 'cwc_cs.js' file are all sources of the same
>error. These statements are all attempting to use the 'push' method, which
>are not supported in IE 5.0.
>
>Just thought you'd like to know.
>
>Best Regards,
>
>Ed
>
>-----Original Message-----
>From: mapserver-users-admin@lists.gis.umn.edu
>[mailto:mapserver-users-admin@lists.gis.umn.edu]On Behalf Of Dave
>McIlhagga
>Sent: Tuesday, September 09, 2003 10:23 AM
>To: Chameleon; mapserver
>Subject: [Mapserver-users] Hawaii Application
>
>
>Hi,
>
>For anyone interested in seeing a demo of Chameleon 1.1 with MapServer
>4.0 in action, here's our redeveloped Hawaii application.
>
>http://www.mapsherpa.com/hawaii2/
>
>Comments welcome,
>
>Dave
>--
>Dave McIlhagga
>DM Solutions Group
>http://www.dmsolutions.ca
>
>
>
>_______________________________________________
>Mapserver-users mailing list
>Mapserver-users@lists.gis.umn.edu
>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
>---
>Incoming mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003
>
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003
>
>_______________________________________________
>Chameleon mailing list
>Chameleon@lists.maptools.org
>http://lists.maptools.org/mailman/listinfo/chameleon
>
>  
>

-- 
--
Paul Spencer
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca





This archive was generated by Pipermail.