Commit Graph
24 Commits
Author SHA1 Message Date
simonseyock 6e1672bb6e changed example docs 2016-12-30 12:51:32 +01:00
simonseyock 8edc2be103 Added hitTolerance to TranslateInteraction 2016-12-08 10:14:09 +01:00
simonseyock a469803941 adjusted hitTolerance by pixelRatio 2016-12-08 10:14:09 +01:00
simonseyock 3a08cfd7c6 Added test for ol.render.canvas.ReplayGroup#getCircleArray_ 2016-12-08 10:14:09 +01:00
simonseyock e9d2b913ea removed uses of lazy evaluation of || 2016-12-08 10:14:09 +01:00
simonseyock 4640c44f2a Added old syntax and hasFeatureAtPixel to changelog 2016-12-08 10:14:09 +01:00
simonseyock c93b0ba859 Added upgrade note 2016-12-08 10:14:09 +01:00
simonseyock 5608e7284b Renamed FeatureAtPixelOptions to AtPixelOptions for future use in forEachLayerAtPixel 2016-12-08 10:14:09 +01:00
simonseyock f0439685ad minor typos 2016-12-08 10:14:09 +01:00
simonseyock da020d77e9 Added cache for circle arrays. Reusing context. 2016-12-08 10:14:09 +01:00
simonseyock e0edefb4d7 Added hitTolerance to select interaction. Added hitTolerance to select interaction example. 2016-12-08 10:14:09 +01:00
simonseyock 2ea41afe6e Added hitTolerance to hasFeatureAtPixel. Corrected JsDoc problems. 2016-12-08 10:14:09 +01:00
simonseyock 63f57768a3 Removed olx.LayerFilter 2016-12-08 10:14:09 +01:00
simonseyock 80e392ea52 Satisfying linter, jsdoc & compiler 2016-12-08 10:14:09 +01:00
simonseyock 2493eb2c20 Implemented midpoint circle algorithm 2016-12-08 10:13:47 +01:00
simonseyock 5ce0d8aa2a changed signature of internal methods 2016-12-08 10:13:47 +01:00
simonseyock 80188b2044 Change signature of api methods 2016-12-08 10:12:42 +01:00
simonseyock a6c768ae07 Make forEachFeatureAtCoordinate work with variable hitContext size 2016-12-08 10:12:42 +01:00
simonseyock 85893646c4 Added hitTolerance test 2016-12-08 10:12:42 +01:00
simonseyock 8c49f6db46 Changed wording 2016-11-15 18:41:29 +01:00
simonseyock a133beb168 Documentation clarification
Clarified the description of the pixel and coordinate attribute of the ol.MapBrowserEvent
2016-11-15 17:13:23 +01:00
Simon Seyock 310023e179 Fixed documentation error
The imageLoad function option of all ol.source.Image subclasses are not of type ol.TileLoadFunctionType but of type ol.ImageLoadFunctionType.
2016-01-06 11:31:54 +01:00
Simon Seyock 757d46541c Fixed documentation error
the imageLoadFunction you can give the constructor of ol.source.ImageWMS is an ol.ImageLoadFunctionType not an ol.TileLoadFunctionType
2015-11-04 12:56:41 +01:00
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