Commit Graph

2663 Commits

Author SHA1 Message Date
Tim Schaub 940f97e2a7 Make view.animate() tolerate undefined views 2017-08-15 13:28:50 -04:00
Joao Gouveia f928209256 Fix srsDimension read on GML3 for Geoserver
Contrary to Mapserver, Geoserver sets the srsDimension attribute on
the child of the geometry node, not on the points list.
This fix searches that node as well.

A small unit test was also added.
2017-08-15 09:10:17 +02:00
Tim Schaub 93a9799e46 Merge pull request #7122 from tschaub/unanimated
Immediately complete no-op animations
2017-08-14 09:43:39 -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
Tim Schaub 48178f0e31 Immediately complete no-op animations 2017-08-14 09:08:50 -04:00
Frédéric Junod d65cabebd6 Merge pull request #7114 from GaborFarkas/webgl_immediate
Immediate WebGL text renderer and other improvements
2017-08-14 14:33:45 +02:00
Andreas Hocevar 992cf2b2d6 Fix hit detection for overzoomed vector tiles 2017-08-13 22:53:58 -04:00
Tim Schaub 13a761b7e7 Sensible default tilegrid for vector tiles 2017-08-12 15:16:55 -06:00
GaborFarkas bb593eaac8 Fix WebGL text offset direction 2017-08-12 14:52:08 +02:00
Tim Schaub 94fb7ca5a6 Function for getting spherical area 2017-08-10 18:30:42 -06:00
Tim Schaub 92c62e5432 Function for getting great circle lengths 2017-08-10 18:05:21 -06:00
Tim Schaub 17b6088a79 Allow drag and drop interaction to be configured with a source 2017-08-10 07:10:13 -06:00
Bart van den Eijnden 23405b80a2 Merge pull request #6825 from oterral/tesselate
Read/write Tessellate tag in KML format
2017-08-10 13:27:40 +02:00
Tim Schaub 02cc7d643a Merge pull request #7093 from tschaub/modify-source
Allow modify interaction to be configured with a source
2017-08-09 13:55:33 -06:00
Tim Schaub 86eacefe19 Allow modify interaction to be configured with a source 2017-08-09 13:35:25 -06:00
Andreas Hocevar 7d260c54d3 Add new Map#getFeaturesAtPixel method 2017-08-09 12:58:24 -06:00
Andreas Hocevar 388e2a93cb Fix scale line for EPSG:4326 maps 2017-08-07 20:42:28 -06:00
Andreas Hocevar 617151c8ff Simplify the renderer function API 2017-08-05 00:15:58 +02:00
Andreas Hocevar b3be7e7ba9 Get tilePixelRatio from MVT tiles 2017-08-02 20:11:14 +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 b0b68983f7 Allow to configure Extent interaction with an extent 2017-07-28 13:07:18 +02:00
Tim Schaub 2e903c0293 Remove ol.sphere.WGS84 2017-07-11 08:00:41 -06:00
Andreas Hocevar 59d8d749e3 Merge pull request #6998 from openlayers/greenkeeper/eslint-4.2.0
Update eslint to the latest version 🚀
2017-07-09 16:52:47 +02:00
Andreas Hocevar cff9ef5e63 Remove lint 2017-07-09 16:11:36 +02:00
Andreas Hocevar 7739239e89 Make VectorTile source work with multiple layers 2017-07-09 14:08:08 +02:00
Andreas Hocevar ee0eb8b1a0 Normalize rotation to values between -180 and 180 degrees after animation 2017-06-28 16:36:33 +02:00
Andreas Hocevar c0e4da6d8c Merge pull request #6966 from ahocevar/resolution-for-zoom
Add getResolutionForZoom method for ol.View
2017-06-28 13:01:54 +02:00
Andreas Hocevar 72f5ff917f Merge pull request #6965 from ahocevar/shortest-rotation
Use shortest rotation delta for animation
2017-06-28 13:01:33 +02:00
Andreas Hocevar aa8d7b0b36 Add getResolutionForZoom method for ol.View 2017-06-28 10:30:32 +02:00
Andreas Hocevar 67f69a32bb Use shortest rotation delta for animation 2017-06-28 10:06:10 +02:00
Frederic Junod 382674975e Fix KML ExtendedData reading 2017-06-28 09:51:18 +02:00
Frédéric Junod eaaa895b0a Merge pull request #6793 from GaborFarkas/webgl_text
Webgl text
2017-06-27 15:44:57 +02:00
Tim Schaub 3ddb8712a3 Queue tiles before loading 2017-06-26 18:31:53 -06:00
GaborFarkas 619e85e737 Fix linting issues 2017-06-23 21:12:27 +02:00
GaborFarkas a4c421e699 Use glyph atlases 2017-06-23 20:44:41 +02:00
GaborFarkas a3a443324d Add tests for WebGL TextReplay 2017-06-23 20:44:41 +02:00
GaborFarkas bd87ec7c83 Conform ImageReplay to the new structure 2017-06-23 20:44:41 +02:00
GaborFarkas 26bfa7a172 Refactor WebGL ImageReplay 2017-06-23 20:37:37 +02:00
Marc Jansen 9fc0fb5e74 Merge pull request #6916 from marcjansen/eslint-4-upgrade
Upgrade eslint to v4.0.0
2017-06-22 07:55:06 +02:00
Andreas Hocevar b9e6619b2d Merge pull request #6939 from ahocevar/cachesize-fix-abort
Abort loading when tile is disposed
2017-06-20 09:35:14 +02:00
Frédéric Junod 78b5fe5f8c Merge pull request #6930 from openlayers/translate_no_map
Handle setActive(false) on an interaction without map
2017-06-20 08:30:45 +02:00
Andreas Hocevar 72e9b74b3e Abort loading when tile is disposed 2017-06-19 18:26:10 +02:00
Andreas Hocevar 1f51c14e7e Do not stop the render loop when all wanted tiles are aborted 2017-06-19 15:17:59 +02:00
Marc Jansen d0ef05977b Autofix indentation issues (eslint --fix) 2017-06-19 11:58:00 +02:00
bartvde 8d57a879ce Make sure we use the default featurePrefix 2017-06-15 16:33:07 +02:00
Frederic Junod 3e7aecd094 Handle setActive(false) on an interaction without map 2017-06-15 08:41:52 +02:00
Andreas Hocevar 87d889f96c Merge pull request #6912 from ahocevar/translate-cursor
Use class instead of style for Translate cursor
2017-06-12 14:26:41 +02:00
Andreas Hocevar 9b41ea4017 Use class instead of style for Translate cursor 2017-06-12 13:30:25 +02:00
Frédéric Junod 51658a0d7c Merge pull request #6858 from GaborFarkas/webgl_vector_improvements
Webgl vector improvements
2017-06-12 09:23:15 +02:00
Andreas Hocevar 2f45e14bea Merge pull request #6890 from ahocevar/movestart
Add a movestart event
2017-06-12 09:00:09 +02:00