Tim Schaub
9cccbd0712
Remove unused sphere.maximumLatitude() method
2015-08-23 11:51:00 -06:00
Tim Schaub
3852be0d7e
Remove unused sphere.initialBearing() method
2015-08-23 11:50:00 -06:00
Tim Schaub
daa4781072
Remove unused sphere.equirectangularDistance() method
2015-08-23 11:48:09 -06:00
Tim Schaub
8ec2bcef17
Remove unused sphere.finalBearing() method
2015-08-23 11:46:20 -06:00
Tim Schaub
c74277cae8
Remove unused sphere.cosineDistance() method
2015-08-23 11:43:26 -06:00
Tim Schaub
bc1328528a
Remove unused sphere.crossTrackDistance() method
2015-08-23 11:41:06 -06:00
Éric Lemoine
5865d5bc55
Merge pull request #4023 from elemoine/4003
...
Render map when layer.setMap(map) called
2015-08-20 15:31:07 +02:00
Éric Lemoine
b1973fcdf4
Render map when layer.setMap(map) called
2015-08-20 10:12:51 +02:00
Éric Lemoine
6260c4d744
Merge pull request #4011 from elemoine/update-segment-data
...
Make Modify interaction listen to feature changes
2015-08-20 09:24:00 +02:00
Andreas Hocevar
7505460d65
Merge pull request #4015 from weskamm/xyzgeturls
...
Add a getUrls Method to ol.source.XYZ
2015-08-19 16:22:57 +02:00
Frederic Junod
fdba4fc381
Add a test for ol.Map#getEventPixel
2015-08-19 13:50:14 +02:00
Andreas Hocevar
a8797ae1ff
Do not overwrite projections in the registry
2015-08-19 13:06:23 +02:00
Johannes Weskamm
a6c49dabcf
Add a getUrls Method to ol.source.XYZ
...
Added the getUrls method to get access to the url / urls property.
When using a tileUrlFunction, getUrls should return null.
This should fix issue #3886
2015-08-19 12:43:35 +02:00
Éric Lemoine
5f7e6ac61a
Make Modify interaction listen to feature changes
...
This commit makes the Modify interaction modify its segment data when the candidate features change.
2015-08-18 16:39:49 +02:00
Christopher S. Case
338d0570fd
Add a Translate interaction
...
This allows features to be moved around the map. It works much like the Modify interaction, however it's significantly simpler. It uses the geometry's underlying `translate` function.
2015-08-18 11:17:01 +02:00
Frederic Junod
0578e8f2f6
Handle JSONP errors in ol.source.TileJSON
...
Fixes #3938
2015-08-10 15:28:26 +02:00
Éric Lemoine
1921e009e6
Merge pull request #3900 from Jenselme/kmlformat
...
Do not add Style as a feature property
2015-08-07 13:00:11 +02:00
rattai
e49ce543a4
shorten long line
2015-08-04 20:00:59 -04:00
rattai
b3f14f09c4
Compute new image extent for comparison to existing image extent
2015-08-04 17:25:47 -04:00
Tim Schaub
571f3f30a4
Regression test for shared vertex deletion
2015-08-03 23:07:19 -06:00
Tim Schaub
54d3bbd625
Merge pull request #3214 from tschaub/raster
...
Pixel manipulation with raster sources.
2015-08-03 21:49:19 -06:00
Tim Schaub
405a8db075
Merge pull request #3946 from Turbo87/modify
...
Fix vertex deletion for Modify interaction on mobile devices.
2015-08-03 21:47:41 -06:00
Tim Schaub
860fdabd76
Simplify raster sources by working with a single operation
2015-08-03 20:10:46 -06:00
Frederic Junod
2143eebd30
Fix drawstart and drawend events when drawing a point
...
The previous behavior was to fire a `drawstart` on the first `mousemove`.
2015-08-03 13:40:56 +02:00
Frederic Junod
3364dbb46e
Remove count argument from called function
...
This function takes no arguments, use the `callCount` property instead.
2015-08-03 10:02:21 +02:00
Tobias Bieniek
7a34d22b37
interaction/modify: Add missing goog.require() to test
2015-08-01 22:09:32 +02:00
Tobias Bieniek
968c8aa34e
interaction/modify: Replace lastNewVertexPixel with ignoreNextSingleClick
...
The previous approach did not work on mobile devices where no `pointermove`
event is sent except from dragging.
Logic now is: Upon vertex creation due to `pointerdown` we will ignore
the next `singleclick` event unless there is a `pointerdrag` event, which will
not lead to a `singleclick` event following the vertex creation.
Resolves #3935
2015-08-01 22:00:41 +02:00
Tobias Bieniek
bf9156cbeb
interaction/modify: Adjust simulated events
...
This is exactly matching the event sent by Chrome now
2015-08-01 21:03:18 +02:00
Tobias Bieniek
bafd8548d1
interaction/modify: Add tests for deleteCondition option
2015-08-01 20:52:31 +02:00
Tobias Bieniek
22ca08179d
interaction/modify: Use expect().to.be() assertion
...
... instead of expect(a === b).to.be.ok()
2015-08-01 20:20:06 +02:00
Andreas Hocevar
95e43c852d
Fix WMTS TileMatrixSet lookup by SRS identifier
2015-07-30 19:48:28 +02:00
Frederic Junod
e6a38d8211
Use goog.functions.identity instead of goog.identityFunction
...
goog.identityFunction is deprecated
2015-07-28 09:44:51 +02:00
Tim Schaub
0c486c522a
Allow UI thread to be used
...
Where workers are not available, or if operations are trivial to run, the main UI thread can be used instead. This also adds tests that run in real browsers.
2015-07-21 17:12:08 -06:00
Andreas Hocevar
10b4aa1bab
Merge pull request #3906 from ahocevar/featurescollection-only
...
Clear features properly when there is no spatial index
2015-07-16 08:57:14 +02:00
Andreas Hocevar
8f7cbc5ed6
Clear features properly when there is no spatial index
...
Previously clear() only kept the features collection in sync whern there
was also a features RTree.
2015-07-15 15:15:41 +02:00
Julien Enselme
b66a114873
Add test to check that Style is not added a feature property
2015-07-13 17:05:08 +02:00
Tim Schaub
223d5ab60d
Merge pull request #3895 from planetlabs/greedy-multi-queue
...
Rework the tile queue for multiple queues.
2015-07-10 16:33:49 -06:00
Alessandro Isaacs
2142b538ac
Greedify the queue loading strategy
2015-07-10 15:06:41 -07:00
Alessandro Isaacs
5149889bd2
Improve the test
2015-07-10 15:06:41 -07:00
Tim Schaub
a705c6fe11
Test two queues sharing tiles
2015-07-08 15:12:31 -06:00
Andreas Hocevar
26e146b1d8
Ignore layer filter for unmanaged layers
...
To make unmanaged vector layers work like the removed ol.FeatureOverlay,
the layer filter for ol.Map#forEachFeatureAtPixel needs to ignore unmanaged
layers.
2015-07-07 22:24:57 +02:00
Andreas Hocevar
06908775e8
Merge pull request #3867 from ahocevar/no-proj-extent-required
...
Do not require projection extent for x-wrapping tile sources
2015-07-03 11:25:06 +02:00
Andreas Hocevar
da66a37182
Do not require projection extent for x-wrapping tile sources
2015-07-03 11:05:49 +02:00
Bart van den Eijnden
96eaf2de06
Merge pull request #3635 from bjornharrtell/modify-singleclick-vertex
...
Create vertex on boundary single click
2015-07-03 11:00:33 +02:00
Andreas Hocevar
86d9d691e4
Merge pull request #3806 from ahocevar/clip-wrapx
...
Do not clip canvas for vector layers when wrapping the world
2015-07-03 10:47:45 +02:00
Björn Harrtell
c69ba6a3dd
Create vertex on boundary single click
2015-07-03 10:26:38 +02:00
Bart van den Eijnden
7c207d47bb
Move upgrade notes to 3.7 and fix typos
2015-07-02 15:23:34 +02:00
vmalaret
4d3e903670
ol.View#fit -- fix docs and add assertions
2015-07-02 15:19:09 +02:00
vmalaret
e7cd691362
rotation support for ol.View#calculateExtent
2015-07-02 15:19:08 +02:00
vmalaret
74759142d9
Replace fitGeometry and fitExtent with fit
...
Fit accepts either a geometry or an extent.
This combines two previously distinct functions
into one more flexible call.
Also brings the rotations support and options
previously available to fitGeometry to extents
2015-07-02 15:19:08 +02:00