Commit Graph

8783 Commits

Author SHA1 Message Date
Frédéric Junod dd3dcde160 Merge pull request #6255 from fredj/translate_cursor
Don't reset the css cursor if it's not needed
2016-12-22 09:20:00 +01:00
Andreas Hocevar 0e55e0625e Use interim tiles 2016-12-21 14:42:12 +01:00
Tim Schaub 35b950cc40 Avoid modifying coordinate in forEachLayerAtCoordinate 2016-12-19 14:00:34 -07:00
Tim Schaub d342748563 Merge pull request #6278 from tschaub/missing-requires
Add missing require for ol.View
2016-12-19 11:15:18 -07:00
Andreas Hocevar a8d9202175 Continue loading tiles when image is not ready yet 2016-12-19 13:14:18 +01:00
Tim Schaub 3a61344b1c Add missing require for ol.View 2016-12-18 15:26:21 -07:00
Tim Schaub 6af5f54b5b Merge pull request #6277 from tschaub/unambiguous-path
Name modules more like their provide
2016-12-18 14:39:08 -07:00
Tim Schaub ef04f466cd Name modules more like their provide 2016-12-18 11:24:01 -07:00
Frederic Junod c6fe60bcd7 Don't reset the css cursor if it's not needed 2016-12-16 15:57:41 +01:00
Andreas Hocevar 20155ce2a7 Remove the requirement to provide a size to ol.View#fit() 2016-12-16 14:52:09 +01:00
Marc Jansen e59defc293 Enhance documentation for ol.View#fit 2016-12-15 21:17:46 +01:00
Andreas Hocevar 4f5a4ca031 Set geometry name properly 2016-12-15 17:18:53 +01:00
Andreas Hocevar 3e8c8791d0 Take image pixel ratio into account for rendered resolution 2016-12-14 23:53:44 +01:00
Andreas Hocevar 85f7a7c843 Re-render vector tiles when layer has changed 2016-12-14 14:45:02 +01:00
Frederic Junod 1478cadb18 Consistent spacing between keys and values in object literal
Related to https://github.com/openlayers/eslint-config-openlayers/pull/9
2016-12-14 12:10:47 +01:00
Tim Schaub bb62360213 Create a lookup of unique attributions 2016-12-10 11:36:27 -07:00
Attila Berényi bedda42c3e Ignore duplicate attributions.
See https://github.com/openlayers/ol3/issues/5297
2016-12-10 11:31:05 -07:00
Tim Schaub 862152f9db Merge pull request #6192 from tchandelle/delete-vertex
Modify interaction: always stop event propagation when removing vertex
2016-12-10 11:18:37 -07:00
Tim Schaub 1f742da046 Merge pull request #6196 from raiyni/ExtendedData
KML ExtendedData Export
2016-12-09 10:41:33 -07:00
Tim Schaub 4ff87a0eef Merge pull request #6224 from aAXEe/pinZoom-allowFractionalZoom
Pinch zoom: allow fractional zoom
2016-12-09 10:22:05 -07:00
Axel Utech 321b1f72ad add an option to make the pinchZoom constrain zoom levels to integers
Changes the default behavior of ol.interaction.PinchZoom to keep
the fractional zoom level after the gesture.
The old behavior of zooming to the next whole-number level can be
enforced with the new parameter `constrainResolution`.
2016-12-09 18:02:36 +01:00
simonseyock f28e0ebc1f Added hitTolerance parameter to reworked files 2016-12-08 10:21:57 +01:00
simonseyock f10ae6c474 Adressed review.
Reusing transform
Changing either size of the canvas or clearing it
adding unit of hitTolerance to jsdoc
2016-12-08 10:14:36 +01:00
simonseyock 55ec0af072 Simplified api 2016-12-08 10:14:36 +01:00
simonseyock 8edc2be103 Added hitTolerance to TranslateInteraction 2016-12-08 10:14:09 +01:00
simonseyock a469803941 adjusted hitTolerance by pixelRatio 2016-12-08 10:14:09 +01:00
simonseyock 00a4f3b410 buffering extent by resolution*hitTolerance 2016-12-08 10:14:09 +01:00
simonseyock f6ee11bb68 Documentation and linting 2016-12-08 10:14:09 +01:00
simonseyock eede027417 Added buffer to ol.renderer.canvas.VectorTileLayer#forEachFeatureAtCoordinate
buffering by pointResolution times hitTolerance
2016-12-08 10:14:09 +01:00
simonseyock e9d2b913ea removed uses of lazy evaluation of || 2016-12-08 10:14:09 +01:00
simonseyock 5608e7284b Renamed FeatureAtPixelOptions to AtPixelOptions for future use in forEachLayerAtPixel 2016-12-08 10:14:09 +01:00
simonseyock f0439685ad minor typos 2016-12-08 10:14:09 +01:00
simonseyock da020d77e9 Added cache for circle arrays. Reusing context. 2016-12-08 10:14:09 +01:00
simonseyock e0edefb4d7 Added hitTolerance to select interaction. Added hitTolerance to select interaction example. 2016-12-08 10:14:09 +01:00
simonseyock 2ea41afe6e Added hitTolerance to hasFeatureAtPixel. Corrected JsDoc problems. 2016-12-08 10:14:09 +01:00
simonseyock 80e392ea52 Satisfying linter, jsdoc & compiler 2016-12-08 10:14:09 +01:00
simonseyock 2493eb2c20 Implemented midpoint circle algorithm 2016-12-08 10:13:47 +01:00
simonseyock 5ce0d8aa2a changed signature of internal methods 2016-12-08 10:13:47 +01:00
simonseyock 80188b2044 Change signature of api methods 2016-12-08 10:12:42 +01:00
simonseyock a6c768ae07 Make forEachFeatureAtCoordinate work with variable hitContext size 2016-12-08 10:12:42 +01:00
Frédéric Junod e95778e47f Merge pull request #6220 from fredj/collection_push_length
Fix ol.Collection#push return value
2016-12-08 08:26:31 +01:00
Andreas Hocevar d854222c4b Fix forEachLayerAtPixel and improve class hierarchy 2016-12-07 19:39:52 +01:00
Marc Jansen f795019215 Merge pull request #6075 from tchandelle/modify_stride
Keep the other dim from the original segment when modifying vertex
2016-12-07 19:22:59 +01:00
Frederic Junod 5e0ce08804 Fix ol.Collection#push return value 2016-12-07 15:11:31 +01:00
Guillaume Beraudo 109e6a8324 Make modify interaction more robust
When the map has not been rendered yet, adding a feature should not
trigger coordinate related functions as they make use of the framestate.
2016-12-07 11:15:28 +01:00
Tim Schaub 041766d53c Reworked mapbrowser* things 2016-12-06 14:49:43 -07:00
Tim Schaub 57e3e7273e Add Property enum to ol.layer.Base 2016-12-06 14:49:43 -07:00
Tim Schaub 66dc2582ef Dedicated module for GeometryLayout 2016-12-06 14:49:43 -07:00
Tim Schaub 7858b68fc0 Dedicated module for GeometryType enum 2016-12-06 14:49:43 -07:00
Tim Schaub c00906cde9 Add Event to ol.Object 2016-12-06 14:49:43 -07:00