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
Tim Schaub
e9c340b957
Allow min/max zoom to be set on a view
2017-03-27 14:18:16 -06:00
Tim Schaub
4c1bf075c4
Allow options to be reapplied
2017-03-27 10:41:02 -06:00
Tim Schaub
9415899a03
Add common transforms by default
2017-03-27 10:07:00 -06:00
Tim Schaub
03700c0f01
Remove ol.proj dependency from EPSG3857 and EPSG4326
2017-03-27 09:47:03 -06:00
Andreas Hocevar
1316513a1e
Merge pull request #6567 from nagytech/master
...
Overlay visible before updating render position
2017-03-27 10:42:08 +02: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
eef0b8869f
Merge pull request #6626 from ahocevar/reprojected-cache-size
...
Respect cacheSize for reprojected caches
2017-03-22 16:27:11 +01:00
Andreas Hocevar
e731ff8118
Merge pull request #6623 from ahocevar/outerwidth-outerheight
...
Fix outerWidth and outerHeight calculation in IE
2017-03-22 15:52:52 +01:00
Andreas Hocevar
07d4492ece
Respect cacheSize for reprojected caches
2017-03-22 15:50:58 +01:00
Andreas Hocevar
1843698daf
Fix outerWidth and outerHeight calculation in IE
2017-03-22 15:07:06 +01:00
Guillaume Beraudo
630d9c5200
Fix proj4 type
...
Previous typing was confusing the compiler. It could not figure out the
difference between the proj4 property and the constructor, which lead to
errors such as:
- ol.proj.setProj4(proj4)
ERR! compile /home/gberaudo/dev/ngeo/src/proj/epsg21781.js:8: ERROR - actual parameter 1 of ol.proj.setProj4 does not match formal parameter
ERR! compile found : function (new:proj4): ?
ERR! compile required: (null|proj4)
ERR! compile ol.proj.setProj4(proj4);
ERR! compile ^^^^^
- ol.proj.proj4.get().defs('EPSG:21781', epsg21781def)
ERR! compile /home/gberaudo/dev/ngeo/src/proj/epsg21781.js:26: ERROR - Property defs never defined on proj4
ERR! compile ol.proj.proj4.get().defs('EPSG:21781', epsg21781def);
ERR! compile ^^^^
2017-03-22 09:47:29 +01:00
Alexandre Dubé
827fabc849
Apply reviewer's comments
2017-03-21 10:15:32 -04:00
Alexandre Dubé
8a5fb286b6
Add writeFilter method to WFS format
2017-03-21 08:57:15 -04:00
Bart van den Eijnden
14c78a138a
Merge pull request #6612 from Jenselme/wfs-1.0.0-writeGetFeature
...
Add support for WFS 1.0.0 to ol.format.WFS#writeTransaction
2017-03-21 11:08:40 +01: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
Andreas Hocevar
d216962b64
Merge pull request #5887 from felixveysseyre/interactive-overview-map
...
Interactive overview map
2017-03-21 10:17:58 +01:00
Andreas Hocevar
93ef22759a
Fix event type case of MSPointerDown
2017-03-20 19:36:43 +01:00
Andreas Hocevar
f5c1908058
Merge pull request #6606 from ahocevar/delete-segmentdata
...
Reset dragSegments after vertex deletion
2017-03-20 18:17:34 +01:00
Félix VEYSSEYRE
6202c1736f
Made OvervieMap interactive option default behavior
2017-03-20 17:15:47 +01:00
Andreas Hocevar
35ef65e6b9
Reset dragSegments after vertex deletion
2017-03-20 09:39:34 +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
Frédéric Junod
b7fcc3ec46
Merge pull request #6577 from fredj/optionsFromCapabilities_crossOrigin
...
Adding crossOrigin to optionsFromCapabilities
2017-03-20 08:25:46 +01:00
Murad Khafizov
76b917bf36
Add support of micrometers to scaleline
...
For high resolutions it starts to use micrometers (μm) instead of millimeters(mm). For example "5 μm" instead of "0.005 mm"
2017-03-16 12:45:44 +01:00
Ilia Choly
2dc656c098
Add ol.RenderOrderFunction typedef
2017-03-09 13:02:39 -05: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
Frederic Junod
2e22fce718
Return null if the layer was not found in the WMTS capabilities
2017-03-08 15:29:26 +01:00
Jonathan Nagy
915b83a068
Remove trailing whitespace.
2017-03-08 16:34:27 +11:00
Jonathan Nagy
c54bf85dfc
Overlay visible before updating render position
...
Make the overlay visible before updating the render position
so that the `offsetWidth` and `offsetHeight` can be
considered in evaluating the offset and positioning of the
element
See openlayers/openlayers#6566
2017-03-08 15:53:42 +11:00
Frederic Junod
1d3eb2eb6e
Use the default fill and stroke color
2017-03-07 12:04:22 +01:00
Aleš Jiránek
9c20a5eec8
Don’t crash if feature loader xhr response returns 500
2017-03-06 11:15:16 +01:00
Frederic Junod
192e3a3197
Remove unneeded type cast
2017-03-06 08:39:47 +01:00
simonseyock
c027b4d127
Reading kml xunits/yunits insetPixels
2017-03-04 12:24:51 +01:00
bartvde
f06d1740e0
Make getAnimating and cancelAnimations @api
2017-03-02 13:48:50 +01:00
bartvde
3d18b54978
Cleanup left over code from animation changes
2017-03-02 13:34:49 +01:00
Frederic Junod
c1be62e6c3
More precise ol.Geolocation#getAccuracyGeometry return type
2017-02-27 16:18:45 +01:00