Commit Graph

1343 Commits

Author SHA1 Message Date
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
Bart van den Eijnden 3db26f1d2b Use the layergroup's extent if no extent provided 2014-11-20 08:35:40 +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
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
Éric Lemoine 72e173d925 Rename ol.extent.segmentIntersects to intersectsSegment 2014-09-17 12:26:26 +02:00
Éric Lemoine cdbc1a07be Add ol.geom.flat.intersectsextent
Includes functions for testing if an extent and a geometry intersect.
2014-09-17 12:17:31 +02:00
Éric Lemoine 3ce6229d34 Add ol.geom.flat.segments.forEach 2014-09-17 12:17:31 +02:00