Tim Schaub
479d98212b
Disable no-missing-requires rule in generated shader code
2017-05-02 15:04:20 -06:00
Tim Schaub
3f973e6fa3
Allow single (non-default) import from dependencies
2017-05-02 15:04:20 -06:00
Tim Schaub
584d4f67bd
Uppercase for PBF constructor
2017-05-02 15:04:20 -06:00
Andreas Hocevar
642ed5f46e
Merge pull request #6757 from hajjimurad/master
...
Fix crashing on creation of snap-interaction, if Circle is among the features to snap to.
2017-05-02 21:05:31 +02:00
Frédéric Junod
88b028e4a5
Merge pull request #6765 from fredj/fit_callback
...
Add new callback function to view.FitOptions
2017-05-02 10:36:37 +02:00
Frederic Junod
403214f569
Add new callback function to view.FitOptions
2017-05-02 08:49:39 +02:00
Michel Beaudouin-Lafon
97b3ff0499
Added View#getInteracting() to the api, similar to View#getAnimating() to access the hints
2017-05-01 14:09:44 +02:00
simonseyock
25aeb58c87
ol.style.RegularShape#getRadius2
...
returns undefined if no radius2 was provided in the constructor
2017-04-29 11:43:46 +02:00
simonseyock
dd73ac8892
ol.style.RegularShape#getPoints
...
returns now same amount of points as provided to the constructor
2017-04-29 11:43:27 +02:00
Murad Khafizov
242c55dcff
formatting fixed
2017-04-28 10:50:05 +02:00
Murad Khafizov
1f87dcc6b8
fix crashing on using undefined segmentWriter
2017-04-28 10:49:58 +02:00
Frederic Junod
dafe3a0811
Add missing goog.require
2017-04-28 08:48:46 +02:00
Frédéric Junod
c437afc15b
Merge pull request #6741 from fredj/overlay_select
...
Allow user selection in overlay container
2017-04-26 09:04:16 +02:00
Andreas Hocevar
821cf24c5b
Merge pull request #6737 from ahocevar/graticule-labels
...
Graticule labels
2017-04-24 10:49:43 +02:00
Andreas Hocevar
14f29e95a7
Add label support to ol.Graticule
2017-04-24 10:26:16 +02:00
Frederic Junod
8aa30ee8f6
Allow user selection in overlay container
2017-04-24 09:32:36 +02:00
Frederic Junod
b1f38ea0e8
Fix spelling
2017-04-24 08:58:19 +02:00
Andreas Hocevar
3e9cbade45
Improve internal usability of ol.coordinate.degreesToStringHDMS
2017-04-23 22:46:33 +02:00
Julien Enselme
e2af6b9d04
Rename the is3D option for WFS transaction into hasZ
...
This is more consistent with existing code.
2017-04-20 10:39:02 +02:00
Julien Enselme
4955097a52
Prevent Z to be undefined in 3D WFS transactions
...
For newly created points, Z can be undefined. In these cases, we use 0
for Z.
2017-04-20 10:39:02 +02:00
Julien Enselme
870bc51ad9
Add an option to writeTransaction to support 3D geometries
...
Close #6630
2017-04-20 10:39:02 +02:00
Julien Enselme
bb278df881
Don't append feature prefix twice in WFS requests
...
Some WFS servers like tinyOWS require the feature prefix to be in the
feature type for the feature to be found (eg `prefix:layer`).
The problem was, the prefix was always added to the feature type which
gave us a type name like `prefix:prefix:feature` or
`feature:prefix:feature`. The requests were then rejected by the WFS
server.
We now check if the feature type starts with the prefix. If it does, we
don't append it again. If it doesn't we do.
2017-04-20 10:32:39 +02:00
Frederic Junod
f7c71bdaac
Add wrapX option to Stamen source
2017-04-18 13:31:30 +02:00
Tim Schaub
41ebe62852
Merge pull request #6675 from tchandelle/translate-cursor
...
Reset cursor when translate interaction is removed or deactivated
2017-04-13 20:25:20 -06:00
Tim Schaub
51da8ed830
Merge pull request #6707 from tschaub/errors-url
...
Set version when building ol package
2017-04-13 20:24:36 -06:00
Frédéric Junod
515de3f6ad
Merge pull request #6706 from fredj/cluster_getDistance
...
Add ol.source.Cluster#getDistance function
2017-04-13 15:09:36 +02:00
Tim Schaub
6604172c1c
Throw a byte-saving AssertionError
2017-04-13 06:37:42 -06:00
Tim Schaub
525fba6405
Assume latest if no ol.VERSION
2017-04-13 06:32:42 -06:00
Tim Schaub
64b3302883
Require that map layers are unique
2017-04-13 05:38:49 -06:00
Tim Schaub
d28f50465b
Support for unique collections
2017-04-13 05:38:49 -06:00
Frederic Junod
de057ac505
Add ol.source.Cluster#getDistance function
2017-04-13 11:27:21 +02:00
Frederic Junod
15e6fa454d
Add new constrainResolution option to olx.interaction.DefaultsOptions
2017-04-11 13:27:11 +02:00
Andreas Hocevar
55f8a2775e
Merge pull request #6687 from tchandelle/extent-clip
...
Clip image only if the layer extent intersects the view extent
2017-04-11 10:07:39 +02:00
Thomas Chandelle
5c23123b6d
Reset cursor when translate interaction is removed or deactivated
2017-04-11 09:15:02 +02:00
Thomas Chandelle
76ddcd405d
Clip image only if the layer extent intersects the view extent
2017-04-10 14:42:57 +02:00
Frederic Junod
d97d5e5164
Update finishCoordinate in ol.interaction.Draw#removeLastPoint
...
And don't crash if the function is called but no feature is drawn
2017-04-10 12:34:49 +02:00
Frederic Junod
5e84d806d7
Add this jsdoc tag to ol.interaction.DragBox.defaultBoxEndCondition
2017-04-10 09:08:09 +02:00
Andreas Hocevar
07b8d97751
Merge pull request #6671 from kaiCu/master
...
Add constraintResolution option to MouseWheelZoom for zoom with trackpad
2017-04-10 08:47:30 +02:00
Frederic Junod
5c6c555b62
Remove ol.DRAG_BOX_HYSTERESIS_PIXELS define and add option
2017-04-07 15:31:59 +02:00
Frederic Junod
d767f8545f
Fix comment indentation
2017-04-07 15:13:42 +02:00
Andreas Hocevar
c1a5a44dfc
Improve documentation of opt_extent
2017-04-05 09:21:01 +02:00
Kai Culemann
c1adde6a13
Add constraintResolution option to MouseWheelZoom for zoom with trackpad
2017-04-04 15:06:08 +02:00
Frederic Junod
22ed575325
Add optional destination extent in ol.source.Vector#getExtent
2017-04-04 13:55:02 +02:00
Frederic Junod
f7c392342e
Use the optional extent in ol.structs.RBush#getExtent
2017-04-04 10:54:33 +02:00
Tim Schaub
d409e5ac18
Merge pull request #6658 from tschaub/raster-fix
...
Fixes for raster source rendering
2017-03-31 07:15:27 -06:00
Bart van den Eijnden
ce088d5919
Merge pull request #6620 from Jenselme/fix-gml2-desirializer-3D
...
Fix the parsing of flat coordinates in GML2 for 3D geometies
2017-03-31 11:45:18 +02:00
Julien Enselme
3a5de5483c
Fix the parsing of flat coordinates in GML2 for 3D geometies
...
The code used to rely on the dimension. However, the dimension can only
be read from a GML3 document. This caused, for 3D geometries:
- An assertion error to be raised since the flatCoordinates list
contains more than 3 elements: "Assertion failed: flatCoordinates should
have a length of 3" The value of flatCoordinates for a 3D point was
something like `[2586394, 1232407, 0, 731, NaN, 0]`
- The value of the Z coordinates to be incorrect and always set to 0
This patch simplifies and correct the parsing of the coordinates:
- Don't parse groups of coords and the coordonates at the same time.
- Detect the dimension for the coordinates.
- If the Z coordinate exists, its value is used, otherwise, we use 0.
- Correct the presentation of test data to make it work with the new
parser.
- Add a test for a 3D point.
2017-03-31 10:46:27 +02:00
Tim Schaub
a65e30fe41
Reworked raster source rendering
2017-03-30 23:00:31 -06:00
Tim Schaub
7f74f238fd
Merge pull request #6644 from tschaub/view-setters
...
Allow minZoom and maxZoom to be set on a view
2017-03-28 08:44:31 -06:00
Frédéric Junod
b4642903fd
Merge pull request #6598 from hajjimurad/feature/micrometer_support
...
Add support of micrometers to scaleline
2017-03-28 09:04:51 +02:00