Commit Graph
100 Commits
Author SHA1 Message Date
Andreas Hocevar 4aa3ef59d5 Merge pull request #3783 from ahocevar/wmts-hidpi-from-capabilities
Fix broken wmts-hidpi example
2015-06-10 20:03:53 +02:00
Andreas Hocevar 7451e176ef Use capabilities to create layer source options 2015-06-10 18:32:21 +02:00
Andreas Hocevar 872d869ded Merge pull request #3782 from gberaudo/typo
Fix assert documentation typo
2015-06-10 15:47:35 +02:00
Andreas Hocevar fad3cf9672 Merge pull request #3758 from ahocevar/remove-featureoverlay
Removal of ol.FeatureOverlay
2015-06-10 14:33:28 +02:00
Andreas Hocevar 9acd65270a Make clear how to remove an unmanaged layer from a map 2015-06-09 15:44:39 +02:00
Andreas Hocevar 57e1dda5f1 Make sure that #clear() keeps the collection in sync 2015-06-09 15:44:39 +02:00
Andreas Hocevar 53d5d8c1d9 Get rid of ol.FeatureOverlay
This also introduces a wrapX option to the Draw, Modify and Select
interaction.
2015-06-09 15:44:31 +02:00
Andreas Hocevar 54da473991 Allow layers that are not managed by the map
When a layer is configured with a map, it will be added on top of other
layers, and not be managed in the map's features collection. The layerState
will have an 'unmanaged' flag for such layers. For vector layers, this flag
is used to not skip any features.
2015-06-09 15:44:29 +02:00
Andreas Hocevar f186ed3deb Alternatively manage features in an ol.Collection
ol.layer.Vector can now manage both an RTree and a Collection of features.
The new useSpatialIndex option allows to opt out of RTree management, and
the new ol.Collection type of the features option allows to opt in for
Collection management.
2015-06-09 15:44:18 +02:00
Andreas Hocevar b903cee7dd Merge pull request #3763 from probins/drawmod
Standardise draw/modify descriptions
2015-06-07 17:34:47 +02:00
Andreas Hocevar 2e406c9633 Merge pull request #3767 from openlayers/release-v3.6.0
Release v3.6.0
2015-06-07 14:18:09 +02:00
Andreas Hocevar 9f4112a8f9 Update package version to 3.6.0 2015-06-07 14:16:34 +02:00
Andreas Hocevar 30ddbad4fe Changelog for v3.6.0 2015-06-07 14:14:49 +02:00
Andreas Hocevar bad5a97d20 Merge pull request #3757 from bjornharrtell/selectevent-browser
Add mapBrowserEvent as a member of ol.SelectEvent
2015-06-04 18:56:55 +02:00
Andreas Hocevar 8f2cfe9420 Merge pull request #3747 from ahocevar/tilecoordtransform
Make tileCoordTransform a member again
2015-06-03 14:11:00 +02:00
Andreas Hocevar 5d9708be11 Add tests 2015-06-03 12:41:35 +02:00
Andreas Hocevar ea7879f616 Merge pull request #3751 from ahocevar/tilejson-test
Do not rely on remote services for tests
2015-06-01 11:23:52 +02:00
Andreas Hocevar 682c816b9b Do not rely on remote services for tests 2015-06-01 10:09:38 +02:00
Andreas Hocevar 5ae2521724 Make tileCoordTransform configurable
Instead of using the static createOriginTopLeftTileCoordTransform
function, the correct transform is now a non-API config option of the tile
grid.
2015-05-31 22:22:41 +02:00
Andreas Hocevar f5cd9a3eba Merge pull request #3738 from ahocevar/tileurlfunction-docs
Improve doucmentation for ol.TileUrlFunctionType
2015-05-28 22:48:19 +02:00
Andreas Hocevar 4196e34c73 Improve doucmentation for ol.TileUrlFunctionType 2015-05-28 18:52:35 +02:00
Andreas Hocevar 80efbb60d0 Merge pull request #3722 from ahocevar/tilejson-tilegrid
Use the correct TileCoord transform function
2015-05-22 11:08:07 +02:00
Andreas Hocevar 111e6db8c8 Add tests 2015-05-22 10:55:18 +02:00
Andreas Hocevar f40aa54c18 Use the correct TileCoord transform function 2015-05-22 09:19:59 +02:00
Andreas Hocevar 4be106d014 Merge pull request #3673 from ahocevar/draw-regular-polygon
More control over ol.interaction.Draw, to allow e.g. square drawing
2015-05-20 12:08:15 +02:00
Andreas Hocevar 100020fd59 Refactoring for more consistency
* Min and max number of points configurable for lines and polygons
* Polygons from custom geometryFunction now have a sketch line
* The example shows how to use a custom geometryFunction
2015-05-20 10:28:16 +02:00
Andreas Hocevar 19c91235ce Add convenience function to create a regular polygon geometryFunction 2015-05-14 23:24:29 +02:00
Andreas Hocevar 901a0f6d8e Add functions to create regular polygons 2015-05-14 23:24:29 +02:00
Andreas Hocevar 250221cded Add new geometryFunction option
This allows applications to control the geometry that is created from the
drawing sketch. Will e.g. be useful to create a regular polygon instead of
a circle when in Circle mode.
2015-05-14 23:24:29 +02:00
Andreas Hocevar 4e94908440 Define getCoordinates and setCoordinates in the base class
Since these methods are implemented by all subclasses, it makes sense to
define them in the base class as abstract method.
2015-05-14 23:24:29 +02:00
Andreas Hocevar 492a3c8f7a Merge pull request #3639 from ahocevar/tilegrid-extent
Add extent support to ol.tilegrid.TileGrid
2015-05-05 19:22:10 +02:00
Andreas Hocevar 32efd99397 Do not require projection extent for WMTS bbox validity check 2015-05-05 18:52:33 +02:00
Andreas Hocevar 0650a97371 Explain tilegrid and xyz source changes 2015-05-05 18:52:33 +02:00
Andreas Hocevar b05193fa45 Replace ol.tilegrid.XYZ with an ol.tilegrid.createXYZ function 2015-05-05 18:52:33 +02:00
Andreas Hocevar a116878a57 Allow extents to restrict tile ranges requested from the server
The addition of full extent tile ranges also allows us to simplify wrapX
handling for tile layers. By limiting wrapX to true and false as possible
values, we can remove a lot of guessing logic.
2015-05-05 18:52:33 +02:00
Andreas Hocevar 700903ca5c Add tests for ol.tilegrid.TileGrid
These tests are taken from ol.tilegrid.XYZ, to make sure that
ol.tilegrid.TileGrid works the same way. The additional tests show that the
#getTileCoordForXYAndResolution_() method do not handle coordinates at
tile boundaries properly, so this is fixed.
2015-05-05 18:52:32 +02:00
Andreas Hocevar 1d6530ce9c Merge pull request #3616 from ahocevar/freehand-drawing
Add support for freehand drawing to the Draw interaction
2015-04-27 11:27:10 +02:00
Andreas Hocevar ed7e5ddef7 Improve the draw-features example description 2015-04-27 11:10:16 +02:00
Andreas Hocevar ed424eded8 Add support for freehand drawing to the Draw interaction 2015-04-22 17:45:55 +02:00
Andreas Hocevar 90b736c62e Merge pull request #3571 from ahocevar/vector-wrapx
Add wrapX support for vector layers (canvas renderer only)
2015-04-22 09:21:02 +02:00
Andreas Hocevar 513677fecd Render map replay group on the correct world instead of wrapping it
By using the frameState's focus, we can adjust extent and transform and
render it for the world of interest instead of wrapping it and rendering
for every visible world.
2015-04-22 09:11:19 +02:00
Andreas Hocevar 23ed120361 Clarify when we make feature overlays wrap the x-axis 2015-04-21 09:56:03 +02:00
Andreas Hocevar 40feabc3c8 Do not require an extent for global projections 2015-04-21 09:11:06 +02:00
Andreas Hocevar 4f8dca92ba Ensure functions are always called with the same number of args 2015-04-21 08:21:31 +02:00
Andreas Hocevar 8fd4e2c7c5 Improve docs, comments and code readability 2015-04-19 08:52:37 +02:00
Andreas Hocevar 6a2aa833b4 Improve tests for ol.renderer.canvas.VectorLayer 2015-04-19 08:52:26 +02:00
Andreas Hocevar 9a58151caa Do not wrapX for editing 2015-04-18 19:10:54 +02:00
Andreas Hocevar d5e5628fe1 Add some tests 2015-04-18 19:10:54 +02:00
Andreas Hocevar b51aaa5055 Wrap the x-axis for the map's replay group 2015-04-18 19:10:53 +02:00
Andreas Hocevar 45cc660c48 Use x of the real world in forEachFeatureAtCoordinate 2015-04-18 19:10:53 +02:00
Andreas Hocevar a90a012e5d Replay vector batches for each world 2015-04-18 19:10:53 +02:00
Andreas Hocevar 14d546c300 Merge pull request #3572 from ahocevar/null-tilesize
Do not return a null tileSize
2015-04-16 17:30:02 +02:00
Andreas Hocevar 4cad17f839 Do not return a null tileSize 2015-04-16 15:32:35 +02:00
Andreas Hocevar ab9846ff24 Merge pull request #3559 from ahocevar/tile-width-height
Add support for non-square tiles
2015-04-16 09:26:27 +02:00
Andreas Hocevar 70452f4fa7 Add rendering tests 2015-04-16 09:15:34 +02:00
Andreas Hocevar f2e94daf54 Update proj4js version in example 2015-04-15 08:58:21 +02:00
Andreas Hocevar 509a661fda Reference ol.size.toSize() 2015-04-15 08:40:20 +02:00
Andreas Hocevar ddf5e48830 Make ol.size.toSize exportable and optimize it 2015-04-15 08:28:31 +02:00
Andreas Hocevar 9c415ac9da Use simple tile sizes for Bing maps by default 2015-04-15 08:12:17 +02:00
Andreas Hocevar 0d53edfa21 Get rid of ol.tilegrid.DEFAULT_TILE_SIZE 2015-04-14 23:16:29 +02:00
Andreas Hocevar 2b75341068 Add support for non-square tiles 2015-04-14 22:54:57 +02:00
Andreas Hocevar 927a1cb722 Merge pull request #3485 from malaretv/build-handle-sigint
build.py graceful interrupt
2015-04-04 10:53:32 +02:00
Andreas Hocevar d678e9e9a3 Merge pull request #3462 from ahocevar/gml-base-noapi
Remove ol.format.GMLBase from the API
2015-04-04 09:09:44 +02:00
Andreas Hocevar da9de6ef1b Merge pull request #3456 from klokan/newmenu
Updated menu on the JSDOC template (non-responsive)
2015-04-02 20:55:59 +02:00
Andreas Hocevar 3bd408ed4d Merge pull request #3475 from openlayers/template-examples
Template examples
2015-04-02 20:54:48 +02:00
Andreas Hocevar cd266f35ab Add verbatim template and throw error on invalid front-matter 2015-04-02 20:28:32 +02:00
Andreas Hocevar 2ef0e0db23 Templetize tileutfgrid example 2015-04-02 19:10:20 +02:00
Andreas Hocevar 2c2a0eaa78 Templetize examples starting with letter v 2015-04-02 19:10:18 +02:00
Andreas Hocevar de13706df9 Templetize examples starting with letter w 2015-04-02 19:10:17 +02:00
Andreas Hocevar bf1985d712 Fix doctype 2015-04-02 19:10:16 +02:00
Andreas Hocevar 78ce9de4af Better error reporting 2015-04-02 19:10:14 +02:00
Andreas Hocevar b698f1ede8 Templetize examples starting with letters x-z 2015-04-02 19:10:14 +02:00
Andreas Hocevar 95c127d235 More documentation improvements 2015-04-02 19:10:13 +02:00
Andreas Hocevar 4cce0f4936 Move documentation to the right place 2015-04-02 19:10:13 +02:00
Andreas Hocevar 6cc806f164 Add documentation for build-examples.js 2015-04-02 19:10:12 +02:00
Andreas Hocevar bc617e8135 Add support for additonal js and css resources 2015-04-02 19:10:12 +02:00
Andreas Hocevar 0077626c93 Only create style block if there is css for the example 2015-04-02 19:10:11 +02:00
Andreas Hocevar 8d87bd30f0 Fix typo in template 2015-04-02 19:10:10 +02:00
Andreas Hocevar 821f31fa18 Use template for custom-controls.html example 2015-04-02 19:10:09 +02:00
Andreas Hocevar e40ab58d10 Use template for simple.html example 2015-04-02 19:10:09 +02:00
Andreas Hocevar ff1ee78ddd Build and parse examples from examples_src/ 2015-04-02 19:10:09 +02:00
Andreas Hocevar 2e9869057e Hide shortdesc in examples 2015-04-02 19:10:03 +02:00
Andreas Hocevar 1d940898b5 Add Task and template for building examples 2015-04-02 19:10:02 +02:00
Andreas Hocevar 84b6114f02 Remove ol.format.GMLBase from the API
There is no need to have this exportable; the api annotation was probably
a leftover from the GML -> GMLBase renaming.
2015-04-02 10:52:58 +02:00
Andreas Hocevar 62ce9b44c8 Merge pull request #3440 from ahocevar/gentle-introduction-to-projections
Add fromLonLat and toLonLat convenience functions
2015-03-31 20:46:51 +02:00
Andreas Hocevar 5579dc53a2 Add fromLonLat and toLonLat convenience functions 2015-03-31 19:27:35 +02:00
Andreas Hocevar 5a7cce86a5 Merge pull request #3436 from ahocevar/contributing-readme
Mention readme.md files as help for contributors
2015-03-31 16:36:09 +02:00
Andreas Hocevar c5b5a9a311 Mention readme.md files as help for contributors 2015-03-31 16:04:35 +02:00
Andreas Hocevar 9add762f63 Merge pull request #3417 from fperucic/ol.interaction.Snap-extentFix
ol.interaction.Snap extent fix
2015-03-30 16:08:57 +02:00
Andreas Hocevar 360c34dfbe Merge pull request #3411 from fperucic/ol.interaction.Snap-fix
Listen for a 'change:geometry' event
2015-03-30 10:42:36 +02:00
Andreas Hocevar 254039a6ab Merge pull request #3109 from fperucic/snap-feature
Snap feature
2015-03-27 14:45:57 +01:00
Andreas Hocevar 056c3ad23e Add consistency for pointer event handlers
Now all are private static functions.
2015-03-27 08:58:28 -04:00
Andreas Hocevar 34851d8ecb Merge pull request #3362 from ahocevar/constructor-proj4js
Configure proj4 options and transforms upon construction
2015-03-26 11:21:52 +01:00
Andreas Hocevar 362c9b6851 Clarification of the purpose of ol.proj.addProjection 2015-03-26 10:52:19 +01:00
Andreas Hocevar a920cd94d9 Create ol.proj.Projection instances with additional properties 2015-03-26 10:50:52 +01:00
Andreas Hocevar 338901774b Configure proj4 options and transforms upon construction 2015-03-26 10:39:26 +01:00
Andreas Hocevar 7d20e2a317 Merge pull request #3399 from ahocevar/tilegrid-widths-docs
Clarify when widths need to be configured on a tile grid
2015-03-25 17:18:27 +01:00
Andreas Hocevar 0d507dcbb0 Clarify when widths need to be configured on a tile grid 2015-03-25 16:52:45 +01:00
Andreas Hocevar c600a92516 Merge pull request #3398 from ahocevar/safe-wrapx
Make sure that the return value of wrapX() is stable
2015-03-25 16:21:53 +01:00
Andreas Hocevar 1df8cba753 Make sure that the return value of wrapX() is stable 2015-03-25 15:59:59 +01:00