52e06a8ff73b9eaef38c38bb491e7403afd8b870
When ol.Overlay has set positioning is set to right or bottom, no offset is applied. I added the missing calculations. I made 2 fiddles showing the bahaviour before and after. The divs in hte fiddles are named after their positioning (anchor point)! Not the actual position! Before: http://jsfiddle.net/simon_seyock/ob7ggtx6/ As you can see, on div named "bottom-right" no offset at all is applied. On "bottom-center" it is only applied horizontally and on "center-right" only vertically. After: http://jsfiddle.net/simon_seyock/sL2f3nL9/2/ All offsets are applied correctly, you could draw a straight line through the anchor points of every div.
OpenLayers 3
Welcome to OpenLayers 3!
Check out the hosted examples, the workshop or poke around the evolving API docs.
Please don't ask questions in the github issue tracker but use the mailing list instead.
Please see our guide on contributing if you're interested in getting involved.
Description
Languages
JavaScript
99%
CSS
0.6%
Handlebars
0.3%
Shell
0.1%
