OpenLayers OpenLayers

Changeset 4201

Show
Ignore:
Timestamp:
09/09/07 11:07:47 (1 year ago)
Author:
thliese
Message:

added map option InitCallback to notify about asynchronous map initialization

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/thliese/openlayers/lib/OpenLayers/Layer/Map24.js

    r4187 r4201  
    161161                    ); 
    162162                } 
     163                 
     164                // Call the optional callback function to notify about 
     165                // map initialization 
     166                if (me.options["InitCallback"] != null) { 
     167                    me.options["InitCallback"](); // call the function 
     168                } 
    163169            }); 
    164170            this.mapObject = "Map24"; //placeholder object