Pull up patches for the following bugs from trunk:
#385: building for windows users (fix license) #453: IE gives new DOM elements a parent with fragment node type #454: Fix tests which are breaking in Opera #455: Util.isEquivalentUrl broken in Opera #463: map.setBaseLayer is a bit funky #464: Overview Map dissappears when on permalinked page #465: allow controls to live outside viewport (for real) #466: HTMLDivElement is still undefined in IE7 (but OpenLayers.Util.alphaHack() is now false) #467: isEquivalentURL() not complete for IE #468: Overview MapLosing Rectangle #469: Default marker is incorrectly centered #470: Can not use "search" property IE7 #473: Remove call to checkImgURL #474: overview map isn't properly updated when the argparser kicks in git-svn-id: http://svn.openlayers.org/branches/openlayers/2.3@2181 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -117,12 +117,14 @@ OpenLayers.Tile.Image.prototype =
|
||||
|
||||
this.imgDiv.className = 'olTileImage';
|
||||
|
||||
/* checkImgURL *should* pretty predictably get called after the
|
||||
createImage / createAlphaImageDiv onLoad handler */
|
||||
/* checkImgURL used to be used to called as a work around, but it
|
||||
ended up hiding problems instead of solving them and broke things
|
||||
like relative URLs. See discussion on the dev list:
|
||||
http://openlayers.org/pipermail/dev/2007-January/000205.html
|
||||
|
||||
OpenLayers.Event.observe( this.imgDiv, "load",
|
||||
this.checkImgURL.bindAsEventListener(this) );
|
||||
|
||||
*/
|
||||
this.layer.div.appendChild(this.imgDiv);
|
||||
if(this.layer.opacity != null) {
|
||||
|
||||
@@ -139,6 +141,14 @@ OpenLayers.Tile.Image.prototype =
|
||||
* the imgDiv display to 'none', as either (a) it will be reset to visible
|
||||
* when the new URL loads in the image, or (b) we don't want to display
|
||||
* this tile after all because its new bounds are outside our maxExtent.
|
||||
*
|
||||
* This function should no longer be neccesary with the improvements to
|
||||
* Grid.js in OpenLayers 2.3. The lack of a good isEquivilantURL function
|
||||
* caused problems in 2.2, but it's possible that with the improved
|
||||
* isEquivilant URL function, this might be neccesary at some point.
|
||||
*
|
||||
* See discussion in the thread at
|
||||
* http://openlayers.org/pipermail/dev/2007-January/000205.html
|
||||
*
|
||||
* @private
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user