Andreas Hocevar
8c00bbc91d
Report ol.VectorTile instead of ol.VectorImageTile loads
2017-05-17 00:18:46 +02:00
Andreas Hocevar
567cc304ed
Add tileJSON option to ol.source.TileJSON
2017-05-16 18:37:18 +02:00
Frédéric Junod
c61189121e
Merge pull request #6786 from fredj/during_filter
...
Add ol.format.filter.during
2017-05-12 15:26:03 +02:00
Andreas Hocevar
3ff33699c8
Merge pull request #6801 from ahocevar/renderfeature-getid
...
Add getId method for ol.render.Feature
2017-05-11 17:07:53 +02:00
Andreas Hocevar
df72d7b20f
Add getId() method for ol.render.Feature
2017-05-11 15:54:20 +02:00
Andreas Hocevar
4a6945ac17
Merge pull request #6779 from ahocevar/vector-tile-grid
...
Decouple source and rendered tile grid of vector tile sources
2017-05-10 19:07:21 +02:00
Frédéric Junod
2e1495fc07
Merge pull request #6785 from fredj/insertVertexCondition
...
Add insertVertexCondition to ol.interaction.Modify options
2017-05-10 13:37:59 +02:00
Andreas Hocevar
50615557d9
Create intermediate canvas when resolutions have changed
2017-05-10 11:58:38 +02:00
Frederic Junod
ff91974345
Add insertVertexCondition to ol.interaction.Modify options
2017-05-09 15:34:43 +02:00
Andreas Hocevar
e7dc09cf9f
Add more tests
2017-05-09 14:25:28 +02:00
Frederic Junod
fcf9649ef9
Add ol.format.filter.during
2017-05-09 14:07:33 +02:00
Andreas Hocevar
55e3746554
Avoid garbage creation on frame preparation/composition
2017-05-09 14:04:05 +02:00
Andreas Hocevar
a59a147dbd
Handle tile state of ol.VectorImageTile properly
2017-05-09 14:04:05 +02:00
Andreas Hocevar
355ce9f679
Use same tile size in rendered and source tile grid
2017-05-09 14:04:04 +02:00
Andreas Hocevar
785e7135a7
Decouple source and rendered tile grid of vector tile sources
2017-05-09 14:04:04 +02:00
Bart van den Eijnden
2486b25e5e
Merge pull request #6556 from KlausBenndorf/kmlinsetpixel
...
Reading kml xunits/yunits insetPixels
2017-05-08 11:02:19 +02: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
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
944f0df981
Fixed test to compare to true/false rather than 0/1
2017-05-01 17:09:27 +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
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
b1f38ea0e8
Fix spelling
2017-04-24 08:58:19 +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
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
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
525fba6405
Assume latest if no ol.VERSION
2017-04-13 06:32:42 -06:00
Tim Schaub
9c8a3ba688
Test that resetting via collection.setAt() works
2017-04-13 05:38:49 -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
Frédéric Junod
f206fab268
Merge pull request #6691 from fredj/cleanup
...
Move eslint globals to to test/.eslintrc
2017-04-12 08:25:01 +02:00
Frederic Junod
15e6fa454d
Add new constrainResolution option to olx.interaction.DefaultsOptions
2017-04-11 13:27:11 +02:00
Frederic Junod
72bb310386
Move eslint globals to to test/.eslintrc
2017-04-11 12:36:39 +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
051d5651a5
Complete previous cursor tests
...
"respects existing cursor value" wasn't actually testing anything
2017-04-11 09:15:02 +02:00
Thomas Chandelle
5c23123b6d
Reset cursor when translate interaction is removed or deactivated
2017-04-11 09:15:02 +02:00
Thomas Chandelle
b301760976
Update composeFrame test with should/shouldn't clip cases
2017-04-10 15:11:11 +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
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
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
Frederic Junod
57d39109e3
Add test for the metric unit displayed in the scaleline
2017-03-28 09:06:33 +02:00
Tim Schaub
e9c340b957
Allow min/max zoom to be set on a view
2017-03-27 14:18:16 -06:00