Commit Graph

12 Commits

Author SHA1 Message Date
crschmidt
0ec90b17e8 Commit changes to Anchored popup: add anchor width/height to top left position if we're heading in that direction. I'm still not sure how perfect this is, but it stops the bubbles from being on top of my icons.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@421 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-27 13:08:15 +00:00
euzuro
f115b797a3 Changed around the order of arguments for createImage, createDiv, and createAlphaImage. bubbled out helper function OpenLayers.Util.modifyDOMElement() to handle common mods. Official order now is: id, px, sz, imgURL, position, border[, overflow]
git-svn-id: http://svn.openlayers.org/trunk/openlayers@384 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-26 01:23:11 +00:00
euzuro
b036da46f5 Add AnchoredBubble.js, include it in dynamic load, add a bit of demo test.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@349 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 02:27:29 +00:00
euzuro
79295569a3 we should really be sure that this.lonlat is set too.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@348 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 02:24:48 +00:00
euzuro
53f59f25ea changing the size of an anchored popup is a special case because the popup must remain anchored after the resize
git-svn-id: http://svn.openlayers.org/trunk/openlayers@347 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 02:22:06 +00:00
euzuro
df5455e41e Since popups have a reference back to map, allow them to determine where they should be drawn internally. Thus we can remove the computing from the addPopup() function in Map.js.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@346 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 02:09:33 +00:00
euzuro
022ffde95e moved oppositeQuadrant() function from Anchored.js to Util.js, where it is now a static function on the OpenLayers.Bounds class. Updated usage in code accordingly. Added test.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@343 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:54:45 +00:00
euzuro
cfe9479a89 JSDOC - designate private functions as such
git-svn-id: http://svn.openlayers.org/trunk/openlayers@342 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:44:01 +00:00
euzuro
43e218c969 no reason to override Popup's destroy() if nothing new is being destroyed
git-svn-id: http://svn.openlayers.org/trunk/openlayers@341 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:39:44 +00:00
euzuro
48abf71cea fix dynamic load instruction for Popup.js subclass
git-svn-id: http://svn.openlayers.org/trunk/openlayers@340 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:29:48 +00:00
euzuro
854a468373 add code to properly place the anchored popup. include it in dynamic loader. add testing code in demo popups.html
git-svn-id: http://svn.openlayers.org/trunk/openlayers@337 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-25 00:20:35 +00:00
euzuro
3ece5e35fd adding skeleton for anchored popup
git-svn-id: http://svn.openlayers.org/trunk/openlayers@333 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2006-05-24 23:14:34 +00:00