Commit Graph
100 Commits
Author SHA1 Message Date
Éric Lemoine c2d0cab07a Add tests for ol.style.IconImageCache 2014-02-06 12:59:39 +01:00
Éric Lemoine 90c41523a2 Add tests for ol.renderer.vector 2014-02-06 12:59:39 +01:00
Éric Lemoine d13d2fdc6a Remove a FIXME 2014-02-06 12:59:39 +01:00
Éric Lemoine 63aadc5c0f Factor out icon image loading code 2014-02-06 12:59:39 +01:00
Éric Lemoine f9e04ad7d5 Use ol.renderer.Map#scheduleExpireIconCache 2014-02-06 12:59:39 +01:00
Éric Lemoine b43dd6db44 Add ol.renderer.Map#scheduleExpireIconCache 2014-02-06 12:59:39 +01:00
Éric Lemoine c2fe25ee26 Use the icon image cache 2014-02-06 12:59:39 +01:00
Éric Lemoine 065663b242 Introduce an icon image cache 2014-02-06 12:59:38 +01:00
Éric Lemoine bf8520096e Vector image source uses new image style interface 2014-02-06 12:59:38 +01:00
Éric Lemoine 78aef2f58c Vector renderer uses new image style interface 2014-02-06 12:59:38 +01:00
Éric Lemoine ae2b3359f8 Fix the kml format tests 2014-02-06 12:59:38 +01:00
Éric Lemoine 3626ff5b16 Icon images are handled by a separate class 2014-02-06 12:59:38 +01:00
Éric Lemoine 95bef8d7d2 Fix vector examples 2014-02-06 10:40:09 +01:00
Éric Lemoine dd526b5581 Simplify code in ol.render.Box#createGeometry_ 2014-02-04 17:18:23 +01:00
Éric Lemoine 3c981da304 Close the polygon created by ol.render.Box 2014-02-04 17:18:23 +01:00
Éric Lemoine 0c99e0a2ff Change keyboardEventTarget doc as requested by @probins 2014-02-04 15:52:40 +01:00
Éric Lemoine a91e6e2442 Accept string for keyboardEventTarget option 2014-02-04 15:48:44 +01:00
Éric Lemoine cf5aada8cf Add a keyboardEventTarget option to the map
This option allows specifying the element to listen to keyboard events on.
2014-02-04 15:46:50 +01:00
Éric Lemoine 65dea74427 Calculate pixelRatio before using it
This fixes a regression introduced by https://github.com/openlayers/ol3/commit/646dd18 where the device pixel ratio was used to determine the tile size even though serverType was not defined for the source.
2014-01-30 09:50:34 +01:00
Éric Lemoine 63bcf684f7 Fix the touch interactions
This fixes a bug introduced by https://github.com/openlayers/ol3/commit/318fc6815901380bdc7c9d1921cb5a9cc1e6e2ff.  Thanks @gjn for reporting the problem.
2014-01-30 09:13:03 +01:00
Éric Lemoine d49d96d651 Add comments for the canvasFunction option 2014-01-28 21:36:32 +01:00
Éric Lemoine 0eb72667c9 Add comments for setStyleFunction 2014-01-28 21:35:38 +01:00
Éric Lemoine ea22feed99 Export ol.Observable#dispatchChangeEvent 2014-01-28 20:57:15 +01:00
Éric Lemoine 1dfe571b76 Vector renderer uses the layer revision 2014-01-27 14:08:19 +01:00
Éric Lemoine 797b220b6c Hit detect circle points with no fill 2014-01-24 17:39:57 +01:00
Éric Lemoine 9a68f27eae Correctry handle color cache size 2014-01-22 10:17:15 +01:00
Éric Lemoine 8284043bf9 Render other features when dirty 2014-01-21 16:44:46 +01:00
Éric Lemoine 9d6d0e03c2 Configure draw interaction with a vector source 2014-01-20 16:09:48 +01:00
Éric Lemoine ad8833cc57 Remove old GetFeatureInfo related code 2014-01-19 21:58:18 +01:00
Éric Lemoine 8b9c3558ee Add FIXME 2014-01-19 21:52:28 +01:00
Éric Lemoine 8d60faeab7 Add GetFeatureInfo example 2014-01-19 21:52:28 +01:00
Éric Lemoine eb19000a06 Add tests for ol.source.TileWMS#getGetFeatureInfoUrl 2014-01-19 21:52:28 +01:00
Éric Lemoine 3327f9223b Add ol.source.TileWMS#getGetFeatureInfoUrl 2014-01-19 21:52:28 +01:00
Éric Lemoine f1fa0fcfc6 Add tests for ol.source.ImageWMS#getGetFeatureInfoUrl 2014-01-19 21:49:48 +01:00
Éric Lemoine 7cf69d0f58 Add ol.source.ImageWMS#getGetFeatureInfoUrl 2014-01-19 21:49:48 +01:00
Éric Lemoine 2a531136fc Pass layer to forEachFeatureAtPixel callback
This fixes a bug where the layer renderer instead of the layer is passed to the forEachFeatureAtPixel callback.
2014-01-17 11:38:06 +01:00
Éric Lemoine e83ec2976f Change forEachFeatureAtPixel arguments names 2014-01-17 11:38:06 +01:00
Éric Lemoine 542cf80da9 Better typing 2014-01-14 12:26:50 +01:00
Éric Lemoine b52b2223a6 Add hit detection to image-vector-layer example 2014-01-14 12:26:50 +01:00
Éric Lemoine 6c30710d0c Add ol.renderer.webgl.ImageLayer#forEachFeatureAtPixel 2014-01-14 12:26:50 +01:00
Éric Lemoine a15bacd963 Add ol.renderer.dom.ImageLayer#forEachFeatureAtPixel 2014-01-14 12:26:50 +01:00
Éric Lemoine ee17babc05 Add ol.renderer.canvas.ImageLayer#forEachFeatureAtPixel 2014-01-14 12:26:50 +01:00
Éric Lemoine 849e50517c Add ol.source.ImageVector#forEachFeatureAtPixel 2014-01-14 12:26:50 +01:00
Éric Lemoine 4cd2a75900 Add ol.source.Source#forEachFeatureAtPixel 2014-01-14 12:26:50 +01:00
Éric Lemoine f7be1c155e Hit detection refactoring
Get the frame state from the map instead of storing values in the layer renderers.
2014-01-14 12:26:49 +01:00
Éric Lemoine ffcd4e8cc2 Fix hit detection on retina displays 2014-01-13 14:10:51 +01:00
Éric Lemoine babd133cf6 Export ol.source.ImageVector's styleFunction option 2014-01-13 07:43:02 +01:00
Éric Lemoine d5b7527f1f Add docs for ol.source.ImageVector 2014-01-13 07:39:27 +01:00
Éric Lemoine d2d4e5e698 Add image vector layer example 2014-01-10 10:42:05 +01:00
Éric Lemoine 8c1f7f9b29 Add ol.source.ImageVector 2014-01-10 10:42:05 +01:00
Éric Lemoine e4b5f309eb Pass state option to image source constructors 2014-01-10 10:42:05 +01:00
Éric Lemoine 2ed5e2a3d7 Pass pixelRatio to canvasFunction 2014-01-10 10:42:05 +01:00
Éric Lemoine 2633d8784c Add a d3 example 2014-01-10 10:42:05 +01:00
Éric Lemoine 5af738593e Image source refactoring 2014-01-09 15:57:04 +01:00
Éric Lemoine 0fa748699a Export ol.source.Vector#forEachFeatureInExtent 2014-01-08 11:40:20 +01:00
Éric Lemoine fd6756e465 Export ol.format.KML#readName 2014-01-08 11:35:09 +01:00
Éric Lemoine 47056f6012 Remove useless code 2014-01-08 10:59:36 +01:00
Éric Lemoine 49120e4761 Icon anchors are Array.<number> 2014-01-08 10:07:01 +01:00
Éric Lemoine 5efc692b9d Add typecast to icon example 2014-01-08 00:44:00 +01:00
Éric Lemoine 7487f97436 Support anchorXUnits and anchorYUnits in KML format 2014-01-08 00:27:08 +01:00
Éric Lemoine 09e5574350 Use anchorXUnits and anchorYUnits in icon example 2014-01-08 00:24:55 +01:00
Éric Lemoine a0a94414dd Add anchorXUnits and anchorYUnits options to ol.style.Icon 2014-01-08 00:24:55 +01:00
Éric Lemoine 643c981074 Use FeaturesOverlay in vector-layer example
This demonstrates how to use ol.FeaturesOverlay for feature highlighting.
2014-01-07 15:15:43 +01:00
Éric Lemoine 6556726541 ol.FeaturesOverlay creates a features collection
ol.FeaturesOverlay creates an empty collection of features if the features option is not specified.
2014-01-07 14:13:57 +01:00
Éric Lemoine 8c0406b390 Add ol.FeaturesOverlay#removeFeature 2014-01-07 14:13:57 +01:00
Éric Lemoine 0b4970ae46 Add ol.FeaturesOverlay#addFeature 2014-01-07 14:13:57 +01:00
Éric Lemoine dacb747eb5 Source state of a layer doesn't depend on group 2014-01-07 13:03:31 +01:00
Éric Lemoine 12f1d97f82 Use drawAsync in canvas Immediate#drawFeature 2014-01-06 17:14:56 +01:00
Éric Lemoine 051c0a8b46 Use drawAsync in render box 2014-01-06 17:14:56 +01:00
Éric Lemoine 6db8f0c29f Add ol.render.canvas.Replay#drawAsync 2014-01-06 17:10:00 +01:00
Éric Lemoine 3f1d74a0f5 Add ol.render.webgl.Immediate#drawAsync 2014-01-06 17:10:00 +01:00
Éric Lemoine 84fc86f469 Add ol.render.canvas.Immediate#drawAsync 2014-01-06 17:10:00 +01:00
Éric Lemoine e9110923a4 Add ol.render.IRender#drawAsync 2014-01-06 17:05:05 +01:00
Éric Lemoine 1e54947ebb Only hit-detect visible features 2014-01-03 15:48:23 +01:00
Éric Lemoine 78504831e6 Export ol.Observable
This is so on, un and friends appear in the api docs.
2014-01-02 16:40:43 +01:00
Éric Lemoine 4a96eaff60 Fix linestring hit detection bug 2013-12-20 22:24:52 +01:00
Éric Lemoine 81ea704043 Change cursor when over a feature in KML example 2013-12-20 21:47:50 +01:00
Éric Lemoine 0c047f094f More description to dragzoom example 2013-12-20 16:05:53 +01:00
Éric Lemoine f3948c8741 Show how to use a custom style for DragZoom 2013-12-20 15:54:24 +01:00
Éric Lemoine 72ea0a10fc Use ol.interaction.defaults in dragzoom example 2013-12-20 15:54:13 +01:00
Éric Lemoine cf8adffdb2 Add style option to DragZoom interaction 2013-12-20 10:21:18 +01:00
Éric Lemoine eb840777e8 Add style option to DragBox interaction 2013-12-20 10:21:18 +01:00
Éric Lemoine 18f9eeab12 No default style in ol.render.Box 2013-12-20 10:21:18 +01:00
Éric Lemoine de329b02d3 Rename drag zoom interaction exports file 2013-12-20 10:21:18 +01:00
Éric Lemoine 0960584cfc Make DragZoom interaction inherit from DragBox 2013-12-20 10:21:18 +01:00
Éric Lemoine 6b305cd146 Add ol.interaction.DragBox 2013-12-20 10:21:18 +01:00
Éric Lemoine 91a61f3152 ol.render.Box refactoring 2013-12-20 10:21:17 +01:00
Éric Lemoine 0724300685 Rename a property 2013-12-20 10:15:54 +01:00
Éric Lemoine 712f451179 Use better type 2013-12-20 10:15:54 +01:00
Éric Lemoine 0b6e1e91c0 ol.render.DragBox renamed to ol.render.Box 2013-12-20 10:15:54 +01:00
Éric Lemoine 84e98b4422 Export ol.style.Style getters 2013-12-19 14:37:58 +01:00
Éric Lemoine f22f1e1f04 Export ol.style.Stroke getters 2013-12-19 14:37:58 +01:00
Éric Lemoine c9c8fad01a Export ol.style.Image getters 2013-12-19 14:37:58 +01:00
Éric Lemoine ad945e6331 Export ol.style.Icon getters 2013-12-19 14:37:58 +01:00
Éric Lemoine 47a1ec3a00 Export ol.style.Fill getters 2013-12-19 14:37:58 +01:00
Éric Lemoine 0dad9f49c7 Export ol.style.Circle getters 2013-12-19 14:37:58 +01:00
Éric Lemoine 44d310bb6d Add getters to ol.style.Text 2013-12-19 14:37:58 +01:00
Éric Lemoine d4d9cb6a3a Add getters to ol.style.Stroke 2013-12-19 14:37:57 +01:00
Éric Lemoine 5cd3ab06fc Add getters to ol.style.Image 2013-12-19 14:37:57 +01:00
Éric Lemoine e4f2a7552e Add getters to ol.style.Icon 2013-12-19 14:37:57 +01:00