Commit Graph

1346 Commits

Author SHA1 Message Date
É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
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
oterral 9aeb9849fb Add parsing of LabelStyle in KML format 2014-10-09 16:48:49 +02:00
Éric Lemoine c1259aacab Merge pull request #2743 from elemoine/drawinteraction
Handle ol.interaction.Draw activation/deactivation
2014-10-08 16:01:10 +02:00
Éric Lemoine b832c42585 Add ol.Observable.unByKey 2014-10-08 14:41:45 +02:00
Florent gravin 93db3d42b7 Add tests for gml2 gml:box element 2014-10-03 12:02:14 +02:00
Florent gravin 678c66f50c Move GML subclasses to ol.format namespace
to avoid issue with ol.format.GML alias
ol.format.GMLBase
ol.format.GML2
ol.format.GML3
2014-10-03 09:44:56 +02:00
Florent gravin 563174383a Merge GML versions tests in base GML suite 2014-10-03 09:44:06 +02:00
Florent gravin 58485fc1f1 Instanciate ol.format.GML.v3 by default in gml tests 2014-10-03 09:44:06 +02:00
Florent gravin 82f267f0c5 Add test to parse WFS with GML 2.1.2 2014-10-03 09:42:51 +02:00
Florent gravin 192c7827c9 Add tests suite for ol.format.GML.v2 class 2014-10-03 09:42:22 +02:00
Éric Lemoine 1a856599cb Add tests for ol.interaction.Draw#setMap 2014-09-30 10:00:53 +02:00
Éric Lemoine a31f8a9446 Add tests for ol.interaction.Draw#setActive 2014-09-30 10:00:53 +02:00
Frédéric Junod c0fc220298 Merge pull request #2772 from fredj/changefeature
Rename updatefeature event to changefeature
2014-09-30 09:27:58 +02:00
Éric Lemoine 0e3b08d493 Merge pull request #2766 from elemoine/interaction-object
Make interaction "active" an ol.Object property
2014-09-30 09:04:28 +02:00
Frederic Junod cf8738f9f6 Rename updatefeature event to changefeature 2014-09-30 09:02:53 +02:00
Éric Lemoine dede4f379f Make interaction "active" an ol.Object property 2014-09-29 17:31:58 +02:00
Tim Schaub 8bded032df Fix failing GML format test 2014-09-28 15:04:54 -06:00
Tim Schaub a1bb755123 Fix failing KML format tests 2014-09-28 15:04:49 -06:00
Tim Schaub abc7848073 Fix failing WKT format tests 2014-09-28 14:44:26 -06:00
Tim Schaub 2ad27044a6 Correctly generate child tile ranges for XYZ
Instead of incrementing and then doubling, calculate the child tile range by doubling and then incrementing.

With this change, tile coord [0, 0, 0] has the four following children:

    [1, 0, 0]    [1, 1, 0]

    [1, 0, 1]    [1, 1, 1]

Without this change, tile coord [0, 0, 0] had the nine following children:

    [1, 0, 0]    [1, 1, 0]    [1, 2, 0]

    [1, 0, 1]    [1, 1, 1]    [1, 2, 1]

    [1, 0, 2]    [1, 1, 2]    [1, 2, 2]
2014-09-28 12:23:12 -06:00
Frédéric Junod 5f51fbc93d Merge pull request #2658 from oterral/fix_getcap
Set inherited values when parsing a GetCapabilities
2014-09-25 13:51:40 +02:00
Frédéric Junod aafe50c30e Merge pull request #2742 from fredj/updatefeature
Dispatch an 'updatefeature' from the vector source
2014-09-25 09:20:15 +02:00
Frederic Junod 79b8ef3a53 Dispatch an 'updatefeature' from the vector source 2014-09-23 16:19:00 +02:00
Bart van den Eijnden 2e18f077c8 Correctly parse GML coordinates with capital E in scientific notation 2014-09-23 15:35:12 +02:00
Éric Lemoine 49a2f2c926 Merge pull request #2730 from elemoine/tolowercase
Do not call toLowerCase when forming a change:property event
2014-09-19 11:07:17 +02:00
Éric Lemoine ad83f83f2c To do call toLowerCase when forming a change:property event 2014-09-18 18:44:45 +02:00
Éric Lemoine d335318496 Make ol.Feature#setStyle accept null 2014-09-17 17:52:51 +02:00