Marc Jansen
b60609d93c
Make stroke style of the graticule configurable
2014-08-08 08:28:34 +02:00
Andreas Hocevar
410b274b6a
Add unit test for greedy template replacement
2014-08-07 12:18:03 +02:00
Andreas Hocevar
65346d716d
Add GeoJSON tests for write transforms
2014-07-31 17:55:43 +02:00
Andreas Hocevar
c4fdbacc12
Make options complete in ol.format.Feature already
2014-07-31 17:55:43 +02:00
Andreas Hocevar
4825cba48a
Implement ReadOptions and WriteOptions for ol.format.GML
2014-07-31 17:55:43 +02:00
Andreas Hocevar
b8a834b437
Add transform tests for GeoJSON readFeatures
2014-07-31 17:54:41 +02:00
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 68815dca10 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
fc3ed93080
Use proj4.js from node_modules/ instead of copying it to build/
2014-07-09 15:33:13 +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
Andreas Hocevar
971c1137bc
Download and use new proj4js
2014-07-08 22:06:20 +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
d0301805c7
Doc flip
2014-07-06 15:26:04 -06:00
Tim Schaub
1f88015db0
Add ol.proj.transformExtent function
2014-07-06 13:22:47 -06:00
Tim Schaub
21878ebad3
Lint
2014-07-06 12:47:33 -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
d8ca8e7341
Update test readme
2014-07-06 11:53:34 -06:00
Tim Schaub
264a01cfd4
Add jquery as a dev dependency
2014-07-06 11:47:58 -06:00
Tim Schaub
8a3f1a8f34
Add mocha and mocha-phantomjs as dev dependencies
2014-07-06 11:40:08 -06:00
Tim Schaub
70cb7a4a0a
Add sinon as a dev dependency
2014-07-06 11:21:01 -06:00
Éric Lemoine
043cd0ff41
Remove test/ol.html
...
This file was used when Plovr was used for running the tests.
2014-07-05 23:34:02 +02:00
Éric Lemoine
1626399c08
Use serve.js as the test server
2014-07-04 10:51:17 +02:00
Tim Schaub
4b57f7798f
Use goog.dom.classlist functions
...
The goog.dom.classes functions have now been deprecated. See 97e8a0c0fc
2014-07-01 14:09:28 -04:00