Andreas Hocevar
e7dc09cf9f
Add more tests
2017-05-09 14:25:28 +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
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
Tim Schaub
9415899a03
Add common transforms by default
2017-03-27 10:07:00 -06:00
Andreas Hocevar
3bf74f4a33
Merge pull request #6631 from ahocevar/wms-image-size
...
Fix request image size caclulation
2017-03-24 10:39:09 +01:00
Andreas Hocevar
28fb57ebeb
Fix request image size caclulation
2017-03-23 22:26:58 +01:00
Andreas Hocevar
07d4492ece
Respect cacheSize for reprojected caches
2017-03-22 15:50:58 +01:00
Frédéric Junod
f4bf92a488
Merge pull request #6614 from adube/filter-write-util-method
...
Filter write util method
2017-03-21 16:28:04 +01:00
Alexandre Dubé
827fabc849
Apply reviewer's comments
2017-03-21 10:15:32 -04:00
Frederic Junod
7aa6d6350a
Fix closing tag in gml tests
2017-03-21 14:55:41 +01:00
Alexandre Dubé
ef1033dffc
Test for ol.format.WFS.writerFilter method
2017-03-21 09:19:07 -04:00
Julien Enselme
ecafa44196
Add support for WFS 1.0.0 to ol.format.WFS#writeTransaction
...
- Add a version property to olx.format.WFSWriteTransactionOptions to set
the WFS protocol version to use
- Use the specified version to use the correct schema and version in the
GML request
- Use the version to select the proper GML serializer
2017-03-21 10:59:28 +01:00
Bart van den Eijnden
d931a92a9f
Merge pull request #6523 from Jenselme/gml2-writeGeometryElement
...
Add Gml2 serializers to support WFS-T 1.0.0
2017-03-20 09:32:44 +01:00
SanderH
ebde179ab2
Adding crossOrigin to optionsFromCapabilities
...
This pull request should resolve: https://github.com/openlayers/openlayers/issues/6521
Now with var and single quotes
2017-03-09 14:49:48 +01:00