Commit Graph

1358 Commits

Author SHA1 Message Date
Tim Schaub 947b049799 Rename ol.browserfeature to ol.has 2014-08-22 07:34:35 -06:00
Éric Lemoine 58a77478a3 Merge pull request #2582 from elemoine/wmsgfi
Support for "Stateless GetFeatureInfo"
2014-08-21 18:07:39 +02:00
Tobias Sauerwein a231086a8b Merge pull request #2407 from ahocevar/format-projection
Options for feature readers and writers to support transforms
2014-08-21 17:58:10 +02:00
Éric Lemoine d1bb2724a5 Stateless GetFeatureInfo for ol.source.ImageWMS 2014-08-21 11:29:44 +02:00
Tim Schaub 63ad916ca7 Function for creating tile grids from extents 2014-08-18 17:10:26 -06:00
Tim Schaub dd5e7693da General purpose getCorner function for extents 2014-08-18 14:55:49 -06:00
Éric Lemoine e53213d730 Merge pull request #2537 from probins/browserfeature
Rename BrowserFeature to browserfeature
2014-08-18 16:23:28 +02:00
tsauerwein 539e4a23b9 Introduce defaultDataProjection for formats 2014-08-18 15:31:06 +02:00
Éric Lemoine 9072fb1f2f Merge pull request #2543 from elemoine/foreachfeature
Do not hit-detect the same feature multiple times
2014-08-18 10:38:38 +02:00
Éric Lemoine c81dfdc69b Do not hit-detect the same feature multiple times
In other words forEachFeatureAtPixel should not call the user-provided callback more than once for a given feature.
2014-08-18 10:24:12 +02:00
Éric Lemoine ba035abb1f Change ol.TileCoord to an Array 2014-08-18 09:33:24 +02:00
Peter Robins e35531e7c6 Rename BrowserFeature to browserfeature 2014-08-15 13:53:20 +00:00
tsauerwein 3ff180b224 Implement read transforms for ol.format.WFS 2014-08-11 12:22:29 +02:00
tsauerwein 48ed2e861e Implement read/write transforms for ol.format.Polyline 2014-08-11 11:59:27 +02:00
tsauerwein f8560df793 Implement read transforms for ol.format.IGC 2014-08-11 10:51:34 +02:00
tsauerwein 9bc70f3459 Implement read/write transforms for ol.format.WKT 2014-08-11 10:17:31 +02:00
tsauerwein bfb6c2e3b8 Implement read transforms for ol.format.OSMXML 2014-08-08 17:25:05 +02:00
tsauerwein b05f880f7c Implement read/write transforms for ol.format.KML 2014-08-08 17:10:11 +02:00
tsauerwein 31dbbc6a8c Implement read/write transforms for ol.format.GPX 2014-08-08 15:50:55 +02:00
tsauerwein e446738491 Implement read transforms for ol.format.TopoJSON 2014-08-08 11:43:53 +02:00
tsauerwein 3090a0af37 Fix GeoJSON.readFeaturesFromObject
Only feature collections worked properly.
2014-08-08 11:14:03 +02:00
tsauerwein 281fd3c6a9 Implement GML.readProjectionFromNode() 2014-08-08 10:54:40 +02:00
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 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