Commit Graph

8691 Commits

Author SHA1 Message Date
Tim Schaub 00905e8131 Merge pull request #5793 from ahocevar/closure-bye-bye
Closure bye bye
2016-08-31 17:08:58 -06:00
Andreas Hocevar d1e4b33760 Rename goog.DEBUG to ol.DEBUG 2016-08-31 21:10:01 +02:00
Andreas Hocevar 92ab5a079c Remove use of goog.async.nextTick 2016-08-31 21:10:00 +02:00
Andreas Hocevar 367f0923c5 Remove use of goog.crypt 2016-08-31 21:10:00 +02:00
Andreas Hocevar 5bb887d3ce Remove use of goog.userAgent 2016-08-31 21:10:00 +02:00
Frédéric Junod 784c19a9b3 Merge pull request #5809 from fredj/reuse_layerState
Reuse ol.LayerState object
2016-08-31 16:53:38 +02:00
Frederic Junod d93bb74068 Use ol.global.getComputedStyle instead of window.getComputedStyle 2016-08-31 12:29:38 +02:00
Frederic Junod 5583a09889 Reuse ol.LayerState object
Reduce the number of temporary objects by reusing the layer state object.
2016-08-30 13:59:38 +02:00
Frederic Junod 854b20a8fd Update ol.source.Vector comments
Add a note for `getFeatures` and `getFeaturesInExtent` about the unordered array of features.
2016-08-29 13:49:48 +02:00
Frédéric Junod f16e40742c Merge pull request #5801 from fredj/rm_ol.style.ImageState
Remove ol.style.ImageState and use ol.ImageState instead
2016-08-29 11:16:48 +02:00
Andreas Hocevar 710c95c5cd Merge pull request #5790 from ahocevar/fix-pixelratio
Fix vector tile rotation on HiDPI devices
2016-08-29 11:04:55 +02:00
Frederic Junod bed95e3b5b Change ol.ImageState to ol.Image.State 2016-08-29 10:53:09 +02:00
Frederic Junod 1fecb6fd16 Remove ol.style.ImageState and use ol.ImageState instead 2016-08-29 10:39:37 +02:00
Andreas Hocevar c393d43005 Merge pull request #5798 from ahocevar/fix-rotated-circles
Move to 90° along the circle, not 0°
2016-08-29 10:31:21 +02:00
Tobias Sauerwein edfbbc4b40 Merge pull request #5800 from tsauerwein/filter-upper-lower
Wrap values in <Literal> for InBetween filter
2016-08-29 10:00:35 +02:00
Bart van den Eijnden fcc854bcea Merge pull request #5769 from bartvde/issue-5759
Only call addToDrawing if sketchFeature
2016-08-29 09:59:37 +02:00
tsauerwein d35e978c35 Move namespaces into constants 2016-08-29 09:39:49 +02:00
tsauerwein 7128e86e3c Wrap values in <Literal> 2016-08-29 09:34:52 +02:00
Andreas Hocevar 2037e725b3 Move to 90° along the circle, not 0° 2016-08-29 09:30:23 +02:00
Andreas Hocevar 5d00edfc1d Merge pull request #5745 from tamarmot/4316_goog_object_clone_cleanup
removed dependencies on goog.object.clone and fixed placemark rendering
2016-08-28 12:16:45 +02:00
Andreas Hocevar cb7c15c767 Fix vector tile rotation on HiDPI devices 2016-08-27 23:03:07 +02:00
Bart van den Eijnden fe6fe702b2 Merge pull request #5290 from tbarsballe/bboxinteraction
Add extent interaction
2016-08-27 09:08:28 +02:00
Torben Barsbsballe 7ed96f69f7 Add extent interaction 2016-08-25 17:41:39 +02:00
Andreas Hocevar 457de34485 Merge pull request #5708 from ahocevar/no-closepath
Remove unnecessary closePath() instructions
2016-08-25 17:05:52 +02:00
Andreas Hocevar 65d03bfbfb Bail out when there is no fill and stroke 2016-08-25 16:40:31 +02:00
Andreas Hocevar b7c84b269c Merge pull request #5196 from ahocevar/batch-fill-stroke
Batch polygon and circle fills and strokes
2016-08-24 12:02:52 +02:00
Andreas Hocevar 395793b921 Additional tests and code comments 2016-08-24 11:44:15 +02:00
Bart van den Eijnden 3118df320b Only call addToDrawing if sketchFeature 2016-08-23 18:05:06 +02:00
Andreas Hocevar 2d65ffb8ab Merge pull request #5768 from ahocevar/clip-vector
Enable extent clipping for vector layers
2016-08-23 16:33:34 +02:00
Frédéric Junod 379c092cf4 Merge pull request #4753 from fredj/export_contains
Export ol.geom.Geometry#containsCoordinate function
2016-08-23 16:22:20 +02:00
Andreas Hocevar 8992ee8e73 Entertain the compiler 2016-08-23 15:33:52 +02:00
Andreas Hocevar f490302959 Enable extent clipping for vector tile layers 2016-08-23 15:20:00 +02:00
Andreas Hocevar 1c73dc9088 Enable extent clipping for vector layers 2016-08-23 15:12:19 +02:00
Frédéric Junod 3fcb0641e4 Merge pull request #5050 from fredj/text_rotateWithView
Add rotateWithView option to ol.style.Text
2016-08-23 14:37:14 +02:00
Frederic Junod 8d1a26dd5b Export ol.geom.Geometry#intersectsCoordinate 2016-08-23 14:36:49 +02:00
Frederic Junod 9074bd9783 Rename ol.geom.Geometry#containsCoordinate to intersectsCoordinate 2016-08-23 14:36:09 +02:00
Frederic Junod 243f1061df Accept feature without geometry in ol.interaction.Modify 2016-08-23 13:49:43 +02:00
Frederic Junod 8e95d94f3e Add rotateWithView option to ol.style.Text 2016-08-23 13:26:02 +02:00
Frédéric Junod 17ebe82577 Merge pull request #5765 from fredj/fewer-render-calls
Force a map render when the view is not updated
2016-08-23 12:29:38 +02:00
Andreas Hocevar 7e940e618e Introduce new overlaps option for Vector and VectorTile sources
Instead of deciding whether to batch fills and strokes by looking at the
opacity of the style, we now rely on user input.
2016-08-23 12:05:03 +02:00
Andreas Hocevar eed52552a9 Batch polygon and circle fills and strokes 2016-08-23 12:05:03 +02:00
Frederic Junod fe75924941 Force a map render when the view is not updated 2016-08-23 10:57:20 +02:00
Andreas Hocevar bee94d0d4f Fix drawScale calculation
The goal of using a drawScale was to use the smallest possible canvas (i.e.
one that fits the tile pixel ratio instead of the view pixel ratio) when
composing rotated views. Instead, the drawScale caused a ridiculously
large canvas.
2016-08-23 10:55:56 +02:00
Andreas Hocevar 92e2b72f55 Fix clip extent calculation for tile layers 2016-08-23 10:55:56 +02:00
Tim Schaub 684a551273 Remove extra map.render() calls from mousewheel zoom interaction 2016-08-23 10:23:23 +02:00
Tim Schaub 22add7e431 Remove extra map.render() calls from keyboard zoom interaction 2016-08-23 10:23:23 +02:00
Tim Schaub 1439f14cf3 Remove extra map.render() calls from drag rotate/zoom interaction 2016-08-23 10:23:23 +02:00
Tim Schaub 92e83aebe0 Remove extra map.render() calls from drag rotate interaction 2016-08-23 10:23:23 +02:00
Tim Schaub 5d461fa0e7 Remove extra map.render() calls from drag pan interaction 2016-08-23 10:23:23 +02:00
Andreas Hocevar e62cc6ac47 Fix assert namespace 2016-08-23 09:58:31 +02:00