simonseyock 52e06a8ff7 Making ol.Overlay accept offset values if positioning right or bottom
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.
2014-08-25 16:55:33 +02:00
2014-07-24 15:22:19 +02:00
2014-07-24 14:32:34 -06:00
2014-08-22 07:34:35 -06:00
2014-03-23 19:59:49 +01:00
2013-11-20 11:39:20 +01:00
2013-02-12 15:47:55 +01:00
2014-08-22 07:28:05 -06:00
2014-05-31 11:35:37 +01:00
2014-02-25 22:02:35 +01:00
2014-03-31 20:55:58 +02:00
2014-03-11 21:41:36 +01:00

OpenLayers 3

Travis CI Status

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%