Commit Graph
100 Commits
Author SHA1 Message Date
Éric Lemoine 7a1e605f14 Skipped features support to ol.source.ImageVector 2014-06-11 16:26:21 +02:00
Éric Lemoine be62e75714 Change sourceDir to src/ in generate-info.js
This is to accomodate the case where other directories than "ol" include "api" annotations. For example, the Swisstopo geoadmin folks extend OpenLayers 3 in an ol3 fork, and they have their own "ga" namespace/directory under "src". See https://github.com/geoadmin/ol3/tree/master/src.
2014-06-09 10:20:50 +02:00
Éric Lemoine 85835a977b Add ol.FeatureOverlay tests 2014-06-02 14:05:06 +02:00
Éric Lemoine 4981cde729 Add "img" option to ol.style.Icon 2014-06-02 07:56:34 +02:00
Éric Lemoine afce8e8f5f Fix bug in ol.FeatureOverlay
This fixes a major regression introduced by db5b443 (#2028), where the FeatureOverlay won't draw features that do not have an image style.
2014-05-27 16:22:37 +02:00
Éric Lemoine fd8a46dcae Hit detection respects min and maxResolution 2014-05-25 14:35:07 +02:00
Éric Lemoine 9b7735bf92 Add missing @param annotation 2014-05-19 15:43:38 +02:00
Éric Lemoine 6758e0905b Fix icon rendering on hidpi devices 2014-05-09 08:44:23 +02:00
Éric Lemoine 2b8f2517bd Remove duplicate record field "duration" in olx.js 2014-05-07 18:30:46 +02:00
Éric Lemoine 8610a91ea9 Set snapToPixel to false in dynamic-data example 2014-05-07 18:01:24 +02:00
Éric Lemoine 511e3f7810 Avoid defining default values at multiple locations 2014-05-07 09:58:56 +02:00
Éric Lemoine 6cd403945a Set snapToPixel defaut value to true 2014-05-07 09:58:56 +02:00
Éric Lemoine 18d292edd7 Make check-example.js display console logs from page 2014-05-06 16:38:55 +02:00
Éric Lemoine c974612cc5 Use actual circle canvas size 2014-05-06 16:38:07 +02:00
Éric Lemoine a7aab4eb47 Make Immediate API use ol.style.Image "origin" 2014-05-05 09:56:12 +02:00
Éric Lemoine 562d74dbed Make Replay API use ol.style.Image "origin" 2014-05-05 09:55:58 +02:00
Éric Lemoine a62fd53d36 Add "origin" option to ol.style.Image 2014-05-05 09:30:35 +02:00
Éric Lemoine f9c0f12f23 Remove skippeFeatures collection 2014-04-24 20:58:50 +02:00
Éric Lemoine 4e965123c8 Make handling of skipped features faster 2014-04-18 10:52:20 +02:00
Éric Lemoine f59b3e968b Rework handling of skipped features in replay 2014-04-16 19:12:31 +02:00
Éric Lemoine df3319328d Add a comment to build.py 2014-04-10 17:58:35 +02:00
Éric Lemoine f9388749d4 undefined may be passed to ol.animation.rotate 2014-04-10 14:05:18 +02:00
Éric Lemoine 42adc23e86 Use ol.View2D#rotate in Interaction 2014-04-10 14:05:18 +02:00
Éric Lemoine 59c3857afd Add rotateAroundRome to animation example 2014-04-10 14:05:18 +02:00
Éric Lemoine 3c86dba3a8 ol.animate.rotate takes an optional anchor 2014-04-10 14:05:17 +02:00
Éric Lemoine 00917b7262 Export ol.View2D#rotate 2014-04-10 14:05:17 +02:00
Éric Lemoine e03054f17f Add ol.View2D#rotate 2014-04-10 12:40:47 +02:00
Éric Lemoine 00bc424098 Add ol.coordinate.sub 2014-04-10 12:40:47 +02:00
Éric Lemoine baca25ed95 Fix bug at modify interaction construction time
This fixes a bug that occurs when the modify interaction is configured with a non-empty collection of features.
2014-04-10 11:00:00 +02:00
Éric Lemoine ee1b4e08a1 Add ol.source.ImageWMS#getUrl 2014-04-10 09:16:24 +02:00
Éric Lemoine e4c2cf0b63 Add ol.source.TileWMS#getUrls 2014-04-10 09:16:24 +02:00
Éric Lemoine ce0b1d2a47 Use goog.functions.identity where it makes sense 2014-04-07 16:59:04 +02:00
Éric Lemoine eac9b71b95 Set shouldStopEvent to identity in DragBox
This fixes a bug where the map is panned when boxes are drawn.
2014-04-07 16:57:02 +02:00
Éric Lemoine 8b0ae9e4da Hit detection skips layers in invisible groups 2014-04-03 16:54:39 +02:00
Éric Lemoine c82d5ba88e Make the Modify interaction more robust
This prevents a JavaScript error when features are added while the interaction does not have a map.
2014-03-28 16:09:52 +01:00
Éric Lemoine afa5f35cef Create the R-Tree in the Modify constructor
In this way features can be added/removed to/from the R-Tree even when the interaction does not have a map.
2014-03-28 16:07:03 +01:00
Éric Lemoine c33a3372d9 Fix initial state of the Modify interaction
Features that are in the features collection need to be added to the R-Tree.
2014-03-28 16:03:34 +01:00
Éric Lemoine 3b642ae549 Remove the getSkippedFeatureUids function 2014-03-20 13:30:45 +01:00
Éric Lemoine c4b654b26c Rename skippedFeaturesHash to skippedFeatureUids 2014-03-20 13:29:30 +01:00
Éric Lemoine 71484d9a53 Better API doc strings in ol.Map 2014-03-20 13:25:20 +01:00
Éric Lemoine 435e5e6916 Better type checking in ol.Map 2014-03-20 13:19:54 +01:00
Éric Lemoine d08ab1ea78 PinchZoom interaction sets/unsets interacting hint 2014-03-14 10:16:27 +01:00
Éric Lemoine 544ceaf9f9 PinchRotate interaction sets/unsets interacting hint 2014-03-14 10:16:27 +01:00
Éric Lemoine b5339550b7 DragPan interaction sets/unsets interacting hint 2014-03-14 10:16:27 +01:00
Éric Lemoine d1ef5b0f5b Remove view hint handling from pointer interaction 2014-03-14 10:16:27 +01:00
Éric Lemoine 35b31730b5 Change a property from private to protected 2014-03-14 10:16:27 +01:00
Éric Lemoine b939ca24d7 Use a more explicit variable name 2014-03-14 10:16:27 +01:00
Éric Lemoine 91cd8f20cc Use change event in geolocation example 2014-03-14 09:32:37 +01:00
Éric Lemoine 0577bbc1a1 Make Geolocation dispatch change events 2014-03-14 09:32:25 +01:00
Éric Lemoine 814e5d2790 Re-render on feature changes 2014-03-12 10:03:42 +01:00
Éric Lemoine 6047a4dcf6 Use default style function in FeatureOverlay 2014-03-10 11:32:36 +01:00
Éric Lemoine e43a8d116e Fix type error in ol.layer.Layer 2014-02-26 16:44:52 +01:00
Éric Lemoine 9428fb109f Fix handling of the color cache 2014-02-20 11:26:02 +01:00
Éric Lemoine aee620d2d9 Initialize properties in the constructor 2014-02-19 00:13:39 +01:00
Éric Lemoine 66a17b20e0 Better code formatting 2014-02-16 23:20:32 +01:00
Éric Lemoine eef32c5d5d Use minus sign as zoom out label 2014-02-16 23:19:03 +01:00
Éric Lemoine db83b11eee Modify interaction doesn't need to store styles 2014-02-16 16:15:11 +01:00
Éric Lemoine 581b2d345d Show how to use ol.Feature#setStyleFunction in the icon example 2014-02-12 14:26:00 +01:00
Éric Lemoine 1acc542bb6 Use the renderer map option in the examples 2014-02-06 16:56:15 +01:00
Éric Lemoine 09beba69ad Remove the map renderers option 2014-02-06 16:56:15 +01:00
Éric Lemoine 90155ad519 Passing options to the select interaction is mandatory 2014-02-06 15:07:08 +01:00
É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 ceec3c985d Fix minor typo in vector-layer example 2014-02-04 16:45:42 +01:00
Éric Lemoine d40440e028 Change olx.render.FeaturesOverlayOptions to olx.FeatureOverlayOptions 2014-02-04 16:43:56 +01:00
Éric Lemoine 356f86d8f7 Use featureOverlay in select interaction 2014-02-04 16:43:26 +01:00
Éric Lemoine ff11ed2e1e Variable renaming in examples 2014-02-04 16:41:40 +01:00
Éric Lemoine 169bdbc16f goog.require in alphabetical order 2014-02-04 16:32:59 +01:00
Éric Lemoine 10f03374f3 Rename ol.render.FeaturesOverlay to ol.FeatureOverlay 2014-02-04 16:30:15 +01:00
Éric Lemoine 07b16edaf7 Rename render/featuresoverlay files to featureoverlay 2014-02-04 16:25:42 +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