[Chameleon] Chameleon 2.6 RC1 Broken Update Map in JSAPI

Delfos, Jacob Jacob.Delfos at maunsell.com
Wed Sep 12 20:12:50 EDT 2007


Tim,

When I tried the sample_enhanced_jsapi sample the other day, the update
button did not work for me. I was using the beta of 2.6. If I pressed
it, nothing happened (no functions being called). So I suspect you are
right, in that it is a bug specific to 2.6.
During load of this template, however, there is an error saying
"MAP_SIZE_CHANGED is not defined", inside the body of
"MapTipsRegisterForEvent". It is possible that this error prevents
further execution of javascript.

Regards,

Jacob

 

> -----Original Message-----
> From: chameleon-bounces at lists.maptools.org 
> [mailto:chameleon-bounces at lists.maptools.org] On Behalf Of Nolte, Tim
> Sent: 13 September 2007 04:51
> To: Chameleon Users
> Subject: RE: [Chameleon] Chameleon 2.6 RC1 Broken Update Map in JSAPI
> 
> I am using the legend template from the
> Wiki(http://chameleon-tiki.maptools.org/tiki-index.php?page=Wi
dgetMagic)
> . As I monitor the JavaScript console I see that the function 
> never gets
> called, with no errors. I'm also wondering if this is because 
> the extra
> JS for the legend from the Wiki has some code that sets up an onClick
> function. I think I need to move that ChangeLayerStatus call 
> to that JS.
> I'm going to play with this a little to see if something works. I am
> aware that the Update Map button never was a JSAPI widget.
> 
> ----
> Timothy J Nolte - tnolte at ilpcs.com
> Associate Network Planning Engineer
> 
> iPCS Wireless, Inc.
> 4717 Broadmoor Ave, Suite G
> Kentwood, MI 49512
> 
> Office: 616-656-5163
> PCS:    616-706-2438
> Fax:    616-554-6484
> Web: www.ipcswirelessinc.com
> 
> -----Original Message-----
> From: Normand Savard [mailto:nsavard at mapgears.com] 
> Sent: Wednesday, September 12, 2007 4:01 PM
> To: Nolte, Tim
> Cc: Chameleon Users
> Subject: Re: [Chameleon] Chameleon 2.6 RC1 Broken Update Map in JSAPI
> 
> Tim,
> 
> There maybe a bug but we need to verify some points before.  Does the 
> code appear in the source page?  Does the ChangeLayerStatus 
> JavaScript 
> function get call?  Are they any JavaScript error in the 
> console or PHP 
> error?
> 
> Notice that UpdateMap widget has no JSAPI mode before 2.6.  It was 
> submitting the page.
> 
> Can you give me the URL where you take this legendtemplate 
> code?  Is it:
> http://chameleon-tiki.maptools.org/tiki-index.php?page=WidgetMagic?
> 
> Norm
> 
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
> 

This email and any attachments are intended solely for the named recipient and are confidential. The copying or distribution of them or any information they contain by anyone other than the named recipient is prohibited. If you have received this document in error, please notify the sender and delete all copies from your computer system and destroy all hard copies. It is the recipient's responsibility to check this email and any attachments to this email for viruses before use.



More information about the Chameleon mailing list