Commit Graph

8925 Commits

Author SHA1 Message Date
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
Tim Schaub daba1fbcb6 Add EventType enum to ol.Object 2016-12-06 14:49:43 -07:00
Tim Schaub 3d2f677f2a Add OperationType enum to ol.source.Raster 2016-12-06 14:49:43 -07:00
Tim Schaub c0fe3f1e4f Dedicated module for ol.extent.Relationship enum 2016-12-06 14:49:43 -07:00
Tim Schaub 780bb1b30d Dedicated module for ol.extent.Corner enum 2016-12-06 14:49:43 -07:00
Tim Schaub fc8915d8b7 Merge pull request #6204 from tschaub/proj
Refactored proj modules
2016-12-06 14:38:35 -07:00
Andreas Hocevar 89ebf0a182 Merge pull request #6091 from tchandelle/linedash
Apply pixelRatio to line dash
2016-12-06 15:53:23 +01:00
Andreas Hocevar 621589b318 Merge pull request #6082 from ahocevar/unified-canvas-rendering
Unified canvas rendering
2016-12-06 08:59:40 +01:00
Andreas Hocevar 93d86e63fc Defer frame preparation when too much time was spent 2016-12-06 08:51:55 +01:00
Andreas Hocevar ee7b894350 Refactor VectorTile renderer and add lower resolution clipping 2016-12-06 08:51:55 +01:00
Andreas Hocevar 0d65d1d813 Remove support for skipped features 2016-12-06 08:47:41 +01:00