Alexandre Dubé
5bffa99e83
Trivial - reorder methods & comment
2015-03-26 14:48:44 -04:00
Alexandre Dubé
49a3f0a0b7
Update geometry index inside Snap interaction
2015-03-26 12:24:54 -04:00
Tim Schaub
6e878468ae
Merge pull request #3401 from tschaub/geojson-orientation
...
Allow GeoJSON to be serialized according to the right-hand rule.
2015-03-26 08:44:57 -06:00
Alexandre Dubé
d1c3dc51ad
Fix Drag interaction, works with modify now
2015-03-26 08:36:24 -04:00
Frederic Junod
c0c3057498
Remove unused goog.require
2015-03-26 11:54:37 +01:00
Andreas Hocevar
362c9b6851
Clarification of the purpose of ol.proj.addProjection
2015-03-26 10:52:19 +01:00
Andreas Hocevar
338901774b
Configure proj4 options and transforms upon construction
2015-03-26 10:39:26 +01:00
Tim Schaub
be0c9f3c8a
Allow orienting coordinates when serializing GeoJSON
2015-03-25 18:32:31 -06:00
Tim Schaub
5d590bcf95
Allow access to right-hand oriented multi-polygon coordinates
2015-03-25 16:57:29 -06:00
Tim Schaub
7572f27cf9
Allow access to right-hand oriented polygon coordinates
2015-03-25 16:57:29 -06:00
Tim Schaub
ce36947bdb
Allow orienting with the right-hand rule
2015-03-25 16:57:25 -06:00
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
1df8cba753
Make sure that the return value of wrapX() is stable
2015-03-25 15:59:59 +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
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
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
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
3e18b85206
Add ol.source.Tile support for wrapping around the x-axis
2015-03-22 14:27:19 +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
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
Bart van den Eijnden
4569858882
Add image loading events to image sources
2015-03-17 12:56:39 +01:00
Jiri Matyas
ab9100450b
enable deep clone of multipolygon endss
2015-03-17 11:09:03 +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
Frédéric Junod
d3f246518b
Merge pull request #3354 from fredj/geojson-write-options
...
Mark ol.format.GeoJSON#writeFeature(s) option param optional
2015-03-16 11:31:59 +01:00
Frederic Junod
b9aba8babd
Add optional this param to the callback function
2015-03-16 11:25:51 +01:00
Frederic Junod
4b13627fd7
Add new ol.geom.LineString#forEachSegment function
2015-03-16 10:43:33 +01:00
Frederic Junod
3a7d1ebd16
Mark ol.format.GeoJSON#writeGeometry option param optional
2015-03-16 09:25:50 +01:00
Frederic Junod
180a75d714
Mark ol.format.GeoJSON#writeFeature option param optional
2015-03-16 09:20:57 +01:00
Frederic Junod
0997a171a0
Mark ol.format.GeoJSON#writeFeatures option param optional
2015-03-16 09:18:52 +01:00
Frederic Junod
96883e0b69
Set the 'properties' member to null if the feature has not properties
2015-03-12 15:58:16 +01:00
Éric Lemoine
80fa7e5ba1
Merge pull request #3237 from Morgul/ccase-circle-drawing
...
Add circles to Draw interaction.
2015-03-11 17:08:10 +01:00
Christopher S. Case
1fb932f7bb
Removed lurking console.log
2015-03-11 10:09:58 -05:00