Commit Graph

6554 Commits

Author SHA1 Message Date
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
Frederic Junod 6e3354ab7b Indicates that ol.geom.Geometry#clone never return null 2014-08-25 16:44:52 +02:00
Tim Schaub b5a6ffc144 Merge pull request #2608 from tschaub/more-stable
Mark ol.RendererType enum as stable.
2014-08-25 07:39:38 -06:00
Éric Lemoine 5aca42fe64 Merge pull request #2610 from elemoine/geoloc-stability
Annotate stable geolocation functions and options
2014-08-25 13:14:53 +02:00
Éric Lemoine b0e87fac76 Add @api stable annotations to ol.tilegrid.WMTS 2014-08-25 11:00:13 +02:00
Éric Lemoine 137d74e5a0 Add @api stable annotations to ol.tilegrid.TileGrid 2014-08-25 11:00:13 +02:00
Éric Lemoine 016daf3c68 Mark ol.TransformFunction as stable 2014-08-25 10:30:04 +02:00
Éric Lemoine cc4d793c64 Add @api stable annotations to ol.proj 2014-08-25 10:27:25 +02:00
Éric Lemoine a1d91042b1 Add @api stable annotation to ol.Pixel 2014-08-25 10:00:10 +02:00
Éric Lemoine 250b588db4 Add @api stable annotations to ol.Geolocation 2014-08-25 09:56:01 +02:00
Éric Lemoine c89ea54179 Better docs for fitExtent and calculateExtent 2014-08-25 09:28:31 +02:00
Frederic Junod 5602ae6521 Document ol.geom.Polygon#getLinearRing function 2014-08-25 09:21:09 +02:00
Frederic Junod 9feac717c8 Add ol.geom.Polygon#getLinearRingCount function 2014-08-25 09:21:09 +02:00
Éric Lemoine f4c8f176ec Add @api stable annotations to ol.View 2014-08-25 09:19:58 +02:00
Éric Lemoine cd4063b0d8 Merge pull request #2602 from elemoine/layer-extent
Fix Uncaught RangeError in canvas tile renderer
2014-08-25 09:13:01 +02:00
Tim Schaub 38b2a46b59 Mark ol.RendererType enum as stable 2014-08-24 18:22:19 -06:00
Éric Lemoine 73df93969a No composeFrame if layer and view don't intersect
ol.renderer.canvas.TileLayer#prepareFrame immediately returns false if the layer extent and the view extent do not intersect.
2014-08-24 14:55:13 +02:00
Éric Lemoine def1af4492 No composeFrame if prepareFrame returns false 2014-08-24 14:55:13 +02:00
Éric Lemoine 07b5b448dc Merge pull request #2596 from elemoine/apistable-coordinate
Add @api stable annotations for ol.coordinate
2014-08-22 19:02:17 +02:00
Éric Lemoine 9a4b45921d Merge pull request #2552 from elemoine/apistable
Add @api stable annotations for the ol.layer namespace
2014-08-22 19:01:13 +02:00
Éric Lemoine fa2206e7a4 Merge pull request #2601 from probins/dbf
Rename ol.dom.browserfeature back to BrowserFeature
2014-08-22 19:00:44 +02:00
Éric Lemoine 1b86a4967f Merge pull request #2600 from elemoine/apistable-size
Add @api stable annotation to ol.Size
2014-08-22 18:02:40 +02:00
Éric Lemoine 32dce80fb6 Merge pull request #2598 from elemoine/apistable-extent
Add @api stable annotations for ol.extent
2014-08-22 18:02:33 +02:00
Éric Lemoine 886941b48e Merge pull request #2597 from elemoine/apistable-attribution
Add @api stable annotations for ol.Attribution
2014-08-22 18:02:20 +02:00
Éric Lemoine 546b42df07 Remove @api annotation from ol.coordinate.fromProjectedArray 2014-08-22 18:01:31 +02:00
Éric Lemoine 678d4ef01c Merge pull request #2555 from elemoine/apistable1
Add @api stable annotations for the ol.source namespace
2014-08-22 17:57:23 +02:00
Peter Robins 18a1c1c0d7 Rename ol.dom.browserfeature back to BrowserFeature 2014-08-22 15:32:01 +00:00
Éric Lemoine c2e93adae0 Add @api stable annotation to ol.Size 2014-08-22 17:21:46 +02:00
Éric Lemoine 22fd6872f4 Add @api stable annotations for ol.extent 2014-08-22 17:04:24 +02:00
Éric Lemoine 89e086e586 Add @api stable annotations for ol.Attribution 2014-08-22 16:59:18 +02:00
Tim Schaub f11e5de156 Mark exportable ol.has properties as stable 2014-08-22 07:36:05 -06:00
Tim Schaub 947b049799 Rename ol.browserfeature to ol.has 2014-08-22 07:34:35 -06:00
Tim Schaub 403e87f697 Merge pull request #2588 from tschaub/unstable
Mark map.beforeRender as unstable.
2014-08-22 07:16:49 -06:00
Éric Lemoine bbeb4442a5 Add @api annotations to ol.layer.Tile 2014-08-22 11:24:07 +02:00
Éric Lemoine 3ced2d8266 Add @api stable annotations to ol.layer.Vector 2014-08-22 11:24:07 +02:00
Éric Lemoine 1085d4f152 Add @api stable annotations to ol.layer.Tile 2014-08-22 11:24:07 +02:00
Éric Lemoine ee745f8c9e Add @api stable annotations to ol.layer.Image 2014-08-22 11:24:06 +02:00
Éric Lemoine e50ba2172f Add @api stable annotations to ol.layer.Group 2014-08-22 11:24:06 +02:00
Éric Lemoine 15487d1ce9 Add @api stable annotations to ol.layer.Layer 2014-08-22 11:24:06 +02:00
Éric Lemoine efc32b14df Add @api stable annotations to ol.layer.Base 2014-08-22 11:24:06 +02:00
Éric Lemoine daf7715bc6 Add @api stable annotations for ol.source.ImageMapGuide 2014-08-22 11:07:35 +02:00
Éric Lemoine 72aa61885a Add @api stable annotations for ol.source.Zoomify 2014-08-22 10:19:37 +02:00
Éric Lemoine 0fc4d0de98 Add @api stable annotations for ol.source.XYZ 2014-08-22 10:19:37 +02:00
Éric Lemoine 50564f8d67 Remove ol.source.WMTS.optionsFromCapabilities from the API 2014-08-22 10:19:36 +02:00
Éric Lemoine abe6fb7611 Add @api stable annotations for ol.source.WMTS 2014-08-22 10:19:36 +02:00
Éric Lemoine 02dc7bcc9e Add @api stable annotations for ol.source.Vector 2014-08-22 10:19:36 +02:00
Éric Lemoine 68fc7e5251 Add @api stable annotations for ol.source.TileWMS 2014-08-22 10:12:54 +02:00
Éric Lemoine cea9bd6a4a Add @api stable annotations for ol.source.Tile 2014-08-22 10:12:54 +02:00
Éric Lemoine 4cc9187414 Add @api stable annotations for ol.source.TileJSON 2014-08-22 10:12:54 +02:00
Éric Lemoine e9c2e72000 Add @api stable annotations for ol.source.Stamen 2014-08-22 10:12:54 +02:00