Commit Graph
100 Commits
Author SHA1 Message Date
Andreas Hocevar 90cfde39b3 Merge pull request #5897 from ahocevar/wms-time-data
Show NEXRAD data in WMS Time example
2016-09-16 20:12:42 +02:00
Andreas Hocevar 36aeccdac2 Merge pull request #5896 from probins/renderer
Remove plain string from Map renderer option
2016-09-16 20:10:23 +02:00
Andreas Hocevar a88f150c4b Show NEXRAD data in WMS Time example 2016-09-16 20:02:09 +02:00
Andreas Hocevar e9056c9d30 Merge pull request #5893 from ahocevar/fix-assertion
Fix fillStyle or strokeStyle defined assertion
2016-09-16 15:06:20 +02:00
Andreas Hocevar 76605e232a Merge pull request #5892 from probins/getrenderer
Remove getRendererFromQueryString from examples
2016-09-16 15:05:57 +02:00
Andreas Hocevar e87c198eef Fix fillStyle or strokeStyle defined assertion 2016-09-16 14:21:10 +02:00
Andreas Hocevar 49e2e55063 Merge pull request #5889 from openlayers/greenkeeper-coveralls-2.11.13
Update coveralls to version 2.11.13 🚀
2016-09-15 23:10:20 +02:00
Andreas Hocevar 057f60e4f1 Merge pull request #5878 from ahocevar/polygon-appendflatcoordinates
Smarter handling of closed rings and closePath() instructions
2016-09-13 20:14:25 +02:00
Andreas Hocevar c8c1578928 Add rendering tests for simplified polygons 2016-09-13 16:32:55 +02:00
Andreas Hocevar e7bc7121d6 Add option to skip first coordinate for use with closePath() 2016-09-13 02:14:12 +02:00
Andreas Hocevar 430aee95fd Only check for fill and stroke once 2016-09-13 02:14:12 +02:00
Andreas Hocevar 129757578d Do not repeat first vertex when closed is true 2016-09-13 02:13:30 +02:00
Andreas Hocevar c7e743805b Merge pull request #5870 from openlayers/greenkeeper-eslint-3.5.0
Update eslint to version 3.5.0 🚀
2016-09-10 11:29:30 +01:00
Andreas Hocevar f4b40ab28e Merge pull request #5842 from ahocevar/remove-extra-provide
Remove extra provide causing a circular dependency
2016-09-02 22:05:49 +02:00
Andreas Hocevar ae41b83a78 Remove extra provide causing a circular dependency 2016-09-02 21:46:46 +02:00
Andreas Hocevar 9b61e8f44c Merge pull request #5795 from thomasmoelhave/wmts-tile-transitions
Render older loaded tiles while waiting for new tiles
2016-09-02 16:53:55 +02:00
Andreas Hocevar ed17cbc6f0 Move interim tile related methods to ol.Tile 2016-09-02 15:28:28 +02:00
Andreas Hocevar e962b6f801 Merge pull request #5835 from thomasmoelhave/getuid-sequence
document and test ol.getUid sequence behavior
2016-09-02 10:34:22 +02:00
Andreas Hocevar a445d80c03 Merge tag 'v3.18.2'
3.18.2
2016-09-01 16:53:21 +02:00
Andreas Hocevar 394c338ff8 Update package version to 3.18.2 2016-09-01 16:44:37 +02:00
Andreas Hocevar a112dd83e2 Changelog for v3.18.2 2016-09-01 16:44:06 +02:00
Andreas Hocevar c6aef2a7da Merge pull request #5828 from ahocevar/close-polygons
Always close polygon rings
2016-09-01 16:41:21 +02:00
Andreas Hocevar 7911ab1d18 Merge pull request #5828 from ahocevar/close-polygons
Always close polygon rings
2016-09-01 16:38:01 +02:00
Andreas Hocevar 6e0b406c7b Always close polygon rings
This ensures that we do not optimize away the last vertex of a polygon
2016-09-01 16:19:41 +02:00
Andreas Hocevar fe16cf9702 Fix ol.source.Zoomify namespace hierarchy 2016-09-01 06:58:09 -06:00
Andreas Hocevar 2972917bb9 Properly detect ol.ext.* requires 2016-09-01 06:58:09 -06:00
Andreas Hocevar 843a6a4bf4 Give ol.style.Atlas its own file 2016-09-01 06:58:09 -06:00
Andreas Hocevar a8d8942fba Rename ol.style.IconAnchorUnits and ol.style.IconOrigin 2016-09-01 06:58:09 -06:00
Andreas Hocevar 1beddcd99a Remove unnecessary charcode enum 2016-09-01 06:58:09 -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
Andreas Hocevar 389ae13cea Merge pull request #5803 from openlayers/v3.18.1
V3.18.1
2016-08-29 13:28:22 +02:00
Andreas Hocevar 0b3eed5500 Update package version to 3.18.1 2016-08-29 13:18:04 +02:00
Andreas Hocevar b98a28857d Changelog for v3.18.1 2016-08-29 13:17:32 +02:00
Andreas Hocevar a14a348246 Merge pull request #5798 from ahocevar/fix-rotated-circles
Move to 90° along the circle, not 0°
2016-08-29 13:13:23 +02:00
Andreas Hocevar ffefda132a Merge pull request #5790 from ahocevar/fix-pixelratio
Fix vector tile rotation on HiDPI devices
2016-08-29 13:12:27 +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
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
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
Andreas Hocevar 4b97612900 Merge pull request #5786 from openlayers/greenkeeper-eslint-3.4.0
Update eslint to version 3.4.0 🚀
2016-08-26 22:30:10 +02:00
Andreas Hocevar 0d0f2d454b Merge pull request #5785 from openlayers/release-v3.18.0
Release v3.18.0
2016-08-26 17:57:22 +02:00
Andreas Hocevar 92cc26596d Update package version to 3.18.0 2016-08-26 17:56:10 +02:00
Andreas Hocevar 7de3951236 Changelog for v3.18.0 2016-08-26 17:55:57 +02:00
Andreas Hocevar 3fc2b9798e Merge pull request #5782 from ahocevar/ie-tests
Compare URLs in an IE compatible way
2016-08-26 17:25:27 +02:00
Andreas Hocevar 2e7b8dbbca Compare URLs in an IE compatible way 2016-08-26 17:03:21 +02:00
Andreas Hocevar 3e2c7071f8 Merge pull request #5778 from ahocevar/osm-mapzen
Use Mapzen instead of openstreetmap.us tiles
2016-08-26 11:46:58 +02:00
Andreas Hocevar 853fbee1e2 Use Mapzen instead of openstreetmap.us tiles
The openstreetmap.us tile service will be shut down before the end of the
month.
2016-08-26 10:46:12 +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
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
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
Andreas Hocevar 79ded2aa75 Merge pull request #5724 from ahocevar/fix-tilelayer-extent
Fix clipping of the tile layer extent on HiDPI devices
2016-08-23 12:12:40 +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
Andreas Hocevar 208ea171c3 Add test to ensure the correct draw canvas size 2016-08-23 12:01:32 +02:00
Andreas Hocevar c1daf6f49f Add rendering tests for hidpi layer clipping 2016-08-23 10:55:56 +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
Andreas Hocevar 3b4e368a00 Merge pull request #5763 from ahocevar/fix-assert
Fix assert namespace
2016-08-23 10:14:37 +02:00
Andreas Hocevar e62cc6ac47 Fix assert namespace 2016-08-23 09:58:31 +02:00
Andreas Hocevar c81709bed3 Merge pull request #5616 from ahocevar/fix-mouseonly-type
Fix event type and documentation of ol.events.condition.mouseOnly
2016-08-23 09:46:16 +02:00
Andreas Hocevar f9a595ed5b Merge pull request #5752 from ahocevar/fix-rotated-replaycontext
Set proper replay canvas size and offset for rotated view
2016-08-22 21:40:29 +02:00
Andreas Hocevar ce50714b85 Merge pull request #5753 from openlayers/greenkeeper-proj4-2.3.15
Update proj4 to version 2.3.15 🚀
2016-08-22 01:42:45 +02:00
Andreas Hocevar 02daf761f0 Set proper replay canvas size and offset for rotated view 2016-08-21 14:14:37 +02:00
Andreas Hocevar 790bfe5a52 Merge pull request #5731 from Benjaki2/master
Added a pixelRatio adjust to the canvasTileLayer 'forEachLayerAtPixel…
2016-08-16 00:17:49 +02:00
Andreas Hocevar be1bec3aa8 Merge pull request #5725 from probins/wmts
Remove tilerange assert from tilegrid/wmts
2016-08-15 09:46:31 +02:00
Andreas Hocevar f3c8465e6c Merge pull request #5670 from Benjaki2/master
Added image data value to 'forEachLayerAtPixel' method callback
2016-08-13 14:09:47 +02:00
Andreas Hocevar 846a0e5f76 Merge pull request #5720 from probins/patch-1
Fix typo in tilegrid/wmts
2016-08-12 19:27:09 +02:00
Andreas Hocevar 7b2bdbc064 Create a check-example task for smarter example checking with PhantomJS 2016-08-12 12:05:47 +02:00
Andreas Hocevar 18ac300ed1 Merge pull request #5713 from ahocevar/check-examples-http
Check examples with http protocol instead of file
2016-08-12 08:46:41 +02:00
Andreas Hocevar 58a8e7d352 Check examples with http protocol instead of file 2016-08-11 23:07:27 +02:00
Andreas Hocevar 30ed4a29c8 Fix winding order for raster reprojection triangles
On Firefox/Linux, calling clip() without closePath() requires this.
2016-08-11 15:56:52 +02:00
Andreas Hocevar 9d80116bf0 Remove closePath() where clip() is used
clip() does an implicit closePath(), see
https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Compositing#Clipping_paths
2016-08-11 15:56:52 +02:00
Andreas Hocevar 370c0c0846 Do not close the ring when we use closePath() 2016-08-11 15:56:52 +02:00
Andreas Hocevar a4f69f32d7 Avoid expensive closePath() when it makes no visual difference 2016-08-11 15:56:52 +02:00
Andreas Hocevar 274593feef Add rendering test for closed paths 2016-08-11 15:56:52 +02:00
Andreas Hocevar 4b68df73a8 Do not expose ol.MapBrowserPointerEvent to the docs 2016-08-09 16:13:57 +02:00
Andreas Hocevar a9c54e0c02 Fix event type and documentation of ol.events.condition.mouseOnly 2016-08-09 15:55:14 +02:00
Andreas Hocevar b25ce40781 Merge pull request #5619 from ahocevar/remove-goog-asserts
Remove goog.asserts.*
2016-08-04 23:02:38 +02:00
Andreas Hocevar bf275b0740 Remove asserts from ol.format.WFS 2016-08-04 11:42:40 +02:00
Andreas Hocevar e18d41b5e0 Remove gratuitous debug assertions 2016-08-04 11:29:54 +02:00
Andreas Hocevar e0015b3d4e Use goog.DEBUG instead of ol.DEBUG for now 2016-08-04 11:29:54 +02:00
Andreas Hocevar 55ab5704d4 Use a nicer URL for the error descriptions 2016-08-04 11:29:54 +02:00
Andreas Hocevar 6f5ed17fc5 Remove goog.asserts.*
This pull requests replaces type check hint assertions with type casts,
library sanity check assertions with conditional console.assert statements
in debug mode, and runtime sanity checks with assertions that throw an
ol.AssertionError with an error code for lookup outside the library.
2016-08-04 11:29:54 +02:00
Andreas Hocevar f50f1f401c Merge pull request #5674 from ahocevar/fractional-getzoom
Support fractional zoom levels in ol.View#getZoom and #setZoom
2016-08-04 10:22:43 +02:00
Andreas Hocevar 98fbfe4b67 Support fractional zoom levels in ol.View#getZoom and #setZoom 2016-08-03 11:48:13 +02:00
Andreas Hocevar bb5d79e9f2 Merge pull request #5673 from ahocevar/missing-semicolon
Add missing semicolon
2016-08-03 09:26:07 +02:00
Andreas Hocevar aba8c2c8d1 Add missing semicolon 2016-08-03 09:25:27 +02:00
Andreas Hocevar 01baf48870 Merge pull request #5587 from ahocevar/kml-faster-init
Lazily create KML style defaults
2016-08-03 09:19:39 +02:00
Andreas Hocevar 8719b79b5e Merge pull request #5599 from ahocevar/subpixel-center
Allow subpixel center on view
2016-08-03 09:19:09 +02:00
Andreas Hocevar 5c9f2841e7 Merge pull request #5669 from dtreiter/master
Fix Github links to specific lines on jsdoc pages
2016-08-02 20:25:22 +02:00
Andreas Hocevar e39199f97a Merge pull request #5667 from ahocevar/proj-get-null
Do not return undefined from ol.proj.get
2016-08-02 13:47:54 +02:00