Commit Graph
100 Commits
Author SHA1 Message Date
É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
Éric Lemoine 16047ff852 Add getters to ol.style.Fill 2013-12-19 11:41:38 +01:00
Éric Lemoine 8fdd178d0a Add getters to ol.style.Circle 2013-12-19 11:36:31 +01:00
Éric Lemoine 1e24ec28be Add getters to ol.style.Style 2013-12-19 11:32:57 +01:00
Éric Lemoine fe7b614f22 Support hit detection on tainted canvas 2013-12-19 09:10:09 +01:00
Éric Lemoine 2bd0f8ae3e Add ol.style.Icon#getHitDetectionImage 2013-12-19 09:08:58 +01:00
Éric Lemoine 59910339cd Add ol.style.Circle#getHitDetectionImage 2013-12-19 09:08:30 +01:00
Éric Lemoine ebcc6ab509 Add ol.style.Image#getHitDetectionImage abstract method 2013-12-19 09:08:04 +01:00
Éric Lemoine a5089a0e0c Example rtree uses ol.style.Circle 2013-12-19 00:20:11 +01:00
Éric Lemoine 57814aba04 Example synthetic-points uses ol.style.Circle 2013-12-19 00:20:11 +01:00
Éric Lemoine 41ec0fd79b Example igc uses ol.style.Circle 2013-12-19 00:20:11 +01:00
Éric Lemoine 722bf3e0b2 Example geojson uses ol.style.Circle 2013-12-19 00:20:11 +01:00
Éric Lemoine 864d4d95e5 Example dynamic-data uses ol.style.Circle 2013-12-19 00:20:11 +01:00
Éric Lemoine 573b15182c Example icon uses ol.style.Icon 2013-12-19 00:20:11 +01:00
Éric Lemoine faf6722c84 Canvas immediate uses ol.style.Image#getImage 2013-12-19 00:20:11 +01:00
Éric Lemoine ee1ac6b23c Canvas replay uses ol.style.Image#getImage 2013-12-19 00:20:11 +01:00
Éric Lemoine a97e3d036b Remove olx.style.ImageOptions 2013-12-19 00:20:11 +01:00
Éric Lemoine d2d801d8a6 Add olx.style.IconOptions 2013-12-19 00:20:11 +01:00
Éric Lemoine 6afd711c66 Add olx.style.CircleOptions 2013-12-19 00:20:10 +01:00
Éric Lemoine 1b22ea0677 Remove ol.shape.renderCircle 2013-12-19 00:20:10 +01:00
Éric Lemoine 4b9de0a93c Remove ol.icon.renderIcon 2013-12-19 00:20:10 +01:00
Éric Lemoine e44aa1e14a Make ol.style.Image a base class for Icon and Circle 2013-12-19 00:20:10 +01:00
Éric Lemoine c786b91f3c Export ol.style.Circle 2013-12-19 00:20:10 +01:00
Éric Lemoine 65a75399c2 Add ol.style.Circle 2013-12-19 00:20:10 +01:00
Éric Lemoine 8e1107070b Export ol.style.Icon 2013-12-19 00:20:10 +01:00