Andreas Hocevar
0e8e104a2d
Handle righthanded polygons in format, not source
2015-10-28 10:29:02 +01:00
Andreas Hocevar
6e2f82c397
Introduce ol.render.Feature
2015-10-28 10:29:02 +01:00
Andreas Hocevar
7d3fc3ccc7
Add VectorTile layer, source and tile
2015-10-28 10:29:01 +01:00
Andreas Hocevar
598111b78e
Introduce ol.format.MVT
2015-10-28 10:29:00 +01:00
FRizZL
a60a7f7c09
Add wrapX override support for ol.source.Cluster
...
It was not possible to override the wrapX option for the cluster source.
This commit adds that functionality.
2015-10-27 08:26:52 +01:00
Tamar Cohen
80caaa5399
Make auto-labeling of placemark names configurable
2015-10-25 19:40:08 +01:00
Barryrowe
7d95df1a9d
Expand docs on ol.source url prop
...
Expanded documentation on the url property of the
ol.source.Vector property to include information about
how data loaded remotely will always be run through an
attempt to translate to the view's projection so the
format object must have the proper value for
defaultDataProjection when the remote data doesn't
include a CRS property.
2015-10-20 17:25:27 +02:00
Petr Sloup
94caa07168
Minor code style, documentation and typo fixes
2015-10-16 09:28:43 +02:00
Petr Sloup
168b675191
Add reprojectionErrorThreshold option to the tiled image sources
2015-10-16 09:28:41 +02:00
Andreas Hocevar
7a070dd859
Use DOM instead of map canvas for ol.render.Box
2015-10-15 17:34:16 +02:00
Andreas Hocevar
ee82fde184
Merge pull request #4268 from jonataswalker/get-overlay-by-id
...
Add method for retrieving ol.Overlay by id
2015-10-14 22:12:59 +02:00
jonataswalker
fce065e185
Add method for retrieving ol.Overlay by id
2015-10-14 16:01:48 -03:00
Alexandre Dubé
657b9dc018
Fix 'Shift' DragZoom in default interactions, use zoomDuration
...
This fix allows the DragZoom interaction created in the default
interactions to use the zoom duration defined in the options, if
set.
2015-10-14 13:46:30 -04:00
Andreas Hocevar
f95b154117
Merge pull request #4116 from ahocevar/overviewmap-view
...
Make ol.control.OverviewMap's view configurable
2015-10-08 11:44:38 +02:00
Tim Schaub
d6f03697d7
Remove hue, saturation, contrast, and brightness
2015-09-27 13:16:30 -06:00
Bart van den Eijnden
ceb39b0d07
Add docs for count and startIndex (WFS paging)
2015-09-25 11:28:55 -06:00
Tim Schaub
d7ca176362
Remove goog.isDef from more formats
2015-09-25 11:28:55 -06:00
Tim Schaub
a096ec5bf7
Remove goog.isDef from controls (-278 B)
2015-09-25 11:28:54 -06:00
Éric Lemoine
b53e4e39ad
Merge pull request #4157 from elemoine/typo
...
Fix typo in doc
2015-09-23 10:25:52 +02:00
Éric Lemoine
6963c3c037
Merge pull request #4138 from ekargee/doc_text
...
Enhanced documentation for ol.style.Text
2015-09-23 10:15:44 +02:00
Éric Lemoine
d0621a1949
Fix typo in doc
2015-09-23 10:13:49 +02:00
Éric Lemoine
5162fda686
Merge pull request #4153 from elemoine/select-features
...
Add a "features" option to ol.interaction.Select
2015-09-22 17:53:39 +02:00
Éric Lemoine
0bc8858760
Add a "features" option to ol.interaction.Select
2015-09-22 17:02:14 +02:00
ekargee
3978dd87be
Updated documentation for ol.style.Text - font and text
2015-09-22 18:57:49 +08:00
Elizabeth-Kate Gulland
33dbaccb68
Enhanced documentation for ol.style.Text
2015-09-19 06:26:41 +02:00
Marc Jansen
80995159b1
Use a blackish default for filling texts
2015-09-17 16:52:59 +02:00
Andreas Hocevar
ea8ad4fc16
Make ol.control.OverviewMap's view configurable
...
This is useful for creating an OverviewMap in a different projection than
EPSG:3857.
2015-09-16 17:28:16 +09:00
Samuel Lapointe
c2c4dbfc32
Add a zoom setting to MouseWheelZoomInteraction
...
By default, zooming in or out zooms using the mouse's location
as an anchor, which makes it possible to navigate the map
using scrolling only, and makes zooming in more intuitive.
This commit adds a new useAnchor option to the MouseWheelZoom
interaction. It is enabled by default, which changes nothing
to the current behavior of the interaction. When disabled,
the interaction stops registering its lastAnchor_ value. This
turns the zoom into a very basic one, that zooms to the center
of the screen.
To use the map center zoom, set the useAnchor option to
false when creating the MouseWheelZoomInteraction, or use its
setMouseAnchor function.
2015-09-11 16:20:10 -04:00
Éric Lemoine
0001e0989b
Merge pull request #3986 from alvinlindstam/feature/url-function
...
Modify 'url' option of ol.source.Vector to accept a function
2015-09-04 14:23:00 +02:00
Guillaume Beraudo
3811228ac7
Add Z-index to layers
...
This commit allows setting a z-index property on the layers and uses
it in the canvas, WEBGL and DOM map renderers for ordering the layers
before rendering.
Default z-index is 0 for managed layers and 1000 for unmanaged ones.
It allows always on bottom, always on top and more complex layer layouts.
2015-09-03 11:31:57 +02:00
Alvin Lindstam
e41ba12445
Modify ol.featureloader (and consequently ol.source.Vector) to accept a function as a url.
2015-08-28 21:57:48 +02:00
Christopher S. Case
338d0570fd
Add a Translate interaction
...
This allows features to be moved around the map. It works much like the Modify interaction, however it's significantly simpler. It uses the geometry's underlying `translate` function.
2015-08-18 11:17:01 +02:00
Tim Schaub
54d3bbd625
Merge pull request #3214 from tschaub/raster
...
Pixel manipulation with raster sources.
2015-08-03 21:49:19 -06:00
Tim Schaub
860fdabd76
Simplify raster sources by working with a single operation
2015-08-03 20:10:46 -06:00
Alvin Lindstam
75bf3e1ccf
Clarify documentation of Image source ratio option.
2015-08-02 19:51:00 +02:00
Tim Schaub
4320b07c5d
Doc corrections
2015-08-01 16:33:43 -06:00
Tim Schaub
935eb63876
Merge pull request #3922 from probins/expandurl
...
Document {?-?} pattern in expandUrl
2015-08-01 15:54:51 -06:00
Tobias Bieniek
d3f766c748
SnapOptions: Fix typo in pixelTolerance JSDoc
...
This was apparently copy-pasted from the `ModifyOptions` without adjustment
2015-07-28 12:26:54 +02:00
Peter Robins
e6f4054d3b
Document {?-?} pattern in expandUrl
2015-07-25 13:41:36 +00:00
Tim Schaub
0c486c522a
Allow UI thread to be used
...
Where workers are not available, or if operations are trivial to run, the main UI thread can be used instead. This also adds tests that run in real browsers.
2015-07-21 17:12:08 -06:00
Tim Schaub
a721ce03c9
Support for image or pixel operations
2015-07-21 17:12:06 -06:00
Tim Schaub
acc97a53eb
Raster source for composing pixels from other sources
2015-07-21 17:12:05 -06:00
Bart van den Eijnden
a62bbd6650
Merge pull request #3859 from llambanna/patch-2
...
Add in crossOrigin option
2015-07-06 11:58:39 +02:00
Anna Lambrechtsen
1d3f8b5d7d
Add in crossOrigin option
2015-07-06 14:07:40 +12:00
vmalaret
74759142d9
Replace fitGeometry and fitExtent with fit
...
Fit accepts either a geometry or an extent.
This combines two previously distinct functions
into one more flexible call.
Also brings the rotations support and options
previously available to fitGeometry to extents
2015-07-02 15:19:08 +02:00
Björn Harrtell
ceafa88dc8
Enable use of custom XHR loader for TileVector sources
2015-06-23 14:07:19 +02:00
Petr Sloup
5993b45c63
Allow custom tileGrid in ol.source.XYZ
2015-06-19 19:58:06 +02:00
Andreas Hocevar
5c5364bbb7
Merge pull request #3815 from ahocevar/tilegrid-no-surprises
...
Simplify tilegrid API and internals
2015-06-19 19:05:19 +02:00
Andreas Hocevar
6411c9267b
More clarity about origin and direction of tile coordinates
2015-06-19 18:49:49 +02:00
Andreas Hocevar
84e051d19b
Fix TileDebugSource to display '' for out-of-range tiles
2015-06-19 18:34:18 +02:00