Commit Graph

251 Commits

Author SHA1 Message Date
Tim Schaub 504368369c Rename _ol_geom_GeometryType_ to GeometryType 2017-12-14 09:00:57 -07:00
Frederic Junod f6627c4d4e Named exports from ol/dom 2017-12-14 12:27:09 +01:00
Andreas Hocevar c0c43bca84 Use named imports from extent 2017-12-13 14:05:42 +01:00
Tim Schaub 87295a74dd Use named exports from ol/index.js 2017-12-12 12:34:23 -07:00
Tim Schaub 50737f7f73 Remove unused code, get tests passing on Travis 2017-12-12 06:58:02 -07:00
Tim Schaub 7f47883c48 Transformed 2017-12-12 06:53:18 -07:00
Tim Schaub 1cdb6a66f0 Imports cased like the filename 2017-12-12 06:53:17 -07:00
Andreas Hocevar 08af207724 Add decluttering for images and text 2017-10-31 11:33:48 +01:00
Andreas Hocevar efc86d59b0 Implement text rendering along paths
This commit also changes the TextReplay.drawText() signature, and moves
geometry calculation into drawText(). This improves performance where no
text needs to be rendered (TextStyle.getText() == ''), which is used often
in applications.
2017-09-11 16:54:27 +02:00
Andreas Hocevar 35bd92b713 Prerender labels and cache them as images 2017-08-31 21:41:07 +02:00
Andreas Hocevar cf8c72c992 Fix provide/require structure for autogenerated shader files 2017-08-29 23:11:24 +02:00
Andreas Hocevar 5161a99925 Remove ol.ENABLE_WEBGL condition from webgl files 2017-08-17 13:21:53 -04:00
GaborFarkas f1685cbe4f Add immediate WebGL text renderer 2017-08-12 14:52:08 +02:00
GaborFarkas d3c2c7f96d Fix hole bridging issue freezing the renderer 2017-08-12 14:52:08 +02:00
GaborFarkas bb593eaac8 Fix WebGL text offset direction 2017-08-12 14:52:08 +02:00
GaborFarkas 87391e7795 Fix method name in WebGL polygonreplay 2017-08-10 21:04:53 +02:00
GaborFarkas 87a10200e3 WebGL triangulation performance 2017-08-10 21:04:53 +02:00
GaborFarkas 619e85e737 Fix linting issues 2017-06-23 21:12:27 +02:00
GaborFarkas b3407b0554 Add reindented texture shader 2017-06-23 20:51:46 +02:00
GaborFarkas a4c421e699 Use glyph atlases 2017-06-23 20:44:41 +02:00
GaborFarkas 7b9833fdce Conform TextReplay to the new structure 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
GaborFarkas f82bc15013 Minimal working text renderer 2017-06-23 20:34:52 +02:00
GaborFarkas da60b96445 Style texts and draw them on canvas 2017-06-23 20:34:52 +02:00
Marc Jansen feabb6440d Add reindented shader sources 2017-06-20 11:45:48 +02:00
Marc Jansen 7d6929c710 Manual adjustment of indentation 2017-06-20 10:41:03 +02:00
Marc Jansen d0ef05977b Autofix indentation issues (eslint --fix) 2017-06-19 11:58:00 +02:00
GaborFarkas 7ea8cf5fb3 Don't introduce new self-intersections. Fixes #6823 2017-06-11 22:07:22 +02:00
GaborFarkas bcda41b508 Do not bridge holes outside of outer ring 2017-05-29 15:55:16 +02:00
GaborFarkas c0fac0f5ca Prepare replays for vector tiles 2017-05-29 15:53:53 +02:00
Tim Schaub 479d98212b Disable no-missing-requires rule in generated shader code 2017-05-02 15:04:20 -06:00
Frederic Junod 5763e1d145 Remove unused goog.require 2017-02-03 12:40:53 +01:00
Guillaume Beraudo b54ea89395 Handle concrete classes with non implemented abstract methods 2017-01-30 17:16:01 +01:00
Frederic Junod d59224f5eb Add missing override and inheritDoc jsdoc tags 2017-01-30 17:16:01 +01:00
Frederic Junod 546fc97cd4 Add abstract tag at class level 2017-01-30 17:16:01 +01:00
Tim Schaub fcb9dafc33 Use the ol.DEBUG_WEBGL flag to debug shader sources 2017-01-16 16:57:37 -07:00
Thomas Chandelle 7a4ae3a6ac Line Dash offset 2017-01-04 11:19:47 +01:00
Andreas Hocevar dcbf3a97e8 Wrap WebGL shader code in define condition 2017-01-02 22:01:58 +01:00
Andreas Hocevar 446807825e Wrap ol.render.webgl code in define condition 2017-01-02 21:24:23 +01:00
Tim Schaub 137cdc04c8 Remove ol.DEBUG 2017-01-01 20:37:52 -07:00
Tim Schaub 00cef70a3a Private enum for WebGL linestring replay instruction 2016-12-27 14:04:08 -07:00
Tim Schaub ef04f466cd Name modules more like their provide 2016-12-18 11:24:01 -07: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
Frédéric Junod 51f7bfb415 Merge pull request #6178 from fredj/missing_require
Add missing goog.require
2016-11-29 08:20:57 +01:00
Frederic Junod 1b6c239114 Add missing goog.require 2016-11-28 13:46:26 +01:00
Thomas Chandelle 9ffa103a79 Image rotation in WebGL was anti-clockwise 2016-11-25 09:02:20 +01:00
GaborFarkas dba0934112 Refactor LineString GLSL & clean up 2016-11-23 10:14:20 +01:00
GaborFarkas 0f204641e3 Clean up GLSLs somewhat 2016-11-23 09:51:37 +01:00
GaborFarkas 02461b3416 Add no-op WebGL text replay 2016-11-23 09:51:37 +01:00