Commit Graph

81 Commits

Author SHA1 Message Date
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 71b2bf73de Fix apidoc for WKT format 2014-07-18 22:01:17 +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
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 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
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
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
Tim Schaub 3c1cb55079 Remove IView and IView2D 2014-06-27 09:52:19 -04:00
Peter Robins 85c1427111 Add ol.easing to api docs 2014-06-26 16:14:59 +02:00
Andreas Hocevar 4679a7d4fb Merge pull request #2138 from probins/mapoptions
Document map options more thoroughly
2014-06-25 09:35:56 +02:00
Peter Robins 68fcba6e35 Update docs for events.condition options 2014-06-20 14:15:52 -04:00
Peter Robins 68ec57b004 Document map options more thoroughly 2014-06-20 08:27:20 -04:00
Éric Lemoine 5e9121cd8b Merge pull request #2217 from elemoine/overlay-offset
Add an offset property to ol.Overlay
2014-06-19 10:20:38 +02:00
Éric Lemoine dced47157e Better docs for ol.Overlay#positioning 2014-06-19 09:57:58 +02:00
Éric Lemoine fd151e1386 Add docs for tilePixelRatio 2014-06-19 09:50:53 +02:00
Éric Lemoine d1d8d5f96c Add an offset property to ol.Overlay
Replaces "offsetX" and "offsetY" by an ol.Object "offset" property.
2014-06-18 22:11:07 +02:00
Éric Lemoine e161f0eaba Add tilePixelRatio option to ol.source.WMTS 2014-06-18 13:34:57 +02:00
Éric Lemoine 947eb2e949 Add tilePixelRatio option to ol.source.TileImage 2014-06-18 13:34:57 +02:00
Frederic Junod a283977cb9 Make the scale factor of ol.format.Polyline configurable
And export the class
2014-06-17 16:58:40 +02:00
Peter Robins 4a52333d9f Add missing format option to TileVector docs 2014-06-15 08:22:24 -04:00
Frédéric Junod a25067eccc Merge pull request #2157 from probins/loadstrat
Add docs link to loadingstrategy
2014-06-12 10:58:41 +02:00
Éric Lemoine f0dbcfd541 Merge pull request #2114 from tsauerwein/draw-and-modify
Add example combining draw and modify interaction
2014-06-10 10:00:27 +02:00
Tim Schaub ee38f8fc2f Merge pull request #2033 from htulipe/map-renderer-type
Expose map renderer type in the API.
2014-06-06 14:13:50 -06:00
tsauerwein d0e818e8ce Add condition to draw interaction 2014-06-06 15:54:38 +02:00
oterral 71951b8bbd Add offset and offsetOrigin in ol.style.Icon 2014-06-04 11:15:13 +02:00
Peter Robins 474fc8f4a6 Add docs link to loadingstrategy 2014-06-02 09:58:04 -04:00
Éric Lemoine c4c05bd205 Merge pull request #2112 from elemoine/iconload
Icon image loading related exports
2014-06-02 08:25:45 +02:00