Commit Graph

5703 Commits

Author SHA1 Message Date
Éric Lemoine 8959aaafd5 Merge pull request #2477 from fredj/2475
Add new olx.format.KMLOptions#extractStyles property
2014-08-08 08:57:15 +02:00
Éric Lemoine 253d64d6f0 Merge pull request #2506 from elemoine/naming
Rename debugtilesource.js to tiledebugsource.js
2014-08-08 08:47:59 +02:00
Éric Lemoine 9d6fced8b4 Merge pull request #2505 from elemoine/graticule-style
Make stroke style of the graticule configurable
2014-08-08 08:43:28 +02:00
Éric Lemoine 9d9f29e1a2 debugtilesource.js changed to tiledebugsource.js 2014-08-08 08:32:44 +02:00
Marc Jansen b60609d93c Make stroke style of the graticule configurable 2014-08-08 08:28:34 +02:00
Frederic Junod 190db934ee Always use goog.json.parse and set goog.json.USE_NATIVE_JSON=true 2014-08-07 17:14:50 +02:00
Frederic Junod 9e37aa796a Add new olx.format.KMLOptions#extractStyles property 2014-08-07 17:08:19 +02:00
Frédéric Junod 18b3c3eee7 Merge pull request #2501 from fredj/2501
bug fix to play nice with sencha touch 2.3
2014-08-07 16:58:19 +02:00
Frederic Junod 0d6cc22bf0 Don't bind to ol.View projection property 2014-08-07 12:59:15 +02:00
Frederic Junod d3b5a14a9b Don't use TouchList#item function 2014-08-07 12:25:19 +02:00
Andreas Hocevar 08039e9894 Replace multiple placeholder occurrences in templates 2014-08-07 10:51:41 +02:00
Frédéric Junod a1e33eabc5 Merge pull request #2499 from fredj/2294
Properly clear features in ol.source.ServerVector#clear
2014-08-06 10:42:31 +02:00
Tim Schaub 1864e03873 Merge pull request #2496 from probins/linear
Correct wrong docs for LinearRing.

Closes #2495.
2014-08-05 11:22:59 -06:00
Frederic Junod ae98ee8b4a Restore context opacity after drawing layers
Closes #2455
2014-08-05 16:05:23 +02:00
Evgeny Ushkalov af05b3d031 Properly clear features in ol.source.ServerVector#clear 2014-08-05 15:39:42 +02:00
Peter Robins d3683fcab9 Correct wrong docs for LinearRing 2014-08-05 11:08:44 +00:00
Andreas Hocevar 1bd522d96f Merge pull request #2481 from probins/styledoc
Improve docs for style
2014-08-05 12:01:19 +02:00
Peter Robins bf3770a9da Improve docs for style 2014-08-05 09:04:35 +00:00
Andreas Hocevar 94e2911697 Fix function type so the function is optional, not the return value 2014-08-04 20:37:44 +02:00
Peter Robins 652fcede22 Document LinearRing as abstract class 2014-08-04 10:05:01 +00:00
Andreas Hocevar b88cb727c9 Merge pull request #2492 from probins/length
Document that geom.getArea/Length on projected plane
2014-08-04 10:40:38 +02:00
Peter Robins c86569684e Document that geom.getArea/Length on projected plane 2014-08-04 08:02:01 +00:00
Frédéric Junod 7de98d8794 Merge pull request #2433 from fredj/collection
Templatize ol.Collection
2014-08-02 09:47:34 +02:00
Frédéric Junod acf623f853 Merge pull request #2483 from fredj/view.projection
Remove projection from ol.View observable properties
2014-08-01 16:01:10 +02:00
Frederic Junod e69913900e Remove projection from ol.View observable properties 2014-07-31 12:10:35 +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
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
Frederic Junod 0277026624 Stricter typing for ol.Collection 2014-07-30 09:38:16 +02:00
Frederic Junod 1048d59331 Remove unneeded type cast 2014-07-30 09:09:34 +02:00
Frederic Junod 93218e5db4 Templatize ol.Collection 2014-07-30 09:09:33 +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
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
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
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
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
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 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