Tim Schaub
23e2fcefef
Only render if sources are ready
2015-07-21 17:12:06 -06:00
Tim Schaub
d17d470d48
Fire change when updating operations
2015-07-21 17:12:06 -06:00
Tim Schaub
c6dedbc40b
Use the first pixel for rendering, allow setting operations
2015-07-21 17:12:06 -06:00
Tim Schaub
de107c5502
Frame and canvas have equal size
2015-07-21 17:12:06 -06:00
Tim Schaub
2c82ca86f0
Fire events before and after running ops
2015-07-21 17:12:06 -06:00
Tim Schaub
acc97a53eb
Raster source for composing pixels from other sources
2015-07-21 17:12:05 -06:00
Andreas Hocevar
3595c2cce7
Document change events properly
...
With this change, the generic 'change' event is properly documented, as
all other events. It is no longer necessary to annotate `@fires change` for
every ol.Observable subclass.
2015-07-18 15:27:16 +02: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
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
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
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
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
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