Commit Graph

6287 Commits

Author SHA1 Message Date
Éric Lemoine dfb55fb6a5 Merge pull request #2967 from camptocamp/webgl-point
Add support for drawing points with WebGL
2014-12-04 13:11:31 +01:00
Éric Lemoine 87bb1b956b Merge remote-tracking branch 'upstream/master' into webgl-point
Conflicts:
	src/ol/style/circlestyle.js
	src/ol/style/regularshapestyle.js
	test/spec/ol/style/regularshapestyle.test.js
2014-12-04 12:57:46 +01:00
Éric Lemoine b2e419654b Add ol.INITIAL_ATLAS_SIZE and ol.MAX_ATLAS_SIZE 2014-12-04 12:13:47 +01:00
tsauerwein e109be4b57 Rename size to initialSize 2014-12-04 11:49:50 +01:00
tsauerwein 0fd1a575a9 Use string instead of ol.structs.Checksum 2014-12-04 11:48:43 +01:00
Bart van den Eijnden f0bf61bbf3 Do not encode geometry in properties if geometryName is different 2014-12-04 11:23:01 +01:00
Éric Lemoine 6d1d47a918 Remove @api for ol.render.webgl.Immediate#flush 2014-12-04 11:22:15 +01:00
Éric Lemoine aef11b7471 Better comment in ivectorcontext.js 2014-12-04 11:18:58 +01:00
tsauerwein b5d80679d8 Add and fix documentation for atlas manager 2014-12-04 10:21:32 +01:00
Bart van den Eijnden ccc7c1b9b7 Remove code that suggests that color arrays may be modified 2014-12-04 09:24:18 +01:00
Bart van den Eijnden 22e33519c8 Explain that return of ol.color.asArray should not be modified 2014-12-04 09:07:21 +01:00
Pierre GIRAUD cc39c26132 Merge pull request #2992 from pgiraud/tilevector_featureatcoordinate
Add support for finding features at a given coordinates for vector tiles - fixes
2014-12-02 08:54:46 +01:00
Pierre GIRAUD 9f725f99ca Rename methods 2014-12-01 14:22:03 +01:00
Andreas Hocevar 4cbeb5ee22 Merge pull request #2987 from kartverket/2966
Image layer renderers use source projection if given and equivalent
2014-12-01 13:06:42 +01:00
Thomas Hirsch 8e4d7c0715 isDefAndNotNull -> !isNull 2014-12-01 12:57:35 +01:00
Frederic Junod fabf05977a Use offsetX and offsetY if available 2014-12-01 10:56:34 +01:00
Frederic Junod 26ce8032eb Use ol.Map#getEventPixel in mouse position control 2014-12-01 10:56:34 +01:00
Thomas Hirsch d5bafc5e9f linting 2014-12-01 10:53:36 +01:00
Pierre GIRAUD ce4ecb711b getFeaturesAtCoordinateAtResolution is not stable yet 2014-12-01 09:49:02 +01:00
Éric Lemoine 4734530ce2 Merge pull request #2973 from s093294/patch-1
Making GetTileCoordFor methods public avaible
2014-12-01 09:05:29 +01:00
Poul Kjeldager Sørensen 1d7bae6b26 Update tilegrid.js 2014-11-30 21:53:42 +01:00
Thomas Hirsch e385e81a20 linting 2014-11-30 10:08:41 +01:00
Pierre GIRAUD 25516fead9 Merge pull request #2986 from pgiraud/tilevector_featureatcoordinate
Add support for finding features at a given coordinates for vector tiles
2014-11-29 23:12:47 +01:00
Tim Schaub f57f0e17ab Merge pull request #2937 from tschaub/clipped
Clip layer rendering to limited extent.
2014-11-29 14:01:43 -07:00
Éric Lemoine 56ad3ea9aa Merge pull request #2971 from elemoine/tilevector
Two ol.source.TileVector fixes
2014-11-29 20:07:33 +01:00
Bart van den Eijnden 6cd1f3f262 Correct olx.style.RegularShapeOptions definition 2014-11-29 13:52:36 +01:00
Bart van den Eijnden 275f5bc796 Merge pull request #2981 from bartvde/circle-linedash
Use lineDash in ol.style.Circle's and ol.style.RegularShape's stroke (r=@fredj,@elemoine)
2014-11-29 12:19:14 +01:00
Thomas Hirsch c42ec27a4a image layer renderers use source projection if given and equivalent 2014-11-28 22:09:45 +01:00
Bart van den Eijnden 6556e5eb52 Merge pull request #2982 from bartvde/radius1
Allow radius1 as an alias for radius in ol.style.RegularShape
2014-11-28 19:58:46 +01:00
Bart van den Eijnden da39e9f96a For stars, use radius1 and radius2 in ol.style.RegularShape 2014-11-28 19:44:16 +01:00
Pierre GIRAUD 5878e7f839 Adding getFeaturesAtCoordinateAtResolution in ol.source.TileVector 2014-11-28 17:30:45 +01:00
Bart van den Eijnden 2d74a6b10f Use lineDash in ol.style.Circle's and ol.style.RegularShape's stroke 2014-11-28 13:11:25 +01:00
Pierre GIRAUD 34e82de8c8 Export ol.source.TileVector#getFeatures in built mode 2014-11-28 11:54:35 +01:00
Bart van den Eijnden 890b96f1e9 Support OGC srs urns without an EPSG database version 2014-11-27 20:01:53 +01:00
Andreas Hocevar 5155e7a6ac Fix zoom levels for the MapQuest Street layer
A typo in 65b8e0f915 introduced this bug.
Before that, 18 zoom levels were used. Now we're using 19, which appears
to be available with full world coverage.
2014-11-27 19:13:02 +01:00
Antoine Abt ed4bae064d Merge pull request #2889 from fgravin/getFeatureInfo
Add GetFeatureInfo format
2014-11-27 10:30:20 +01:00
Poul Kjeldager Sørensen b72fddf7f4 Making GetTileCoordFor methods public avaible
I am using tilegrid to request elevation data tiles side by side of a raster layer. It would be nice if these two method was public avaible such I could use the tilegrid to convert mouse coordinates to tile coordinates to request backend tiles. 

The elevation tiles are not shown as a layer directly but rather used to compute and show information in relationship to mouse curser or map view.

This would save me the time of adding another tilegrid implementation in my application specific context.
2014-11-26 01:24:00 +01:00
Antoine Abt 638f8275aa Export readFeatures method 2014-11-25 16:24:51 +01:00
Antoine Abt fc16c4500d Renaming & better typing 2014-11-25 16:24:32 +01:00
Éric Lemoine ec01aa45b9 Make createTileCoordTransform return identity func
This makes ol.tilegrid.TileGrid#createTileCoordTransform return the identity function. This makes it possible to use ol.source.TileVector with an ol.tilegrid.TileGrid (as opposed to an ol.tilegrid.XYZ).
2014-11-24 15:19:24 +01:00
Éric Lemoine 8ba830f91f Make loadFeaturesFromUrl accept an error callback 2014-11-24 15:13:17 +01:00
tsauerwein d6841e6d9d Fix tests for when not run with WebGL support 2014-11-24 13:26:45 +01:00
tsauerwein b8b48afc82 Use WEBGL_MAX_TEXTURE_SIZE as default 2014-11-24 09:57:09 +01:00
tsauerwein e307579d49 Move constants from ol.has to ol 2014-11-24 09:42:10 +01:00
Éric Lemoine c0bbb6c4fa Disable vertex attrib array after replay 2014-11-21 17:48:58 +01:00
Éric Lemoine b3369cd516 Delete WebGL resources used by immediate API 2014-11-21 16:35:05 +01:00
Éric Lemoine 857a8ca2bb Delete WebGL resources used at postcompose time 2014-11-21 16:35:05 +01:00
Éric Lemoine 37f91690f1 Merge pull request #45 from elemoine/webgl-point-buffer
[webgl-point] Rename ol.structs.Buffer to ol.webgl.Buffer
2014-11-21 16:14:01 +01:00
Éric Lemoine 57db47ac18 Rename ol.structs.Buffer to ol.webgl.Buffer
The Buffer class is WebGL specific, and it's not really a "data structure", in the pure sense of the term.
2014-11-21 15:48:31 +01:00
Éric Lemoine 6360e4497d Add a comment to WebGL ImageReplay
A comment explaining why we don't need to call deleteProgram and deleteShader in the function returned by getDeleteResourcesFunction.
2014-11-21 15:39:23 +01:00