Commit Graph
100 Commits
Author SHA1 Message Date
Andreas Hocevar 0410a32868 Merge pull request #7172 from f7o/ol-source-vectortile-clear
added clear method to vectortile source
2017-08-31 23:01:48 +02:00
Andreas Hocevar 39a26bf20f Merge pull request #7196 from ahocevar/overlay-tests
renderSync() to make sure overlay is initially visible
2017-08-31 22:53:18 +02:00
Andreas Hocevar 60dfc1f96a renderSync() to make sure overlay is initially visible 2017-08-31 22:16:41 +02:00
Andreas Hocevar 5f2b729c74 Merge pull request #7193 from ahocevar/kml-uris
Fix KML links for documents created locally in Safari
2017-08-31 21:40:30 +02:00
Andreas Hocevar 097c7b689a Try a different configuration to make SauceConnect work in Travis again 2017-08-31 21:04:30 +02:00
Andreas Hocevar 683e46bd58 Enable Travis tests in Safari 2017-08-30 09:35:09 +02:00
Andreas Hocevar 99d933b66f Fix link handling in KML parser 2017-08-30 08:58:22 +02:00
Andreas Hocevar 4987cf8ace Merge pull request #7191 from ahocevar/shader-templates
Fix provide/require for autogenerated shader files
2017-08-30 07:20:12 +02:00
Andreas Hocevar 5e42928937 Replace pyglslunit.py with a JavaScript rewrite 2017-08-29 23:11:24 +02:00
Andreas Hocevar cf8c72c992 Fix provide/require structure for autogenerated shader files 2017-08-29 23:11:24 +02:00
Andreas Hocevar 5cfb1e4099 Merge pull request #7192 from viethang/patch-1
Fix typo
2017-08-29 23:10:50 +02:00
Andreas Hocevar d100ab1ef6 Merge pull request #7188 from openlayers/greenkeeper/rollup-0.49.1
fix(package): update rollup to version 0.49.1
2017-08-29 09:37:03 +02:00
Andreas Hocevar ba867f8ff8 Merge pull request #7187 from ahocevar/simpler-tile-pixels
Simpler tile pixel handling and faster parsing for ol.format.MVT vector tiles
2017-08-29 09:16:54 +02:00
Andreas Hocevar a71946a7b5 Add missing extern
No idea why the compiler did not complain about this previously.
2017-08-29 08:51:06 +02:00
Andreas Hocevar 3cb5060497 Parse PBF directly in ol.format.MVT
This change also fixes a previous issue, where MultiPolygon geometries for
ol.Feature features were never created.
2017-08-29 08:51:06 +02:00
Andreas Hocevar 4b4f383043 Transform tile-pixels coordinates only once
This allows us to simplify the vector tile renderer significantly, because
there are no more coordinates that need special tile-pixel handling.
2017-08-28 19:32:16 +02:00
Andreas Hocevar 2421ae0254 Merge pull request #7142 from Sol1du2/issue/6992/UnitTest
Adds unit test to test the projection inside the geometry of esriJson
2017-08-21 12:00:53 +02:00
Andreas Hocevar f3ccbeef18 Merge pull request #7163 from ahocevar/mapbox-style
Remove bundling magic for Mapbox styles script
2017-08-21 04:37:11 -04:00
Andreas Hocevar 2ef5f99599 Remove bundling magic for Mapbox styles script 2017-08-21 09:48:51 +02:00
Andreas Hocevar 1ed092e2fa Merge pull request #7166 from openlayers/greenkeeper/rollup-0.48.1
fix(package): update rollup to version 0.48.1
2017-08-20 13:39:05 -04:00
Andreas Hocevar e0278334e2 Update rollup to v0.48.2 2017-08-20 13:23:22 -04:00
Andreas Hocevar bd098c7821 Update rollup options object 2017-08-20 13:14:53 -04:00
Andreas Hocevar 74107816b4 Merge pull request #7148 from ahocevar/webgl-define
Remove ol.ENABLE_WEBGL wrap from WebGL files
2017-08-17 14:39:08 -04:00
Andreas Hocevar f4420c5352 Do not exclude WebGL code in transformed files 2017-08-17 13:51:59 -04:00
Andreas Hocevar 5161a99925 Remove ol.ENABLE_WEBGL condition from webgl files 2017-08-17 13:21:53 -04:00
Andreas Hocevar 7ea5fb023f Merge pull request #7136 from ahocevar/empty-image
Use data URI instead of whole empty image
2017-08-17 11:04:21 -04:00
Andreas Hocevar 2a117cce8f Use data URI instead of whole empty image 2017-08-17 10:43:29 -04:00
Andreas Hocevar 9b92fa1957 Merge pull request #7138 from ahocevar/pixelmatch-pixelratio
Improvements to the new test setup
2017-08-17 08:56:07 -04:00
Andreas Hocevar 55be9b8d3c Use specific pixelRatio so tests run on all devices 2017-08-17 08:40:53 -04:00
Andreas Hocevar b710c1f76e Use pixelmatch instead of resemble.js 2017-08-17 08:40:53 -04:00
Andreas Hocevar 890f83e54d Merge pull request #7131 from ahocevar/doc-import
Print ES6 import hint on each doc page
2017-08-16 23:30:15 -04:00
Andreas Hocevar df4b77b2bb Merge pull request #7127 from ahocevar/street-labels-geojson
Use static GeoJSON instead of Overpass query for faster loading
2017-08-16 16:58:32 -04:00
Andreas Hocevar 0f29ea4f0e Use static GeoJSON instead of Overpass query for faster loading 2017-08-16 16:42:59 -04:00
Andreas Hocevar 86d0074386 Print ES6 import hint on each doc page 2017-08-15 19:17:06 -04:00
Andreas Hocevar 44558b7c89 Merge pull request #7125 from ahocevar/remove-error-vector-tiles
Do not try to render error tiles from VectorTile source
2017-08-15 16:34:16 -04:00
Andreas Hocevar c69cf27218 Trigger change when source tile state changes
A VectorImageTile now gets changed() whenever one of its source tiles's state
changes, until all source tiles are LOADED.
2017-08-15 16:12:41 -04:00
Andreas Hocevar ee81a5e817 Do not try to render error tiles from source 2017-08-14 10:18:03 -04:00
Andreas Hocevar b06efa387c Merge pull request #7120 from ahocevar/fix-overzoom-hitdetect
Fix hit detection for overzoomed vector tiles
2017-08-14 09:21:04 -04:00
Andreas Hocevar 992cf2b2d6 Fix hit detection for overzoomed vector tiles 2017-08-13 22:53:58 -04:00
Andreas Hocevar 952a2cfba3 Merge pull request #7111 from ahocevar/graticule-nowrap
Remove broken wrapX handling from ol.Graticule
2017-08-12 15:36:30 -06:00
Andreas Hocevar bfd94445f1 Remove broken wrapX handling from ol.Graticule 2017-08-11 11:00:33 -06:00
Andreas Hocevar 1af4d35713 Merge pull request #7106 from openlayers/greenkeeper/proj4-2.4.4
Update proj4 to the latest version 🚀
2017-08-11 06:53:38 -06:00
Andreas Hocevar f4752cee59 Update proj4 in examples and docs 2017-08-10 20:27:49 -06:00
Andreas Hocevar 1c8734b150 Use fractional coordinates for CSS positioning 2017-08-09 14:15:47 -06:00
Andreas Hocevar efee061251 Merge pull request #7096 from ahocevar/getfeaturesatpixel
Add new Map#getFeaturesAtPixel method
2017-08-09 13:54:50 -06:00
Andreas Hocevar 7d260c54d3 Add new Map#getFeaturesAtPixel method 2017-08-09 12:58:24 -06:00
Andreas Hocevar 6fd844d24c Merge pull request #7087 from ahocevar/fix-scaleline
Fix scale line for EPSG:4326 maps
2017-08-08 06:49:01 -06:00
Andreas Hocevar 388e2a93cb Fix scale line for EPSG:4326 maps 2017-08-07 20:42:28 -06:00
Andreas Hocevar ac13dbccf1 Merge pull request #7084 from ahocevar/fix-street-labels-typo
Fix a typo in the street-labels example
2017-08-07 12:29:10 -06:00
Andreas Hocevar 1795a86f7f Fix a typo in the street-labels example 2017-08-07 12:01:42 -06:00
Andreas Hocevar e0eec51eb3 Merge pull request #7082 from openlayers/greenkeeper/eslint-4.4.0
Update eslint to the latest version 🚀
2017-08-07 02:48:43 +02:00
Andreas Hocevar 4b4d711dbc Merge pull request #7079 from ahocevar/optimize-custom-renderer
Optimize custom renderer code, examples and API
2017-08-06 16:01:18 +02:00
Andreas Hocevar f133f4fc3c Merge pull request #7080 from openlayers/greenkeeper/jsdoc-3.5.4
Update jsdoc to the latest version 🚀
2017-08-05 02:56:00 +02:00
Andreas Hocevar 35f22fb52c Only create custom style for text we actually render 2017-08-05 00:15:58 +02:00
Andreas Hocevar 617151c8ff Simplify the renderer function API 2017-08-05 00:15:58 +02:00
Andreas Hocevar 67aa1a6dc9 Cache coordinates for reuse on replay, not on geometry 2017-08-04 21:06:22 +02:00
Andreas Hocevar ee7795e31d Merge pull request #7072 from ahocevar/vectortile-docs
Improve API docs for ol.VectorTile
2017-08-03 10:51:26 +02:00
Andreas Hocevar aba1045304 Improve API docs for ol.VectorTile 2017-08-03 10:30:24 +02:00
Andreas Hocevar 83c35758c8 Merge pull request #7070 from ahocevar/mvt-tilepixelratio
Get tilePixelRatio from MVT tiles
2017-08-03 08:46:56 +02:00
Andreas Hocevar d4d371a4c2 Remove the tilePixelRatio option from ol.source.VectorTile 2017-08-03 00:20:29 +02:00
Andreas Hocevar b3be7e7ba9 Get tilePixelRatio from MVT tiles 2017-08-02 20:11:14 +02:00
Andreas Hocevar 60f9c4be2d Merge pull request #7069 from openlayers/greenkeeper/mocha-3.5.0
Update mocha to the latest version 🚀
2017-08-01 10:27:23 +02:00
Andreas Hocevar 1bbcdea9bd Merge pull request #7068 from openlayers/greenkeeper/fs-extra-4.0.1
Update fs-extra to the latest version 🚀
2017-07-31 23:40:46 +02:00
Andreas Hocevar 0fc3b0f58e Merge pull request #7066 from ahocevar/extent-event
Fix ol.interaction.Extent event type and documentation
2017-07-31 11:15:06 +02:00
Andreas Hocevar d5fd215632 Fix ol.interaction.Extent event type and documentation 2017-07-30 23:32:16 +02:00
Andreas Hocevar d9c49092e4 Merge pull request #7065 from ahocevar/extent-api
Only use API functions in example
2017-07-30 23:11:05 +02:00
Andreas Hocevar 9fdce0f2b1 Only use API functions in example 2017-07-30 22:51:56 +02:00
Andreas Hocevar 007d8c2d5e Merge pull request #7022 from ahocevar/custom-renderers
Allow styles to configure a custom renderer
2017-07-30 22:24:59 +02:00
Andreas Hocevar 68f6b61217 Address review comments 2017-07-30 00:32:51 +02:00
Andreas Hocevar 1b46f38696 Do not use Array.prototype.forEach for potentially large arrays 2017-07-29 23:16:23 +02:00
Andreas Hocevar c6b942f185 Allow styles to configure a custom renderer
Two new examples show how custom renderers can be used to render text along
paths, and to declutter labels using 3rd party libraries.
2017-07-29 17:57:38 +02:00
Andreas Hocevar 2258c00fca Merge pull request #7061 from ahocevar/issue-pr-templates
Update docs and issue and pull request instructions
2017-07-28 17:02:33 +02:00
Andreas Hocevar f01e5d3eaf Update Browserify tutorial to use the ol package 2017-07-28 16:29:13 +02:00
Andreas Hocevar 52a9ca6518 Mention other options in the closure tutorial 2017-07-28 16:21:45 +02:00
Andreas Hocevar 0d0f3cadc8 Update docs and readme 2017-07-28 16:21:45 +02:00
Andreas Hocevar e454d3220e Add pull request and issue templates 2017-07-28 16:21:45 +02:00
Andreas Hocevar 9b90ec099c Merge pull request #7059 from ahocevar/extent-interaction-extent
Allow to configure Extent interaction with an extent
2017-07-28 15:59:50 +02:00
Andreas Hocevar fad485069b Merge pull request #7060 from wnordmann/EPSG3857CodeChange
Removing invalid urn
2017-07-28 15:58:25 +02:00
Andreas Hocevar b0b68983f7 Allow to configure Extent interaction with an extent 2017-07-28 13:07:18 +02:00
Andreas Hocevar 8dbbe3ba5d Merge pull request #7051 from wnordmann/EPSG3857CodeChange
Changing the EPSG3857.PROJECTION array assignment and adding urn:ogc:…
2017-07-27 17:19:19 +02:00
Andreas Hocevar e94b660b04 Merge pull request #7045 from ahocevar/immediate-image-size
Respect pixelRatio when scaling images
2017-07-27 16:42:21 +02:00
Andreas Hocevar 6cf3a3ca28 Merge pull request #7023 from ahocevar/vectortile-sizes
Update tile size and resolutions of vector tile examples
2017-07-27 16:22:34 +02:00
Andreas Hocevar 2f1bfc42ca Merge pull request #7034 from probins/packagejson
Move non-build dependencies to devDependencies
2017-07-26 17:22:21 +02:00
Andreas Hocevar 2c358387a2 Merge pull request #7050 from openlayers/greenkeeper/sinon-2.4.1
Update sinon to the latest version 🚀
2017-07-26 17:17:27 +02:00
Andreas Hocevar 707bc4a708 Merge pull request #6976 from ehanoj/patch-1
Example - Earthquake Clusters - Change evt.type of interaction
2017-07-26 16:03:46 +02:00
Andreas Hocevar ac48af204e Merge pull request #7048 from openlayers/greenkeeper/sinon-2.4.0
Update sinon to the latest version 🚀
2017-07-26 10:51:52 +02:00
Andreas Hocevar ecadb6b685 Respect pixelRatio when scaling images 2017-07-25 11:06:27 +02:00
Andreas Hocevar fa41c0bad6 Merge pull request #7041 from openlayers/greenkeeper/eslint-4.3.0
Update eslint to the latest version 🚀
2017-07-25 10:55:25 +02:00
Andreas Hocevar dd878e2a4c Remove lint 2017-07-25 10:42:18 +02:00
Andreas Hocevar 8666c8fee8 Merge pull request #7042 from gkresic/lineDashOffset
Line dash offset
2017-07-24 19:06:33 +02:00
Andreas Hocevar dd914ef635 Add rendering tests 2017-07-24 18:36:40 +02:00
Andreas Hocevar c86d13f032 Merge pull request #6980 from ZachTRice/tilewms-tileclass
Added tileClass to TileWMS
2017-07-24 10:59:34 +02:00
Andreas Hocevar 13a0ca5ca1 Merge pull request #7028 from greggian/graticule-perf
Fix Graticule use of incorrect min/maxLon values
2017-07-18 15:11:01 +02:00
Andreas Hocevar e79a4dd006 Fix resolution creation function 2017-07-15 16:15:14 +02:00
Andreas Hocevar 4bb2f6c1f5 Use de-facto standard 512px tile size for vectortile layers 2017-07-15 16:14:54 +02:00
Andreas Hocevar b7b2ee0c57 Merge pull request #7018 from openlayers/greenkeeper/jsdoc-3.5.3
Update jsdoc to the latest version 🚀
2017-07-14 07:56:41 +02:00
Andreas Hocevar 19b0b956f7 Merge pull request #7011 from openlayers/greenkeeper/jsdoc-3.5.1
Update jsdoc to the latest version 🚀
2017-07-11 00:02:28 +02:00
Andreas Hocevar f28e6c2d95 Merge pull request #7008 from openlayers/greenkeeper/sinon-2.3.7
Update sinon to the latest version 🚀
2017-07-10 19:13:06 +02:00
Andreas Hocevar e633380221 Merge pull request #7007 from openlayers/greenkeeper/rollup-0.45.0
fix(package): update rollup to version 0.45.0
2017-07-10 19:11:58 +02:00
Andreas Hocevar 5f6f757bd0 Update rollup configuration 2017-07-10 18:59:58 +02:00