Commit Graph

1257 Commits

Author SHA1 Message Date
Frederic Junod 06df648733 Add ol.source.Cluster
Initial code by @kenny806
2014-07-29 12:29:43 +02:00
Marc Jansen 2e37a34459 Fix typo in ol.Map test. 2014-07-28 09:35:23 +02:00
Bart van den Eijnden 2814abc59d Merge pull request #2420 from gingerik/gpx-extensions
PR for GPX: read extensions tags
2014-07-25 20:15:43 +02:00
Bart van den Eijnden f468239e71 Merge pull request #2394 from tonio/style_order
Give precedence to feature styles
2014-07-25 11:34:24 +02:00
Antoine Abt 4b8ceca8eb Move defaults style into style.js 2014-07-25 09:50:53 +02:00
Marc Jansen f5bb790509 Merge pull request #2167 from elemoine/graticule
Add a Graticule component
2014-07-24 19:13:26 +02:00
Tim Schaub caa0b568ad Remove extent option for sources
Most of our uses of source extent were cargo cult programming.  The source extent was seldom and inconsistently used.  Instead, layers can now be configured with an extent, and layer renderers limit rendering (and data requests) to the layer extent.

For vector sources, the `getExtent` method returns the extent of currently loaded features (this was the case before and after this change).  For tile based sources, we will likely want to allow easy construction of tile grids based on an extent (this is not possible before or after this change, but could be added later).
2014-07-24 10:30:06 -06:00
Tim Schaub 7bbd27e68e ol.tilegrid.TileGrid doesn't accept an extent option
Tile grids cannot currently be constructed with an extent (though we should perhaps provide a function that allows this - see https://github.com/tschaub/ol3/commit/68815dca10ef006294c767efe9592b682c48dc5f for an example).
2014-07-24 10:26:07 -06:00
Tim Schaub 1daf36956c Layer extent option
If provided, the layer extent will be used to limit data requests and rendering.  If undefined, to limit will be imposed.
2014-07-24 10:26:07 -06:00
Tim Schaub 42f953d08d Function for getting extent intersection 2014-07-24 10:26:07 -06:00
Éric Lemoine 9bd1ab78fc Add Graticule component 2014-07-24 17:59:56 +02:00
Andreas Hocevar 16cdd35f6d Test to make sure that feature styles take prececence 2014-07-24 14:37:45 +02:00
Andreas Hocevar c1d49a8cef Update to use the correct default style function namespace 2014-07-24 14:31:12 +02:00
Erik Timmers 2f9918f774 Add tests for GPX extensions 2014-07-22 13:20:09 +02:00
Bart van den Eijnden 8e106a2c98 Merge pull request #2403 from bartvde/gpx-write
ol.format.GPX writeFeatures is not working
2014-07-22 10:51:05 +02:00
Tim Schaub aa4ee80033 Removing unused ol.proj.CH 2014-07-21 09:28:48 -06:00
Bart van den Eijnden dbb72f5080 Conflate ol.format.GPX.V1_1 and ol.format.GXP into ol.format.GXP 2014-07-18 15:11:45 +02:00
Antoine Abt 60f1874766 Give precedence to feature style 2014-07-16 11:25:16 +02:00
Erik Timmers 1e7dc5cd32 Add tests for empty & invalid WKT strings 2014-07-15 14:28:05 +02:00
tsauerwein 3b8e182856 Add maxZoom to ol.View.fitGeometry() options 2014-07-11 16:31:01 +02:00
Éric Lemoine 31fa59c996 Merge pull request #2329 from tsauerwein/multipolygon-empty-array
Also accept empty array for ol.geom.MultiPolygon
2014-07-10 18:35:43 +02:00
tsauerwein 7c22d8ffd4 Also accept empty array for ol.geom.MultiPolygon 2014-07-10 17:18:24 +02:00
Bart van den Eijnden 60c7564268 Add test case for 3D geometries in immediate API 2014-07-10 16:51:07 +02:00
Paul Spencer 9dc17230c2 Merge pull request #2323 from pagameba/fix-addfeatures
ServerVector addFeaturesInternal fails when features lack an id
2014-07-10 08:08:54 -04:00
Paul Spencer a02d21d4b5 Allow addFeaturesInternal to add multiple features lacking an id 2014-07-10 07:32:20 -04:00
Andreas Hocevar 1bb5705b55 Clean up after testing 2014-07-09 18:11:22 +02:00
Andreas Hocevar 90c745006d Update to use the documented Proj4js 2.2.x API 2014-07-09 15:33:12 +02:00
Andreas Hocevar 8b2277cdda Use proj4.defs instead of proj4.Proj, to conform with the proj4js API 2014-07-08 22:06:21 +02:00
Andreas Hocevar b5bdd0d4bb Update tests 2014-07-08 22:06:21 +02:00
Tim Schaub 8e555fad5b Merge pull request #2312 from tschaub/test-deps
Move test dependencies out of the repo.
2014-07-07 07:04:42 -06:00
Tim Schaub 1f88015db0 Add ol.proj.transformExtent function 2014-07-06 13:22:47 -06:00
Tim Schaub 7e8551a767 Unused extensions 2014-07-06 12:43:55 -06:00
Tim Schaub 93716fc7f0 Extend expect.js rather than modify the source 2014-07-06 12:40:03 -06:00
Tim Schaub 4b57f7798f Use goog.dom.classlist functions
The goog.dom.classes functions have now been deprecated.  See https://github.com/google/closure-library/commit/97e8a0c0fc7238a56cc4dacd4a96fd4c0735b992
2014-07-01 14:09:28 -04:00
Marc Jansen 70548b4704 Add tests for ol.coordinate.equals(). 2014-07-01 17:02:34 +02:00
Marc Jansen 00fd5caa92 Add tests for ol.coordinate.createStringXY(). 2014-07-01 17:02:34 +02:00
Marc Jansen 07b41f84d0 Add tests for ol.coordinate.add(). 2014-07-01 17:02:34 +02:00
Éric Lemoine 64fcb1a0f5 Merge pull request #2264 from elemoine/object
ol.ObjectAccessor#transform shouldn't dispatch an event to the target object
2014-06-30 12:17:33 +02:00
Éric Lemoine ade0cd8aaf Merge pull request #2265 from elemoine/setproperties
Change setValues to setProperties
2014-06-29 11:56:17 +02:00
Erik Timmers 1e61485e11 Extend WKT parser from ol.format.TextFeature 2014-06-27 23:35:36 +02:00
Erik Timmers 61378098e6 Restore the WKT parser, example & tests 2014-06-27 23:35:35 +02:00
Éric Lemoine eafc2ac371 Change setValues to setProperties 2014-06-27 17:26:51 +02:00
Tim Schaub e802902f9b Rename ol.extent.getForView2DAndSize to ol.extent.getForViewAndSize 2014-06-27 09:59:39 -04:00
Tim Schaub 47d37fabea Rename ol.View2D to ol.View 2014-06-27 09:59:39 -04:00
Andreas Hocevar efc3e3244a Merge pull request #2254 from elemoine/replaygroup
Use replay groups for feature overlays
2014-06-27 12:59:06 +02:00
Andreas Hocevar 2171c92b5c Add new tests for FeatureOverlay
In the process of creating these tests, a bug with setting this._style
was also fixed.
2014-06-27 11:46:47 +02:00
Éric Lemoine be69f5bdac Merge pull request #2244 from elemoine/kmlwrite
KML write support
2014-06-27 11:23:16 +02:00
Bart van den Eijnden 2517c712db Merge pull request #2263 from bartvde/transformflatgeom-test
Add some test coverage for ol.geom.transformSimpleGeometry2D
2014-06-27 10:36:49 +02:00
Éric Lemoine b67e71828d Add a test for ol.Object 2014-06-27 10:17:13 +02:00
Bart van den Eijnden e3cbece91b Add some test coverage for ol.geom.transformSimpleGeometry2D 2014-06-27 10:07:47 +02:00