Commit Graph

14454 Commits

Author SHA1 Message Date
Andreas Hocevar 464eb3ccf5 Make projection retrieval consistent 2014-07-31 17:54:41 +02:00
Andreas Hocevar 4c4a335448 Implement write transforms for ol.format.GeoJSON 2014-07-31 17:54:41 +02:00
Andreas Hocevar 8aa799850d Add write transform capability to ol.format.JSONFeature 2014-07-31 17:51:25 +02:00
Andreas Hocevar b0d95b326a Introduce WriteOptions for feature formats 2014-07-31 17:51:25 +02:00
Andreas Hocevar 3245b8c6af Update read* signatures in ol.format.JSONFeature to use options 2014-07-31 17:51:25 +02:00
Andreas Hocevar 0ea55b7f27 Use a ReadFeatures object instead of sourceProjection/targetProjection 2014-07-31 17:51:25 +02:00
Éric Lemoine 225791c969 Add target/sourceProjection to ol.format.GeoJSON#read* 2014-07-31 17:51:24 +02:00
Éric Lemoine d13261a21a Add target/sourceProjection to ol.format.JSONFeature#read* 2014-07-31 17:51:24 +02:00
Éric Lemoine 534a178a49 Add target/sourceProjection to ol.format.Feature#read* 2014-07-31 17:51:24 +02:00
Frédéric Junod 819fd83e06 Merge pull request #2473 from fredj/2472
Rename olx.FrameState#skippedFeatureUids_ skippedFeatureUids
2014-07-31 13:38:37 +02:00
Frederic Junod 86268bcf58 Rename olx.FrameState#skippedFeatureUids_ skippedFeatureUids
To let the ol.Map#skippedFeatureUids_ property to be renamed by the compiler.
2014-07-31 11:30:39 +02:00
Frédéric Junod 80c6e019a7 Merge pull request #2471 from fredj/jsdoc
minor jsdoc and type annotation fixes
2014-07-31 11:14:08 +02:00
Frederic Junod 7a86bf58bf Improve type annotation 2014-07-31 09:44:52 +02:00
Frederic Junod 051da752f3 Improve type annotation in ol.format.GeoJSON 2014-07-31 09:43:06 +02:00
Frederic Junod 9b476e4ce3 Add the jsdoc ol.style namespace 2014-07-31 09:09:48 +02:00
Frédéric Junod f99e9e40b7 Merge pull request #2467 from fredj/2460
Add workaround for mousewheel event name
2014-07-29 17:36:32 +02:00
Frédéric Junod 9e33ccad74 Merge pull request #2466 from fredj/unused-typedef
Remove unused ol.CoordinateArray typedef
2014-07-29 17:31:48 +02:00
Frederic Junod 3fce080d5a Add workaround for mousewheel event name
'DOMMouseScroll' for Gecko and 'mousewheel' otherwise.

See https://github.com/google/closure-library/pull/308
2014-07-29 17:10:26 +02:00
Frederic Junod 53be13a658 Remove unused ol.CoordinateArray typedef 2014-07-29 14:44:51 +02:00
Frédéric Junod 7b7070d723 Merge pull request #2458 from openlayers/cluster
Add clustering functionality
2014-07-29 14:10:49 +02:00
Andreas Hocevar 27d5a3cc4c Merge pull request #2463 from gingerik/externs-function-bodies
Remove function bodies from externs
2014-07-29 13:52:12 +02:00
Frédéric Junod 40e16557a9 Merge pull request #2464 from fredj/closure-library-issue-link
Update link to closure-library issue
2014-07-29 13:35:13 +02:00
Frederic Junod 4fa9083854 Update link to closure-library issue 2014-07-29 12:46:35 +02:00
Frederic Junod 06df648733 Add ol.source.Cluster
Initial code by @kenny806
2014-07-29 12:29:43 +02:00
Erik Timmers 077bcdd778 Remove function bodies from externs 2014-07-29 12:02:00 +02:00
Tim Schaub 77674c6728 Merge pull request #2448 from gingerik/wkt-docs
Fix WKT writers output type.
2014-07-28 17:47:10 -06:00
Frédéric Junod ec8d3a45e4 Merge pull request #2423 from fredj/dispose
Dispose the tiles removed from the cache
2014-07-28 17:18:27 +02:00
Frédéric Junod 707648b828 Merge pull request #2457 from probins/patch-1
Remove reference to simple/whitespace in examples/readme
2014-07-28 12:22:11 +02:00
Peter Robins 8079590b49 Remove reference to simple/whitespace in examples/readme 2014-07-28 10:01:41 +01:00
Marc Jansen 495ad3de93 Merge pull request #2452 from marcjansen/test-typo
Fix typo in ol.Map test.
2014-07-28 09:36:28 +02:00
Marc Jansen 2e37a34459 Fix typo in ol.Map test. 2014-07-28 09:35:23 +02:00
Frédéric Junod e729b3d423 Merge pull request #2449 from probins/patch-1
Improve wording of ol.Map description
2014-07-28 07:44:09 +02:00
Peter Robins cff8d4c668 Improve wording of ol.Map description 2014-07-27 12:06:45 +01:00
Erik Timmers 76c883ea89 Fix WKT writers output type 2014-07-26 11:47:35 +02:00
Tim Schaub 4d0fbaedc1 Merge pull request #2446 from tschaub/version
Unconditionally add version info to the build header.
2014-07-25 15:33:30 -06:00
Tim Schaub c3bddffecb Unconditionally add version info to the build header
This reworks the changes in #2442 so we always include the version info, regardless of whether the module is run as main or not.  This also addresses a few lint related issues.
2014-07-25 12:50:58 -06: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
Tobias Sauerwein 05e9a47fd1 Merge pull request #2442 from tsauerwein/build-version
Write library version in build files
2014-07-25 16:37:12 +02:00
tsauerwein 9102647751 Write version in builds 2014-07-25 16:10:08 +02:00
Bart van den Eijnden f468239e71 Merge pull request #2394 from tonio/style_order
Give precedence to feature styles
v3.0.0-gamma.3
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
Tim Schaub 10ffc8953b Merge pull request #2436 from tschaub/doc-link
Correct link to API docs.
2014-07-24 14:58:24 -06:00
Tim Schaub d846fbc0b4 Correct link to API docs 2014-07-24 14:32:34 -06: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 9fd5c1370e Merge pull request #2316 from tschaub/layer-extent
Support for layers with limited extent.
2014-07-24 10:41:01 -06: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 2b0284a342 Only request tiles within the layer extent
Layer renderers are now responsible for requesting data within a limited extent.
2014-07-24 10:26:07 -06:00
Tim Schaub 234cff4de5 Limit image layer requests to layer extent
This has two nice consequences that can be seen in the wms-image.js and mapbuide-untiled.js examples:
 * no images are requested when you browse outside of the layer extent
 * when the layer extent is within the viewport extent, cached images are used since the intersecting extent is the same for multiple viewport extents
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