Commit Graph

185 Commits

Author SHA1 Message Date
tsauerwein 539e4a23b9 Introduce defaultDataProjection for formats 2014-08-18 15:31:06 +02:00
tsauerwein 294afe16fe Fix compiler type errors 2014-08-11 14:04:31 +02:00
Andreas Hocevar 68d572e062 Better descriptions of options 2014-07-31 17:54:41 +02:00
Andreas Hocevar b0d95b326a Introduce WriteOptions for feature formats 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
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 7b7070d723 Merge pull request #2458 from openlayers/cluster
Add clustering functionality
2014-07-29 14:10:49 +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
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
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 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
Éric Lemoine 9bd1ab78fc Add Graticule component 2014-07-24 17:59:56 +02:00
Éric Lemoine 9f19569144 Add a worldExtent to ol.proj.Projection 2014-07-24 17:59:56 +02:00
Antoine Abt d50f40dcce Type check with olx.LogoOptions 2014-07-24 16:40:34 +02:00
Antoine Abt 280a7c520f More complete doc for logo option 2014-07-24 15:22:20 +02:00
Antoine Abt 31c9f5806e Wording in docs 2014-07-24 15:22:19 +02:00
Antoine Abt ba8077010a Add link support for source logos 2014-07-24 15:22:19 +02:00
Antoine Abt 7fbc4e3bff Rename ol3Logo to logo in map options 2014-07-23 16:27:01 +02:00
Frederic Junod 8cf48eac4f Document options default value 2014-07-22 15:11:40 +02:00
Erik Timmers 0309a620ea Add option to process GPX extensions nodes
Fixes #1791.
2014-07-22 13:02:53 +02:00
Erik Timmers 71b2bf73de Fix apidoc for WKT format 2014-07-18 22:01:17 +02:00
Antoine Abt 60f1874766 Give precedence to feature style 2014-07-16 11:25:16 +02:00
Paul Spencer 7ca069de39 Merge pull request #2311 from probins/tilegrid
Improve docs for tilegrid
2014-07-15 21:12:27 -04:00
Peter Robins be09368359 Document map DOM elements 2014-07-13 07:47:47 +00:00
tsauerwein 3b8e182856 Add maxZoom to ol.View.fitGeometry() options 2014-07-11 16:31:01 +02:00
Petr Pridal 1a933febcd Add tilePixelRatio option to ol.source.XYZ 2014-07-11 12:03:55 +02:00
Antoine Abt 4d150e6b84 Move Logos in attributions 2014-07-11 09:53:25 +02:00
Antoine Abt da74fbf529 Remove Logo Control 2014-07-11 09:53:25 +02:00
Antoine Abt 5a1e92830f Make attribution control collapsible. 2014-07-11 09:36:14 +02:00
Andreas Hocevar 0a01f8ef7e Simplify ol.proj.addCoordinateTransforms
Equivalent projections do not need to be handled here, and the forward
and inverse functions can be function arguments instead of being nested
in an object literal.
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
Peter Robins b396773183 Improve docs for tilegrid 2014-07-09 06:54:24 -04:00
Andreas Hocevar 88ab1ac61a Doc changes suggested by @probins 2014-07-08 22:06:21 +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 8b89f5b689 Update API to work with custom transforms, including proj4js
All transparent proj4js handling is now in ol.proj.get, and a new
addCoordinateTransforms function makes it easy to configure custom
transform functions. ol.Proj4jsProjection is no longer needed.
2014-07-08 22:06:20 +02:00
Andreas Hocevar dc09b0a27f Update externs and ol.HAVE_PROJ4JS for new proj4js API 2014-07-08 22:06:20 +02:00
Tim Schaub 8b29b52e95 Document olx.format.PolylineOptions
This was mistakenly annotated with `@todo stability` (which does nothing).
2014-07-05 15:43:03 -04:00
Tim Schaub 4cf5ab4620 Use @api annotation instead of @todo api 2014-07-05 15:41:14 -04:00
Frederic Junod 234dd91ff2 Remove some externs declarations
All these declarations are defined in recent versions of Closure Compiler.
2014-07-04 10:51:17 +02:00
Éric Lemoine 0ae1cd7cf5 Fix a type issue in jquery-1.7 externs
See https://github.com/google/closure-compiler/issues/176
2014-07-04 09:15:23 +02:00
Éric Lemoine 152b434f1b Add jquery-1.7 externs 2014-07-04 09:15:23 +02:00
Éric Lemoine 064f95f530 Remove the IE 11 fullscreen externs declarations
They are defined in recent versions of Closure Compiler.
2014-07-04 09:15:22 +02:00
Peter Robins 49aabda1b9 Improve docs for interaction.Select 2014-07-03 04:54:09 -04:00
Erik Timmers 1e61485e11 Extend WKT parser from ol.format.TextFeature 2014-06-27 23:35:36 +02:00
Tim Schaub 878dcd1d28 Rename olx.View2DOptions to olx.ViewOptions 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
Tim Schaub b9f444a008 Rename olx.View2DState to olx.ViewState and use viewState property 2014-06-27 09:58:25 -04:00