Commit Graph

803 Commits

Author SHA1 Message Date
Andreas Hocevar 2ef5f99599 Remove bundling magic for Mapbox styles script 2017-08-21 09:48:51 +02:00
Tim Schaub 8a08ab6463 Correct types 2017-08-15 15:37:37 -04:00
Tim Schaub 9271df7e1d Pluggable renderers 2017-08-15 15:37:37 -04:00
Tim Schaub 94fb7ca5a6 Function for getting spherical area 2017-08-10 18:30:42 -06:00
Tim Schaub 92c62e5432 Function for getting great circle lengths 2017-08-10 18:05:21 -06:00
Tim Schaub 17b6088a79 Allow drag and drop interaction to be configured with a source 2017-08-10 07:10:13 -06:00
Tim Schaub 02cc7d643a Merge pull request #7093 from tschaub/modify-source
Allow modify interaction to be configured with a source
2017-08-09 13:55:33 -06:00
Tim Schaub 86eacefe19 Allow modify interaction to be configured with a source 2017-08-09 13:35:25 -06:00
Ilia Choly 25dca1ea3b Add missing zIndex options 2017-08-09 10:39:39 -04:00
Andreas Hocevar 617151c8ff Simplify the renderer function API 2017-08-05 00:15:58 +02:00
Andreas Hocevar 83c35758c8 Merge pull request #7070 from ahocevar/mvt-tilepixelratio
Get tilePixelRatio from MVT tiles
2017-08-03 08:46:56 +02:00
Andreas Hocevar d4d371a4c2 Remove the tilePixelRatio option from ol.source.VectorTile 2017-08-03 00:20:29 +02:00
Andreas Hocevar b3be7e7ba9 Get tilePixelRatio from MVT tiles 2017-08-02 20:11:14 +02:00
Andreas Hocevar d5fd215632 Fix ol.interaction.Extent event type and documentation 2017-07-30 23:32:16 +02:00
Andreas Hocevar 68f6b61217 Address review comments 2017-07-30 00:32:51 +02:00
Andreas Hocevar c6b942f185 Allow styles to configure a custom renderer
Two new examples show how custom renderers can be used to render text along
paths, and to declutter labels using 3rd party libraries.
2017-07-29 17:57:38 +02:00
ZachTRice 8db49fa981 Added tileClass to TileWMS 2017-07-04 10:20:02 -04:00
Peter Robins f97f370e5b Improve docs for getPointResolution functions 2017-06-09 08:07:35 +00:00
Andreas Hocevar 54a62ea78d Merge pull request #6834 from notnotse/move-tolerance-option
Move tolerance option
2017-05-30 09:10:09 +02:00
Andreas Hocevar 7ecb2c0185 Add layerName and layers options to ol.source.TopoJSON 2017-05-20 16:48:42 +02:00
itjope 56b3203fa9 Add moveTolerance option for ol.Map 2017-05-18 13:22:31 +02:00
Andreas Hocevar 567cc304ed Add tileJSON option to ol.source.TileJSON 2017-05-16 18:37:18 +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
Frederic Junod ff91974345 Add insertVertexCondition to ol.interaction.Modify options 2017-05-09 15:34:43 +02:00
Andreas Hocevar 785e7135a7 Decouple source and rendered tile grid of vector tile sources 2017-05-09 14:04:04 +02:00
Frederic Junod 403214f569 Add new callback function to view.FitOptions 2017-05-02 08:49:39 +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
Frédéric Junod 46fde0e439 Merge pull request #6727 from fredj/hitTolerance_doc
Add default value in doc for the hitTolerance option
2017-04-20 08:24:00 +02:00
Frederic Junod 0f032a1388 Add default value in doc for the hitTolerance option 2017-04-19 12:05:03 +02:00
Frederic Junod f7c71bdaac Add wrapX option to Stamen source 2017-04-18 13:31:30 +02:00
Tim Schaub d28f50465b Support for unique collections 2017-04-13 05:38:49 -06:00
Frédéric Junod 5b162ce2b9 Merge pull request #6689 from fredj/constrainResolution
Add new constrainResolution option to olx.interaction.DefaultsOptions
2017-04-11 13:53:33 +02:00
Andreas Hocevar 8a0e7439a7 Improve docs for MouseWheelZoom constrainResolution 2017-04-11 13:28:18 +02:00
Frederic Junod 15e6fa454d Add new constrainResolution option to olx.interaction.DefaultsOptions 2017-04-11 13:27:11 +02:00
Andreas Hocevar 55ace18509 Merge pull request #6682 from ahocevar/mouseweel-typedef
Add example, docs and typedef for MouseWheelZoom's constrainResolution option
2017-04-10 10:26:55 +02:00
Andreas Hocevar 9a230fcacf Improve documentation 2017-04-10 10:10:26 +02:00
Andreas Hocevar 3285c11e9c Add constrainResolution to MouseWheelZoomOptions 2017-04-10 09:23:54 +02:00
Frédéric Junod fc1a0c6c3d Merge pull request #6681 from fredj/constrainResolution_typedef
Add constrainResolution in olx.interaction.PinchZoomOptions typedef
2017-04-10 08:56:55 +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 639f40cb94 Add constrainResolution in olx.interaction.PinchZoomOptions typedef 2017-04-10 08:44:21 +02:00
Frederic Junod 5c6c555b62 Remove ol.DRAG_BOX_HYSTERESIS_PIXELS define and add option 2017-04-07 15:31:59 +02:00
Kai Culemann c1adde6a13 Add constraintResolution option to MouseWheelZoom for zoom with trackpad 2017-04-04 15:06:08 +02: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
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