Andreas Hocevar
16cdd35f6d
Test to make sure that feature styles take prececence
2014-07-24 14:37:45 +02:00
Tim Schaub
88efda1a1f
Track resolution and buffer max extent to capture strokes
2014-03-13 20:40:18 -04:00
Tim Schaub
8317317127
Always add first segment when appending coordinates
...
When we have only a single point, we want to make sure it gets added (fixes #1821 ).
Because this code doesn't differentiate coordinates that are part of a linestring or linearring from those that are independent points, we always add the first segment (or pair of points). In addition, coordinates for segments are appended whenever they represent a change in relationship with respect to the extent. This keeps the code simpler for handling fills and properly capturing intersection points for linestrings. This could be modified to save a few extra coordinates, but it provides for simpler code at a very minimal cost.
2014-03-07 11:02:25 -07:00
Frederic Junod
38bbe35e8d
Remove ol.Map#getRenderer function
2013-11-20 11:45:24 +01:00
Tim Schaub
b192335e56
Merge pull request #1027 from tschaub/closure-util
...
Use the closure-util package. Documentation will come when this is a more complete solution. See #1027 for basic usage instructions.
2013-09-15 15:36:13 -07:00
Éric Lemoine
009172951c
WebGL image layer tests require the common proj
2013-09-15 10:37:22 -06:00
Tim Schaub
e806f51b3d
Changing extent structure back to single array: [minX, minY, maxX, maxY]
...
This means we'll have to have a new structure and new methods for 3D envelopes.
2013-09-15 00:31:32 -06:00
Tim Schaub
e84e0e1233
WebGL renderer updates for new extent structure
2013-09-14 21:14:55 -06:00
Tom Payne
7d5a84ce8a
Rename ol.layer.ImageLayer to ol.layer.Image
2013-09-09 14:36:40 +02:00
Tom Payne
5967f96047
Rename ol.source.ImageSource to ol.source.Image
2013-09-09 14:33:12 +02:00
Tom Payne
f64e35e8bb
Remove unused variables in renderers
2013-05-28 16:01:33 +02:00
Tom Payne
e686eff886
Fix use of dispose in ol.renderer.webgl.ImageLayer tests
2013-04-22 17:16:44 +02:00
Tom Payne
305089d84f
Port ol.renderer.webgl to new extents
2013-04-19 10:03:35 +02:00
Tom Payne
9f0004e17d
Rename test files to match source files
2013-04-16 19:59:53 +02:00
Tom Payne
02196c94b5
Redefine ol.Coordinate to be Array.<number>
2013-04-05 12:30:37 +02:00
Tim Schaub
ff28c0b793
Fix global leak in WebGL image layer test
2013-03-23 04:38:12 -06:00
Tim Schaub
27ccd13e48
Create test specific markup in tests
...
Instead of relying on a shared dom structure, the tests should create (and destroy) elements as needed.
2013-03-18 22:53:04 -06:00
Bruno Binet
9b1c389c80
Remove unused goog.require directives
2013-03-14 11:39:43 +01:00
Tobias Bieniek
89ab68cde7
Replaced jasmine testing framework by mocha, expect.js and sinon
...
as discussed in #319
2013-03-13 04:32:43 +01:00
Tom Payne
2741daa977
Merge pull request #265 from twpayne/check-requires-in-specs
...
Check requires in specs
2013-03-04 11:31:37 -08:00
Tom Payne
df5f74b3c0
Add missing requires to specs
2013-03-04 20:02:55 +01:00
Tom Payne
08dbeed23f
Rename WebGL variables to match CSS shaders specification
...
See https://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/index.htm
2013-03-04 19:45:43 +01:00
Éric Lemoine
be6c1a1a27
Test the image layer renderer's transform matrix
2013-02-17 22:47:19 +01:00
Éric Lemoine
baeddfac12
remove the old tests
2012-09-24 18:12:51 +02:00
Tim Schaub
1dd2512765
Specs for getting tile coords.
2012-07-09 01:15:56 -06:00
Éric Lemoine
0eaaefdf1d
make the TileLayerRenderer tests pass
2012-06-22 20:43:13 +02:00
Tim Schaub
2fffa0293d
Test renderer type.
2012-06-22 17:48:44 +02:00
Tim Schaub
db3a6e9c4a
Get closest resolution.
2012-06-22 16:14:33 +02:00
Petr Pridal
6ca9112af2
WebGL MapRenderer inicializaiton with a test (it may fail on computers without WebGL).
2012-06-21 15:51:00 +02:00
Tim Schaub
43c8b89460
Initial pass at tiled layer renderer.
2012-06-21 01:18:57 +02:00