Tim Schaub
5f6ceff3a7
Use ol.geom.flat.orient namespace
2015-03-25 16:33:17 -06:00
Alexandre Dubé
d92917ac89
Fix Snap -> Interaction
...
This commit changes ol.Snap -> ol.interaction.Snap, which extends
ol.interaction.Pointer. The 'pointerdown', 'pointermove' and
'pointerup' map browser events are hanlded to edit the pixel and
coordinate properties to make them 'snap' to the closest feature.
2015-03-25 15:10:41 -04: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
Frédéric Junod
bb87b8e7ce
Merge pull request #3396 from fredj/sort-compareFn
...
Move the compare function out of ol.interaction.Modify.handleDownEvent_
2015-03-25 14:57:50 +01:00
Frederic Junod
6a770f03b8
Move the compare function out of ol.interaction.Modify.handleDownEvent_
2015-03-25 14:41:40 +01:00
Andreas Hocevar
683097d62a
Merge pull request #3395 from fperucic/inteaction.modify-fix
...
ol.Interaction.Modify fixes
2015-03-25 14:16:37 +01:00
Andreas Hocevar
e58a470e69
Merge pull request #3387 from ahocevar/wmts-wrapx
...
Add wrapX option for ol.source.WMTS
2015-03-25 14:01:04 +01:00
Fran Peručić
56067d1cda
Prevent unnecessary function calls
...
handlePointerMove_ doesn't need to be called when dragging.
handleDragEvent_ takes care of the event in that case.
in handleDragEvent_, createOrUpdateVertexFeature_ doesn't need to be called for each dragged segment. it can be called only once with current vertex.
fixes made to pass the build
2015-03-25 11:19:24 +01:00
Frederic Junod
40f4d5256b
Fix fullscreen pseudo CSS class name
...
Change from `:full-screen` to `:fullscreen`.
See https://fullscreen.spec.whatwg.org/#:fullscreen-pseudo-class
2015-03-25 11:14:52 +01:00
Fran Peručić
279d1829bb
fix: ol.interaction.Select conflict
...
Prevent vertexFeature_ from ol.interaction.Modify from being selected by ol.interaction.Select.
The bug occurs when an delete attempt fails. ex: clicikng on the first or last node of LineString,
or clicking a line segment between two nodes.
2015-03-25 10:52:29 +01:00
Fran Peručić
eb6d61e6d1
fix: modifying the closed LineString
...
This commit fixes the bug that occurs when trying to modify
a closed LineString by clicking on the starting/ending node.
Such a closed line is added to the modify-test example.
2015-03-25 10:44:35 +01:00
Fran Peručić
7dff739bce
Deleting a duplicate node
...
Fix a bug in ol.interaction.Modify when trying to delete nodes
on a geometry that has duplicate nodes. A bug occurs when
clicking on the duplicate node.
2015-03-25 10:34:36 +01:00
Frédéric Junod
8beeee8a95
Merge pull request #3393 from fredj/cleanup
...
Remove unused define
2015-03-25 08:54:27 +01:00
Andreas Hocevar
ebb40c8046
Clean up docs and consistently work with resolutions
2015-03-24 19:03:33 +01:00
Andreas Hocevar
4822ca273f
Give tile grids a width
2015-03-24 19:03:09 +01:00
Tobias Sauerwein
563d51b389
Merge pull request #3392 from tsauerwein/fullscreen-class
...
Fix switching class name of full-screen control
2015-03-24 18:26:20 +01:00
Andreas Hocevar
57d9b87fb3
Add wrapX option for ol.source.WMTS
2015-03-24 17:13:07 +01:00
Frederic Junod
4c36e05f27
Remove unused define
...
Should have been removed in #40
2015-03-24 17:10:27 +01:00
tsauerwein
eb7dde6d0f
Fix class name of full-screen control
2015-03-24 17:07:55 +01:00
Frédéric Junod
1d04eabeda
Merge pull request #3391 from fredj/cleanup
...
Minor code cleanup
2015-03-24 14:57:51 +01:00
Frédéric Junod
5c6c45fc92
Merge pull request #3388 from fredj/polyline-layout
...
Add new geometry layout option for polyline format
2015-03-24 14:44:06 +01:00
Frederic Junod
b7c4e4f297
Remove console.debug from selectinteraction tests
2015-03-24 14:42:30 +01:00
Frederic Junod
6a8b236d82
Remove unnecessary newlines
2015-03-24 14:41:40 +01:00
Frederic Junod
e669b20ed5
Add new geometry layout option for polyline format
...
To be able to choose the geometry layout of the feature geometries created by
the format reader.
Default is `ol.geom.GeometryLayout.XY`
2015-03-24 11:39:18 +01:00
Éric Lemoine
ae2c9144e1
Merge pull request #3385 from elemoine/getzforresolution
...
Fix ol.tilegrid.TileGrid#getZForResolution
2015-03-23 18:31:42 +01:00
Andreas Hocevar
45e9695239
Merge pull request #3377 from ahocevar/attribution-wrapx
...
Support wrapX for attributions
2015-03-23 18:05:13 +01:00
Éric Lemoine
79748c6f0c
Fix ol.tilegrid.TileGrid#getZForResolution
...
This fixes a bug in ol.tilegrid.TileGrid#getZForResolution where this function doesn't take minZoom and maxZoom into account when selecting a zoom level for a resolution.
Fixes #2780 .
2015-03-23 18:04:13 +01:00
Andreas Hocevar
d9c04cd925
Support wrapX for attributions
2015-03-23 16:55:50 +01:00
Andreas Hocevar
7df00242f0
Merge pull request #3382 from ahocevar/github-source-links
...
Create github source links
2015-03-23 16:47:47 +01:00
Andreas Hocevar
4862a8c897
Create github source links
2015-03-23 16:08:36 +01:00
Andreas Hocevar
8813eb0112
Merge pull request #3376 from ahocevar/wms-tile-wrapx
...
Add ol.source.Tile support for wrapping around the x-axis
2015-03-23 14:37:12 +01:00
Andreas Hocevar
b75f7f9e3b
Merge pull request #3378 from ahocevar/questions
...
Clarify where to ask questions
2015-03-23 14:24:14 +01:00
Andreas Hocevar
9b4cb96502
Clarify where to ask questions
2015-03-23 14:14:34 +01:00
Frédéric Junod
c71db17c1d
Merge pull request #3380 from fredj/more-geojson-tests
...
Test the GeoJSON layout
2015-03-23 13:29:13 +01:00
Frederic Junod
bfd9ec1ef1
Test the GeoJSON layout
2015-03-23 12:47:34 +01:00
Andreas Hocevar
3e18b85206
Add ol.source.Tile support for wrapping around the x-axis
2015-03-22 14:27:19 +01:00
Frédéric Junod
c707c5e9db
Merge pull request #3360 from fredj/dispose-imagetile
...
Don't unlisten image twice when disposing an ol.ImageTile
2015-03-18 11:46:09 +01:00
Frederic Junod
f474e7ccd9
Don't unlisten image twice when disposing an ol.ImageTile
...
Fixes #3325
2015-03-18 10:33:41 +01:00
Andreas Hocevar
752cf78e50
Merge pull request #3361 from ahocevar/test-listen-localhost
...
Listen on localhost to avoid phantomjs browsing 0.0.0.0
2015-03-18 09:54:08 +01:00
Andreas Hocevar
52ee1b1630
Merge pull request #3365 from ahocevar/pointresolution-docs
...
Better docs for #getPointResolution
2015-03-18 09:53:29 +01:00
Andreas Hocevar
d8f624bf44
Better docs for #getPointResolution
2015-03-18 09:26:02 +01:00
Andreas Hocevar
7916f36f7a
Merge pull request #3363 from bill-chadwick/master
...
New ol.proj features
2015-03-18 00:22:34 +01:00
bill-chadwick
3efea3ddfc
Update to ol.proj
...
Add support for custom getPointResolution
and setting the 'global' boolean
2015-03-17 23:08:11 +00:00
Andreas Hocevar
9462c2148d
Listen on localhost to avoid phantomjs browsing 0.0.0.0
2015-03-17 14:39:00 +01:00
Bart van den Eijnden
8061b69495
Merge pull request #3305 from bartvde/image-load-events
...
Add image loading events to image sources (r=@ahocevar,@elemoine)
2015-03-17 13:07:37 +01:00
Bart van den Eijnden
4569858882
Add image loading events to image sources
2015-03-17 12:56:39 +01:00
Frédéric Junod
3a7b9751d7
Merge pull request #3343 from fredj/line-arrows
...
Line arrows example
2015-03-16 14:30:08 +01:00