Commit Graph
100 Commits
Author SHA1 Message Date
Éric Lemoine 355ca67b86 Add ol.events.condition.click 2014-07-03 09:14:41 +02:00
Éric Lemoine 67c2e46c19 Add ol.events.condition.mouseMove 2014-07-03 09:14:41 +02:00
Éric Lemoine eafc2ac371 Change setValues to setProperties 2014-06-27 17:26:51 +02:00
Éric Lemoine 1ec25f3992 Remove the unused ol.format.KML.DOCUMENT_SEQUENCE_ 2014-06-27 10:59:31 +02:00
Éric Lemoine ccd01fb874 Add ol.format.XSD.writeBooleanTextNode 2014-06-27 10:56:04 +02:00
Éric Lemoine b67e71828d Add a test for ol.Object 2014-06-27 10:17:13 +02:00
Éric Lemoine 5ebb9686ce ol.Object doc improvement 2014-06-27 10:16:53 +02:00
Éric Lemoine 9179c914b8 Notify ol.Object source when transform is called 2014-06-27 10:16:27 +02:00
Éric Lemoine 177188d732 Add ol.format.KML.SCHEMA_LOCATION_ 2014-06-26 15:13:04 +02:00
Éric Lemoine b25e577865 Do not "export" ol.render.Event#replayGroup 2014-06-26 14:11:43 +02:00
Éric Lemoine 6cf4c95762 Flush the vector context after replaying the batch 2014-06-26 14:06:56 +02:00
Éric Lemoine 0762b8c023 Defer selection/deselection 2014-06-26 10:39:58 +02:00
Éric Lemoine bcdce20ee3 Clone skippedFeatureUids_ 2014-06-25 18:32:08 +02:00
Éric Lemoine 18d117dff6 Hit detection for features drawn at pre/postcompose 2014-06-25 18:32:02 +02:00
Éric Lemoine 384f2a0ecf Create valid KML documents
Thanks @bartvde.
2014-06-25 15:58:56 +02:00
Éric Lemoine 05970c9831 Minor change to the example externs file 2014-06-25 15:58:56 +02:00
Éric Lemoine fba89275d8 Use exampleNS.strToBase64 in kml example 2014-06-25 15:58:56 +02:00
Éric Lemoine 7fb3e5842d Add an exampleNS.strToBase64 function
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Base64_encoding_and_decoding
2014-06-25 15:58:56 +02:00
Éric Lemoine 78ac2c8a76 Add export button to kml example 2014-06-25 12:25:43 +02:00
Éric Lemoine a4e95eb513 Add write support to KML format 2014-06-25 12:17:32 +02:00
Éric Lemoine 8dc9618adb Add ol.style.Icon#getImageSize 2014-06-25 12:16:22 +02:00
Éric Lemoine ec6a0548d1 Add ol.Feature#clone 2014-06-25 09:31:15 +02:00
Éric Lemoine b40a6997d9 Add stable tags to ol.Map 2014-06-19 10:37:11 +02:00
Éric Lemoine 601f0d8fd2 Add stable tags to ol.Collection 2014-06-19 10:35:04 +02:00
Éric Lemoine af78adb417 Make ol.Overlay always call setPositioning 2014-06-19 10:09:57 +02:00
Éric Lemoine 0a0d12ec8a Make ol.Overlay always call setOffset 2014-06-19 10:09:37 +02:00
Éric Lemoine dced47157e Better docs for ol.Overlay#positioning 2014-06-19 09:57:58 +02:00
Éric Lemoine fd151e1386 Add docs for tilePixelRatio 2014-06-19 09:50:53 +02:00
Éric Lemoine d1d8d5f96c Add an offset property to ol.Overlay
Replaces "offsetX" and "offsetY" by an ol.Object "offset" property.
2014-06-18 22:11:07 +02:00
Éric Lemoine 16c9d9bf09 Use tilePixelOption in wmts-hidpi example 2014-06-18 13:34:57 +02:00
Éric Lemoine e161f0eaba Add tilePixelRatio option to ol.source.WMTS 2014-06-18 13:34:57 +02:00
Éric Lemoine 947eb2e949 Add tilePixelRatio option to ol.source.TileImage 2014-06-18 13:34:57 +02:00
Éric Lemoine 4bcadc5b8d Add tilePixelRatio option to ol.source.Tile 2014-06-18 13:27:22 +02:00
Éric Lemoine a7b4a08e07 Add "None" to draw-features example's select
This allows to deactivate drawing entirely in the example.
2014-06-18 08:26:45 +02:00
Éric Lemoine 4f23ef66d0 Make ol.FeatureOverlay use replay group 2014-06-14 14:22:10 +02:00
Éric Lemoine 49a1215f75 Pass a replay group to ol.render.Event 2014-06-14 14:21:34 +02:00
É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