Andreas Hocevar
7094f65ef7
Merge pull request #3896 from ahocevar/webgl-precompose
...
Fire WebGL precompose event in same sequence as other renderers
2015-07-12 10:05:45 +02:00
Andreas Hocevar
ac8e62818f
Fire WebGL precompose event in same sequence as other renderers
...
In other map renderers, the precompose event is fired before preparing and
composing layer frames. In WebGL, it is fired in between. This change makes
it so the sequence of events is the same for all renderers.
Because the WebGL renderer creates the list of layers to render before the
precompose event, unmanaged layers are never rendered. This is also fixed
by dispatching the precompose event earlier.
2015-07-11 14:58:31 +02:00
Tim Schaub
c89fb3ccfe
Merge pull request #3359 from Kenny806/deep_clone
...
Enable deep clone of MultiPolygon.
2015-07-10 23:11:25 -06: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
b57cdb730c
Only load tiles that are not yet loaded
2015-07-10 15:06:35 -07:00
Tim Schaub
cd6ac857b9
Merge pull request #3824 from probins/select
...
Improve docs for interaction.Select.
2015-07-09 16:54:05 -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
geonux
64ab764827
Renaming the method description according to 'probins' proposal.
2015-07-06 15:07:56 +02:00
geonux
314b04df7a
Add assertions to pass the validation step.
2015-07-06 13:49:42 +02:00
geonux
29b1f0d55d
Add the capability to remove(undo) the last drawed segments.
2015-07-06 12:11:34 +02:00
Bart van den Eijnden
a62bbd6650
Merge pull request #3859 from llambanna/patch-2
...
Add in crossOrigin option
2015-07-06 11:58:39 +02:00
Anna Lambrechtsen
1d3f8b5d7d
Add in crossOrigin option
2015-07-06 14:07:40 +12:00
Peter Robins
c53aa7e8d5
Correct minor typo in modifyinteraction
2015-07-05 10:57:59 +01:00
Peter Robins
4f703efd23
Correct event notations in ol.Feature
2015-07-04 11:43:06 +01: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
Björn Harrtell
f81e36d8e0
Add mapBrowserPointerEvent property to ModifyEvent
2015-07-03 10:11:24 +02:00
Björn Harrtell
f7d62f054c
High level Modify interaction events
2015-07-03 10:11:24 +02:00
Ryan Curry
9a44895d41
Update graticule.js - fixed style / missing line
...
My comment on line 375 was too long, so I broke it up into multiple lines. Also I accidentally left a line out of the commit (line 384) when transcribing my changes into the web based editor.
2015-07-02 12:35:38 -07:00
Ryan Curry
56e871f8b5
Update graticule.js - fixed typo/build error
...
Corrected reference to variable frameState - it was misspelled by the previous commit.
2015-07-02 12:23:05 -07:00
Ryan Curry
de6ecb22a8
graticule.js - Fixed build. No functional change.
...
viewContext.extent_ is private, so we can't use it directly. Instead, re-calculate the corrected wrapped extent.
2015-07-02 12:20:05 -07:00
Bart van den Eijnden
c0b6eefd8f
Merge pull request #3865 from bartvde/fit
...
ol.View#fit()
2015-07-02 16:58:33 +02:00
Andreas Hocevar
a09fa923a5
Merge pull request #3864 from klokantech/xyz-canwrapx
...
Check projection.canWrapX() before wrapping tiles
2015-07-02 17:04:11 +03:00
Bart van den Eijnden
7c207d47bb
Move upgrade notes to 3.7 and fix typos
2015-07-02 15:23:34 +02:00
Petr Sloup
eac5d652cf
Check projection.canWrapX() before wrapping tiles
...
Even if wrapX is true on the source
2015-07-02 15:21: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
Nick Hamblet
cfafe90235
Handle CDATA in attribute parsing for GML format
...
Following [3827](https://github.com/openlayers/ol3/issues/3827 ),
handle CDATA XML nodes in attribute parsing of GML data. Currently
such data will be expected to be a geometry, and will fail to parse.
Treating the CDATA node as text is the easiest way to handle such
an attribute.
2015-07-01 16:32:17 -04:00
Ryan Curry
7b4a954c40
graticule.js now uses vectorContext.extent_
...
When creating the graticule use the extent from the vectorContext instead of the frameState to determine what parallels and meridians should be created. This will allow the graticule to be drawn correctly on views that wrap across the dateline.
2015-06-30 11:09:20 -07:00
Stephan Bösch-Plepelits
ce20380078
ol.source.TileVector(): bind success function of tileLoadFunction to source
...
- fixes #3851
2015-06-29 21:01:08 +02:00
Frédéric Junod
ced3633d80
Merge pull request #3845 from fredj/collection_null_array
...
Prevent null array to be passed to an ol.Collection
2015-06-25 09:25:37 +02:00
Frederic Junod
8cf57941ac
Prevent null array to be passed to ol.Collection
2015-06-25 09:11:38 +02:00
Frederic Junod
dd132c9fad
Add non-nullable notation to features array
2015-06-25 09:11:38 +02:00
Pierre GIRAUD
1cdfc709ae
Pad min. and sec. with leading zeros in DMS notation
...
FIxes 3776
2015-06-25 08:40:43 +02:00
Björn Harrtell
ceafa88dc8
Enable use of custom XHR loader for TileVector sources
2015-06-23 14:07:19 +02:00
Bart van den Eijnden
9a0c0e2f2b
Make sure we don't generate any floating point DPI values for ol.source.TileArcGISRest
2015-06-22 12:01:14 +02:00
Éric Lemoine
ae1221d811
Do not add Style as a feature property
...
This makes the KML format not add a Style property on features, as this may cause problems when serializing to another format such as JSON.
2015-06-22 10:11:46 +02:00
peterko
e532727713
incorrect assert message
2015-06-20 11:09:36 +02:00
Petr Sloup
5993b45c63
Allow custom tileGrid in ol.source.XYZ
2015-06-19 19:58:06 +02:00
Andreas Hocevar
5c5364bbb7
Merge pull request #3815 from ahocevar/tilegrid-no-surprises
...
Simplify tilegrid API and internals
2015-06-19 19:05:19 +02:00
Andreas Hocevar
e6f5c2a008
Cleanup and example updates
2015-06-19 18:34:19 +02:00
Andreas Hocevar
31cfa0d952
Make tile range calculation work with arbitrary origins
2015-06-19 18:34:19 +02:00
Andreas Hocevar
a753d282cc
Use top-left corner of extent for all generated tile grids
2015-06-19 18:34:18 +02:00
Andreas Hocevar
e3a8dc89de
Fix calculation of tile coord from coordinate
...
Tile coord calculation was wrong in the case of reverseIntersectionPolicy
for y coords, and for extents with +/- Infinity.
2015-06-19 18:34:18 +02:00
Andreas Hocevar
18aa9b5091
Remove unused createFromQuadKey function
2015-06-19 18:34:18 +02:00