Frederic Junod
bce9e9d0de
Fix typecast
...
Fix JSC_MISPLACED_TYPE_ANNOTATION warnings with the plovr 2013 release
candidate (http://plovr.com/plovr-2013-rc.jar )
2013-03-14 15:59:21 +01:00
Bruno Binet
9b1c389c80
Remove unused goog.require directives
2013-03-14 11:39:43 +01:00
ahocevar
84154d7bb2
Merge branch 'master' of github.com:openlayers/ol3 into vector
2013-03-12 13:27:41 +01:00
Tom Payne
f75d3abf7d
Merge pull request #297 from twpayne/fix-297
...
Canvas map is not immediately updated when layers are added or removed
2013-03-12 05:26:25 -07:00
Tom Payne
427c376fc6
Always render map when layers are added or removed
2013-03-12 12:57:22 +01:00
Marc Jansen
06f8d1356d
Merge pull request #352 from marcjansen/unselectable-css-const
...
Use constant for CSS class 'ol-unselectable'.
2013-03-12 03:30:38 -07:00
Marc Jansen
5e5e4d110a
Use constant for CSS class 'ol-unselectable'.
2013-03-12 10:34:49 +01:00
ahocevar
acd4f50f15
Making the linter happy
2013-03-12 10:23:38 +01:00
ahocevar
eeecd424bf
Moving vector rendering to ol.renderer.canvas.VectorRenderer
2013-03-12 10:05:47 +01:00
ahocevar
fad036aa53
Merge branch 'master' of github.com:openlayers/ol3 into vector
...
Conflicts:
src/objectliterals.exports
2013-03-12 08:39:16 +01:00
Tom Payne
8b5194da38
Merge pull request #338 from twpayne/snap-center-to-pixel2
...
Snap center to pixel
2013-03-11 08:41:28 -07:00
ahocevar
a66f26f839
Merge branch 'master' of github.com:openlayers/ol3 into vector
2013-03-11 15:21:01 +01:00
Tom Payne
58f1c929ac
Merge pull request #324 from twpayne/fix-canvas-renderer-clear
...
Canvas renderer is not properly cleared
2013-03-11 05:08:54 -07:00
Tom Payne
505c607ccb
Use snapCenterToPixel in DOM renderer
2013-03-10 16:14:15 +01:00
Tom Payne
bceb27f4bb
Use snapCenterToPixel in WebGL renderer
2013-03-10 16:14:15 +01:00
Tom Payne
c01068642b
Use snapCenterToPixel in Canvas renderer
2013-03-10 16:14:01 +01:00
Tom Payne
06463471e1
Add ol.renderer.Layer.snapCenterToPixel
2013-03-10 15:51:08 +01:00
Tom Payne
3910ec0dbb
Fix typo in WebGL map renderer
2013-03-09 21:50:10 +01:00
Tom Payne
b729f969a7
Add EMPTY tile state instead of using null for empty tiles
2013-03-08 14:41:14 +01:00
Tim Schaub
4422e3e73b
Merge branch 'master' of github.com:openlayers/ol3 into vector
2013-03-07 23:10:06 -07:00
Tim Schaub
faee18bae1
Use fillColor and strokeColor instead of fillStyle and strokeStyle
...
The color names are more intuitive. And if we want to support pattern strokes or fills, we'll need additional proerties to represent other pattern properties.
2013-03-07 22:51:14 -07:00
Tim Schaub
f93bf2ad77
Avoid filling/stroking parts of multi-polygons twice
2013-03-07 21:39:34 -07:00
Tim Schaub
db4e62477d
Nicer caps and joins
...
As mentioned in the TODOs, caps and joins should be user configurable on the symbolizers.
2013-03-07 10:37:48 -07:00
ahocevar
5af71a488a
No need to continue rendering when we need to defer
2013-03-07 18:13:22 +01:00
ahocevar
f4a16e7f57
Collect features before rendering to the sketch canvas
...
This avoids features being rendered multiple times when they
cross tile borders. Currently this makes the style-rules.html
example extremely slow. Fix for that to come in my next commit.
2013-03-07 16:57:22 +01:00
ahocevar
f0039ee460
Additional index dimension for RTree; use RTree again
...
The RTree can easily maintain an additional index dimension,
by passing a type with each added item. Now instead of
maintaining an RTree for each geometry type, we have a single
RTree with a type filter. With this change, using the RTree
finally speeds up rendering as expected.
2013-03-07 14:36:09 +01:00
Éric Lemoine
d81d9d7411
Merge pull request #309 from elemoine/attributions
...
Fix js error when image source has no attributions
2013-03-07 04:28:22 -08:00
Éric Lemoine
251e9a09fa
Fix js error when image source has no attributions
2013-03-07 12:41:15 +01:00
Éric Lemoine
f55423d575
Register change listeners for loading tiles only
...
With this commit we register a change listener at a time when we are guaranteed that the listener will be called. In this was we don't need to remove listeners when the tile is dropped from the tile queue. And to avoid busy-polling between IDLE and LOADING we rely on the map to call requestRenderFrame when new tiles change to LOADING from IDLE.
2013-03-07 11:03:20 +01:00
Tim Schaub
84527c4b56
Disable bbox filtering for now
...
The RTree doesn't appear to be performing properly
2013-03-06 19:07:26 -07:00
Tim Schaub
2e4dc430e9
Render multi-part geometries
...
As noted in the comment, filtering/rendering once per geometry type will be replaced by rendering once per symbolizer type.
2013-03-06 19:06:41 -07:00
Tim Schaub
00fa7ff3a9
Listen for layer changes and expire tiles
...
We need a more flexible event system. We could have a VectorLayerEvent type and dispatch 'featuresadded' here. But listeners want features typically and perhaps extent. This won't be true for all vector layer events (suggesting a more specific VectorFeatureEvent type or something).
2013-03-06 19:05:35 -07:00
Tim Schaub
7c4c3c547c
Draw multi-part geometries
...
Polygons still need holes.
2013-03-06 19:01:16 -07:00
ahocevar
100c8a1cf4
Adding gutter when requesting features for a tile
...
By doing so, we avoid features being cut off when the symbolizer
causes it to be rendered across tile borders.
2013-03-06 21:06:21 +01:00
ahocevar
345bb55f98
Respect width and height from symbolizer
2013-03-06 12:29:20 +01:00
ahocevar
6ee754abb6
Merge branch 'master' of github.com:openlayers/ol3 into vector
2013-03-06 11:20:40 +01:00
Tim Schaub
060edb2070
Merge branch 'vector' of github.com:openlayers/ol3 into vector
...
Conflicts:
src/ol/style/shape.js
2013-03-06 02:28:33 +01:00
Tim Schaub
ac10bb6ca5
Enforce that either stroke or fill is provided
2013-03-06 02:20:11 +01:00
ahocevar
ab19d255c7
Rendering icons from external graphic urls
2013-03-06 01:57:08 +01:00
Éric Lemoine
59271ae2d8
Fix typo (thanks @bbinet)
2013-03-05 18:35:21 +01:00
Tim Schaub
9a0e7a96fe
Moving the feature management to the layer
...
The source will be responsible for fetching vector data.
2013-03-05 18:25:07 +01:00
Éric Lemoine
4e758f87ae
Do not register multiple listeners on same tile
2013-03-05 17:01:34 +01:00
Tim Schaub
12bee3178e
Moving the feature management to the layer
...
The source will be responsible for fetching vector data.
2013-03-05 12:46:55 +01:00
Tim Schaub
54d8d45fc9
Merge branch 'master' of github.com:openlayers/ol3 into vector
2013-03-05 10:58:27 +01:00
ahocevar
66b790294d
Merge branch 'master' of github.com:openlayers/ol3 into wms-improvements
...
Conflicts:
src/ol/source/tiledwmssource.js
test/spec/ol/tileurlfunction.test.js
2013-03-05 00:55:52 +01:00
ahocevar
586f393492
Support tile sources without configured projection
...
This change adds a lot of flexibility to working with tile
layers: Sources where the server projection or tile grid do not
matter can now be constructed without specifying a projection or
tile grid.
The tileUrlFunction/imageUrlFunction now also creates updated
URLs when the params of the layer change, so things like
mergeNewParams in ol2 will be possible.
A nice side effect of this whole change is that there is no more
duplicated code between tiled and single image WMS layers.
While I was at it, I also fixed a WMS 1.1.1 axis order issue
and incorrect STYLES params (STYLES=& instead of STYLES&).
2013-03-05 00:46:58 +01:00
Tom Payne
1bac674eca
Merge pull request #263 from twpayne/canvas-renderer-optimizations
...
Canvas renderer optimizations
2013-03-04 15:21:38 -08:00
Tim Schaub
dc19948a85
Get tile size for zoom level (see #258 )
2013-03-04 21:30:01 +01:00
Tom Payne
a937083d10
Don't redraw already rendered tiles
2013-03-04 21:07:17 +01:00
Tim Schaub
c29fabebef
Merge branch 'master' of github.com:openlayers/ol3 into vector
2013-03-04 21:06:13 +01:00