[ka-Map-users] Problem in IE

Ed Cooley ecooley at strategysystems.com
Wed Mar 15 16:52:00 EST 2006


We had a similar problem.  

The solution we found was to not do anything until KAMAP_INITIALIZED event
ie:

myKaMap.registerForEvent( KAMAP_INITIALIZED, null, myInitialized );

We don't start doing anything until myInitialized function is called.

---
Ed Cooley
Strategy Systems, Inc.
479-271-7400 - Fax: 271-7401
http://www.strategysystems.com/
 
________________________________________
From: ka-map-users-bounces at lists.maptools.org
[mailto:ka-map-users-bounces at lists.maptools.org] On Behalf Of Krassovski,
Mikhail B.
Sent: Wednesday, March 15, 2006 1:15 PM
To: ka-map-users at lists.maptools.org
Subject: [ka-Map-users] Problem in IE

Hi!
First of all I would like to say ‘Thank you!’ for all who put his/her time
developing such a great product!
I had no problems to set it up and customize to my needs, great job, thank
you again! 
I did the whole work in Firefox (v. 1.5.0.1), but when I checked it in IE
(v.6.0.2900), I found the following problem.
I have four maps, in general they are identical, but have different set of
layers and some features. There is a JavaScript function that is executed
right after map change is requested, and it works fine in Firefox, but not
in IE. The map is changed according to request, but next function is not
executed and the whole thing stops. I started to check what is going and
found that process stops when mySetMap(
) is called, and problem is not with
my function after it. Further tracing shows the following flow of calls
(please, correct me if I’m wrong): mySetMap(
) -> myKaMap.selectMap(
) ->
kaMap.prototype.selectMap -> this.zoomToExtents(
.) ->
this.triggerEvent(KAMAP_EXTENTS_CHANGED, this.getGeoExtents) ->
kaMap.prototype.getGeoExtents . It looks like the last function
getGeoExtents return values (return [minx, miny, maxx, maxy];), but then
everything stops. I can’t understand why it does that and how to fix it. If
you have any suggestions, I’ll be very grateful!

Misha Krassovski
Ph. (865) 241-1859
F.(865) 574-2232
Carbon Dioxide Information Analysis Center
Oak Ridge National Laboratory
P.O. Box 2008
Building 1509, MS 6335
Oak Ridge, Tennessee 37831-6335
 
 





More information about the ka-Map-users mailing list