Commit Graph

790 Commits

Author SHA1 Message Date
Andreas Hocevar b3be7e7ba9 Get tilePixelRatio from MVT tiles 2017-08-02 20:11:14 +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
Andreas Hocevar 518d433d64 Fix RegularShape documentation 2017-03-18 12:16:26 +01:00
Ilia Choly 2dc656c098 Add ol.RenderOrderFunction typedef 2017-03-09 13:02:39 -05:00
Frederic Junod 7c45a0dc4f Fix olx.style.IconOptions.prototype.src type
The `olx.style.IconOptions` `@typedef` was already correct.
2017-02-20 12:19:58 +01:00
Andreas Hocevar da4ddccad9 Allow Zoomify url without TileGroup, z, x and y placeholder 2017-02-10 12:01:56 +01:00
Frederic Junod a4a8d01bac Use an url template for ol.source.Zoomify 2017-02-09 17:06:23 +01:00
Tim Schaub f5aea97d3b All @api annotations imply stability 2017-02-06 09:22:05 -07:00
Frederic Junod 3e4afa6ddf Update closure-util to v1.16.0 2017-01-30 17:16:01 +01:00
Thomas Chandelle 1965bff8b7 Add newline to move the default value below the list 2017-01-24 16:10:38 +01:00
Andreas Hocevar 2e89ca3aa3 Add projection option to ol.source.Zoomify 2017-01-20 16:23:59 +01:00
Frederic Junod 87b137ab7c Fix GeoJSONCRSCode definition
The `code` property is on `GeoJSONCRSCode` not `GeoJSONCRSName`.

http://geojson.org/geojson-spec.html#named-crs
2017-01-11 13:42:33 +01:00
Frédéric Junod 1692a19c3b Merge pull request #6300 from fredj/hidpi_ImageArcGISRest
Add missing hidpi option for ol.source.ImageArcGISRest
2017-01-09 08:28:50 +01:00
Thomas Chandelle 7a4ae3a6ac Line Dash offset 2017-01-04 11:19:47 +01:00
Andreas Hocevar 7424ee91e3 Remove the '3' from OpenLayers 2017-01-02 23:03:03 +01:00