[Chameleon] Chameleon 2.6 RC1 Broken Update Map in JSAPI

Nolte, Tim Tim.Nolte at ipcswirelessinc.com
Fri Sep 14 09:19:01 EDT 2007

I'm wondering if there has been any progress here? For more completeness
and perhaps more info to solve this issue of the UpdateMap button in
JSAPI here is the additional code in my template.html file for the

	<span class="generalLabel">Turn all Layers: </span><a
href="javascript:void(0)" onClick="goCheckboxManager.set( true ); return
false;"><span class="generalLabel">on</span></a><span
class="generalLabel"> |</span>
	<a href="javascript:void(0)" onClick="goCheckboxManager.set(
false ); return false;"><span class="generalLabel">off</span></a><br>
	<a href="javascript:void(0)"
onClick="goExpanderManager.expandAll( ); return false;"><span
class="generalLabel">expand all</span></a><span class="generalLabel">
	<a href="javascript:void(0)"
onClick="goExpanderManager.collapseAll( ); return false;"><span
class="generalLabel">collapse all</span></a>
	<input type="hidden" name="expanderTracker"
	<script language="JavaScript" type="text/javascript"
	<script language="JavaScript" type="text/javascript"
	<script language="JavaScript" type="text/javascript">
		goExpanderManager.formElement =
	<cwc2 type="LegendTemplate" visible="true" embedded="true"
template="legend_template.html" popupstyleresource="TextButtons"
popupwidth="500" popupheight="400" status="false" menubar="false"/>
	<script language="JavaScript" type="text/javascript">

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: Thursday, September 13, 2007 9:04 AM
To: Delfos, Jacob
Cc: Nolte, Tim; Chameleon Users
Subject: Re: [Chameleon] Chameleon 2.6 RC1 Broken Update Map in JSAPI

Delfos, Jacob wrote:

>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.

You're right that the UpdateMap button doesn't work actually with the 
sample_enhanced_jsapi sample but this is because the JavaScript code 
isn't there to change the layer status.  It'll be there in the next 
release candidate.

I'll check for the "MAP_SIZE_CHANGED is not defined" error.


More information about the Chameleon mailing list