This website requires JavaScript.
Explore
Help
Sign In
ashatora
/
openlayers
Watch
1
Star
0
Fork
0
You've already forked openlayers
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
Files
3007b236210dc6a6bf39c81fd3f534aa87b5fc47
openlayers
/
lib
History
euzuro
3007b23621
Bubble out the code that handles the re-sizing of the popup into an APIMethod: updateSize(). Other change is that now instead of using the 'contentHTML' string property to autosize, we will now use the actual contentDiv's 'innerHTML' property. This is possible because in the setContentHTML() function, we switch around the order and set the conentDiv.innerHTML *before* calling updateSize(). Seemingly minor, this change actually does wonders towards distancing us from the horrendous idea that the 'contentHTML' property was in the first place. Now, if users go in and fudge with the contentDiv DOMElement directly, they can still benefit from the auto-sizing. In fact, 'contentHTML' can be totally ignored altogether. joy. All tests pass, including an eyeballing of the acceptance test examples/popupMatrix.html in ff2 and ie7. Mil gracias to cr5 for the speedy review (
Closes
#1708
)
...
git-svn-id:
http://svn.openlayers.org/trunk/openlayers@7886
dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2008-08-28 20:04:17 +00:00
..
Firebug
Refactor SVN layout in compliance with RFC/LicenseChange. This hopefully
2007-10-17 02:21:22 +00:00
OpenLayers
Bubble out the code that handles the re-sizing of the popup into an APIMethod: updateSize(). Other change is that now instead of using the 'contentHTML' string property to autosize, we will now use the actual contentDiv's 'innerHTML' property. This is possible because in the setContentHTML() function, we switch around the order and set the conentDiv.innerHTML *before* calling updateSize(). Seemingly minor, this change actually does wonders towards distancing us from the horrendous idea that the 'contentHTML' property was in the first place. Now, if users go in and fudge with the contentDiv DOMElement directly, they can still benefit from the auto-sizing. In fact, 'contentHTML' can be totally ignored altogether. joy. All tests pass, including an eyeballing of the acceptance test examples/popupMatrix.html in ff2 and ie7. Mil gracias to cr5 for the speedy review (
Closes
#1708
)
2008-08-28 20:04:17 +00:00
Rico
Add mention that the files have been changed. This is obvious from
2008-02-02 14:46:04 +00:00
OpenLayers.js
Add support for a Canvas renderer. This renderer will allow for some new
2008-08-26 14:22:59 +00:00