Commit Graph

1697 Commits

Author SHA1 Message Date
Guillaume Beraudo 17e56d8357 Introduce clear event on vector source
Three seconds speed up when clearing 100'000 features.
Clearing is now around 350ms.
2014-12-05 15:03:23 +01:00
Bart van den Eijnden 3587418888 The writeFeatures method should always return a string 2014-12-05 14:54:59 +01:00
É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
tsauerwein e109be4b57 Rename size to initialSize 2014-12-04 11:49:50 +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
Bart van den Eijnden da39e9f96a For stars, use radius1 and radius2 in ol.style.RegularShape 2014-11-28 19:44:16 +01:00
Antoine Abt ed4bae064d Merge pull request #2889 from fgravin/getFeatureInfo
Add GetFeatureInfo format
2014-11-27 10:30:20 +01:00
Antoine Abt 22491601ba Restore proj4 state after tests 2014-11-25 17:38:06 +01:00
Antoine Abt fc16c4500d Renaming & better typing 2014-11-25 16:24:32 +01:00
tsauerwein d6841e6d9d Fix tests for when not run with WebGL support 2014-11-24 13:26:45 +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
Tobias Sauerwein ac24b615c3 Merge pull request #39 from tsauerwein/webgl-point-hit-detection-atlas
[webgl-point] Add hit-detection images of symbols to separate atlas
2014-11-21 11:37:48 +01:00
Éric Lemoine 1e12e7ca90 Remove unused WebGL related code 2014-11-21 10:51:00 +01:00
tsauerwein ab42965aa2 Add hit-detection image to atlas (RegularShape) 2014-11-21 09:41:38 +01:00
tsauerwein 4132505313 Add hit-detection image to atlas (Circle) 2014-11-21 09:41:10 +01:00
tsauerwein 97f8e4ac8d Keep separate atlas for hit-detection images 2014-11-21 09:40:22 +01:00
Bart van den Eijnden 3db26f1d2b Use the layergroup's extent if no extent provided 2014-11-20 08:35:40 +01:00
tsauerwein e9e76954b2 Integrate atlas manager into RegularShape 2014-11-13 11:48:23 +01:00
tsauerwein ea65f65b37 Implement getChecksum for RegularShape 2014-11-13 10:50:07 +01:00
tsauerwein b3b7579f84 Use atlas manager for circle style 2014-11-12 17:22:27 +01:00
Éric Lemoine 501e7456c0 Merge remote-tracking branch 'upstream/master' into webgl-point-merge 2014-11-10 15:40:03 +01:00
Éric Lemoine a2cf5b0889 Add unit tests for WebGL image replay 2014-11-10 11:02:32 +01:00
Tobias Sauerwein 4c3a7d0248 Merge pull request #14 from tsauerwein/webgl-point-atlas-manager
[webgl-point] Add atlas manager
2014-11-07 14:50:33 +01:00
tsauerwein fe3cdd8d1b Add AtlasManagerOptions and improve docs 2014-11-07 11:12:32 +01:00
tsauerwein ebe0c6a88c Move AtlasManager to ol.style.AtlasManager 2014-11-06 17:51:15 +01:00
tsauerwein 64da2647a6 Take space into account when checking size 2014-11-06 17:09:34 +01:00
tsauerwein f0841b38cd Use id string instead of hash code 2014-11-06 16:22:46 +01:00
tsauerwein 5ba6ddcecf Only create new atlas after testing all existing 2014-11-06 15:28:44 +01:00
tsauerwein 509fbaee1c Replace hashCode with checksum
Hash codes are not collision free, so what we
actually need is a checksum.
2014-11-06 15:08:34 +01:00
Frederic Junod 83025fb97d Assume a latitude, longitude order for Polyline format 2014-11-06 10:58:52 +01:00
Florent gravin 0f99f113e3 Change format name to WMSGetFeatureInfo 2014-11-04 09:39:19 +01:00
Antoine Abt c0f2187310 Make GetFeatureInfo format pass ol2 test suite 2014-11-04 09:25:13 +01:00
Florent gravin d0d6215550 Add tests suite for GetFeatureInfo format 2014-11-04 09:25:13 +01:00
tsauerwein 7618c96c29 Double the size when creating new atlases 2014-11-03 18:00:57 +01:00
tsauerwein 1bd388188b Add atlas manager 2014-11-03 15:40:42 +01:00
tsauerwein 22e1159736 Implement hashCode for ol.style.Circle 2014-10-31 17:22:44 +01:00
Andreas Hocevar fed6376e26 Add imageLoadFunction option for ol.source.ImageWMS 2014-10-30 09:22:45 +01:00
Tim Schaub f863386f39 Merge pull request #2887 from tschaub/more-d
Explicitly pass coordinate dimension before transforming.
2014-10-27 13:27:43 -06:00
Tim Schaub e68eb726d2 Test 3d points and proj4 defs 2014-10-27 12:39:28 -06:00
Tim Schaub 8a82048c12 Explicitly pass coordinate dimension before transforming 2014-10-27 10:33:46 -06:00
Antoine Abt 88d1258e83 Rename ol.xml.load to ol.xml.parse 2014-10-27 16:00:42 +01:00
Antoine Abt 67ec0b5988 Merge pull request #2746 from fgravin/gmlVersionFormat
Add versioning for GML format
2014-10-27 15:44:06 +01:00
Tim Schaub c06774acb5 Allow source to be set with set method as well 2014-10-25 15:31:08 -06:00
Tim Schaub 88030dbce7 Allow layer source to be set 2014-10-25 15:31:07 -06:00
Frederic Junod 1d533d2924 Remove the beforepropertychange event from ol.Object
propertychange events include the oldValue so remove the beforepropertychange
event type.
2014-10-24 18:09:34 +02:00
Éric Lemoine 6d095bdf7c Add old value to property change events 2014-10-24 09:24:37 +02:00
Éric Lemoine 74fd55a3e8 Merge pull request #2821 from elemoine/polygon-from-extent
Add ol.geom.Polygon.fromExtent
2014-10-15 07:48:58 +02:00
Tim Schaub 081f3689b1 Quarter the number of test cases to avoid timeout 2014-10-14 13:58:19 -06:00
Éric Lemoine 1ce43e323d Add ol.geom.Polygon.fromExtent 2014-10-14 11:32:20 +02:00