Commit Graph

8896 Commits

Author SHA1 Message Date
Tim Schaub
ff28c0b793 Fix global leak in WebGL image layer test 2013-03-23 04:38:12 -06:00
ahocevar
28f29e9d40 Don't create tile if rendering needs to be deferred
Rendering vector tiles with mixed geometry types does not work
as expected, because the tile is created without the geometries
that need another rendering pass because of missing icons. This
was discovered by @bartvde when working on the KML parser, where
mixed geometry types are common.

This change fixes the issue by breaking out from rendering
entirely when renderFeaturesByGeometryType returns a deferred
state. In addition, there was a related bug because icons are
added to the cache regardless of its loaded state. This is also
fixed now.
2013-03-23 11:34:38 +01:00
Tom Payne
80df629319 Premptively load low resolution tiles 2013-03-22 21:02:09 +01:00
Tom Payne
e3abe376f1 Remove ol.source.TileSource.useLowResolutionTiles 2013-03-22 21:02:06 +01:00
Tom Payne
24452b0bcb Use operators instead of Math.max/min 2013-03-22 19:27:52 +01:00
Tom Payne
876fea2fb7 Rename shader variables to match CSS specification 2013-03-22 18:02:31 +01:00
Tom Payne
b7184641b0 Use shorter module name and clean up requires 2013-03-22 17:58:15 +01:00
Tom Payne
72437ff57b Use more compact constants 2013-03-22 17:33:19 +01:00
Tom Payne
69370ce629 Use ol.structs.Buffer.getUsage 2013-03-22 17:33:19 +01:00
Tom Payne
35df0693e0 Add usage to ol.structs.Buffer 2013-03-22 17:33:19 +01:00
Tom Payne
705b71ae2a Track buffer dirty state by map 2013-03-22 17:33:19 +01:00
Tom Payne
ba0e7ae89c Allow a ol.structs.Buffer to update multiple dirty sets 2013-03-22 17:33:19 +01:00
Tom Payne
4ee73bc02f Add ol.structs.IntegerSet.intersectsRange 2013-03-22 17:33:13 +01:00
Tom Payne
35ee45cefc Use local variable for texCoordMatrix 2013-03-22 17:25:58 +01:00
Tom Payne
66efba8824 Promote projectionMatrix and texCoordMatrix into base class 2013-03-22 17:25:53 +01:00
Tom Payne
cc41d720fa Manage buffers in WebGL map renderer 2013-03-22 17:25:47 +01:00
Tom Payne
ecd5158012 Add ol.renderer.webgl.Layer.getWebGLMapRenderer
This improves the type checking.
2013-03-22 17:25:42 +01:00
Tom Payne
f770be297d Use ol.math.roundUpToPowerOfTwo 2013-03-22 17:25:36 +01:00
Tom Payne
57abbddf50 Add ol.math.roundUpToPowerOfTwo 2013-03-22 17:25:31 +01:00
Tom Payne
6c32170a08 Promote texture and framebuffer management into base class 2013-03-22 17:25:27 +01:00
Tom Payne
657f58005e Remove unused function 2013-03-22 17:24:26 +01:00
Tom Payne
69f92615b1 Add missing variable declaration 2013-03-22 17:24:03 +01:00
Tom Payne
c04e9c8870 Add ol.Rectangle.extendXY 2013-03-22 17:23:58 +01:00
Tom Payne
483375ca42 Add ol.Extent.createEmptyExtent 2013-03-22 17:23:50 +01:00
Tom Payne
5186fa44f5 Add ol.Rectangle.isEmpty 2013-03-22 17:23:44 +01:00
Tom Payne
0488612449 Allow rectangles to be empty 2013-03-22 17:23:38 +01:00
Tom Payne
5192c5e64a Reverse order of arguments to set and s/index/offset/ 2013-03-22 17:23:30 +01:00
Tom Payne
713ad2cfb7 Replace unused entries with NaNs 2013-03-22 17:23:25 +01:00
Tom Payne
5169161d93 Extend equalArray to consider NaNs to be equal 2013-03-22 17:23:20 +01:00
Tom Payne
6ab5cfae8c Add ol.structs.IntegerSet.toString 2013-03-22 17:23:15 +01:00
Tom Payne
9047e98889 Add initial ol.structs.Buffer 2013-03-22 17:23:08 +01:00
Tom Payne
1833ec15e2 Refactor ol.structs.IntegerSet to use a packed array 2013-03-22 17:23:03 +01:00
Tom Payne
070b80c28d Add ol.structs.IntegerSet 2013-03-22 17:22:57 +01:00
Éric Lemoine
a12d10e912 Merge pull request #409 from elemoine/tilequeue
Tile renderers needn't listen for tile change
2013-03-22 09:17:46 -07:00
Tom Payne
f4dea053af Merge pull request #417 from twpayne/clean-up-side-by-side-example
Clean up side-by-side example
2013-03-22 07:04:43 -07:00
Tom Payne
422ed4bd43 Clean up side-by-side example 2013-03-22 14:39:17 +01:00
Tom Payne
b0989af9d1 Merge pull request #416 from twpayne/numeric-constant-clean-ups
Use Infinity instead of Number.POSITIVE_INFINITY
2013-03-22 05:05:22 -07:00
Tom Payne
8b5367c947 Use Infinity instead of Number.POSITIVE_INFINITY 2013-03-22 11:34:44 +01:00
ahocevar
9e1b37ada3 Merge pull request #415 from ahocevar/jsdoc-pegged
Use JSDoc master again. r=@elemoine
2013-03-22 03:14:13 -07:00
Éric Lemoine
6d1fff688e Update README and CONTRIBUTING
[ci skip]
2013-03-22 10:59:09 +01:00
ahocevar
77efd352ad Use JSDoc master again
... so we're able to always give the JSDoc project instant
feedback on how it works with code that uses the Closure
library.
2013-03-22 10:50:15 +01:00
Bruno Binet
3d87ecd858 Merge pull request #354 from bbinet/fix-wmts-from-cap-example
wmts-from-capabilities example doesn't work because of referer check
2013-03-22 01:51:46 -07:00
ahocevar
5736765cb7 Merge pull request #414 from hegemonic/master
Remove descriptions from JSDoc/Closure Compiler type tags
2013-03-21 15:32:35 -07:00
Jeff Williams
97879a3572 remove descriptions from JSDoc type tags 2013-03-21 09:54:52 -07:00
Bruno Binet
e9583617f7 Merge pull request #413 from bbinet/pep8-work
Pep8ify build.py (Closes #371)
2013-03-21 09:14:43 -07:00
Bruno Binet
f395064721 Pep8ify build.py
Thanks a lot autopep8!
2013-03-21 16:38:48 +01:00
Marc Jansen
2678c07caf Merge pull request #412 from marcjansen/submittable
Keep the search-filter on submit in example index.
2013-03-21 07:37:59 -07:00
Marc Jansen
10ef5eff8b Keep the search-filter on submit in example index.
When one would hit `ENTER` after filtering the list of examples, the form would
be submitted and the filter would be gone after the page reload. By giving the
main search field the appropriate `name`-attribute, this is being solved.
2013-03-21 15:32:06 +01:00
Bruno Binet
c11193f71d Use Vienna wmts in wmts-from-capabilities example
vienna wmts capabilities url is:
http://maps.wien.gv.at/wmts/1.0.0/WMTSCapabilities.xml
2013-03-21 14:03:09 +01:00
Bruno Binet
7fec1f5208 ArcGis use camelcase 'Style', not lowercase 'style'
The OGC documentation is not so clear if we should use style or Style.
2013-03-21 11:15:35 +01:00