Tom Payne
d571ef5804
Prioritize tile loading around mouse position
2013-03-08 01:04:35 +01:00
Tom Payne
47f1b8cb0a
Cope with rotation in keyboard pan
2013-03-07 20:13:38 +01:00
Tom Payne
cd37031456
Animate keyboard pan
2013-03-07 20:00:31 +01:00
Tom Payne
3d37ba7666
Add ol.View2D.pan
2013-03-07 20:00:31 +01:00
Tom Payne
d4a5bfa015
Avoid creating an unecessary object
2013-03-07 19:39:24 +01:00
Tom Payne
af0bf21e8d
Configure keyboard pan with an options object
2013-03-07 19:32:51 +01:00
Tom Payne
c46f1425a0
Make keyboard zoom delta configurable
2013-03-07 19:24:00 +01: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
Tim Schaub
b28a1efec6
Export GeoJSON parser
2013-03-07 10:26:15 -07:00
ahocevar
5af71a488a
No need to continue rendering when we need to defer
2013-03-07 18:13:22 +01:00
Tim Schaub
5752a69d6b
Adding addFeatures back as an API method temporarily
...
Eventually, parseFeatures and addFeatures should be collapsed.
2013-03-07 10:09:19 -07: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
Bart van den Eijnden
1f510d893f
Merge pull request #282 from bartvde/wms1_0_0
...
add WMS GetCapabilities 1.0.0 parser (=r@elemoine)
2013-03-07 05:06:13 -08:00
Tom Payne
1deeaa437c
Merge pull request #272 from twpayne/projection-get
...
allow people to specify projection as a string
2013-03-07 04:59:00 -08:00
Bart van den Eijnden
d56f2bc7aa
make Travis happy by adding comment to the constant in the test
2013-03-07 13:57:51 +01:00
Bart van den Eijnden
0dab671072
add WMS 1.0.0 parsing to false by default
2013-03-07 13:53:26 +01:00
Éric Lemoine
abf4d6bf09
Merge pull request #310 from elemoine/wms
...
NumberFormatException with GeoServer WMS
2013-03-07 04:46:06 -08:00
Tom Payne
21d34f1cc8
Rename projection functions for a friendlier API
...
The following functions are renamed:
getTransform -> getTransformForProjections
getTransformFromCodes -> getTransform
transform -> transformWithProjections
transformWithCodes -> transform
With this change, the faster functions that avoid projection look-up
have longer names and are used internally, whereas the slower but
friendlier short name functions are available for users.
2013-03-07 13:39:40 +01:00
Éric Lemoine
b487275d5b
Round image height and width for WMS
2013-03-07 13:37:48 +01:00
Tom Payne
874583656e
Use strings rather than ol.projection.get in examples
2013-03-07 13:31:11 +01:00
Tom Payne
eaa17758bd
Allow strings to be used wherever projections are needed
2013-03-07 13:29:40 +01:00
Tom Payne
afcbec469a
Rename ol.projection.getFromCode to ol.projection.get
2013-03-07 13:29:39 +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
Tom Payne
6bcbd25e2f
Merge pull request #295 from openlayers/refactor-examples
...
Refactor examples
2013-03-07 04:27:18 -08:00
Éric Lemoine
251e9a09fa
Fix js error when image source has no attributions
2013-03-07 12:41:15 +01:00
Éric Lemoine
3c37e6da56
Make custom proj example use tile layers only
2013-03-07 12:36:09 +01:00
Éric Lemoine
02cbdde333
Add a single image WMS example
2013-03-07 12:29:13 +01:00
Éric Lemoine
d31fb7a0fd
Merge pull request #303 from elemoine/tile
...
Tile loading stops after a while when there are multiple maps
2013-03-07 03:15:37 -08:00
Éric Lemoine
73d06442ec
Merge pull request #302 from elemoine/debug
...
Hosted examples in debug mode
2013-03-07 03:15:09 -08:00
Éric Lemoine
71f06320f6
WMS example renamed to wms-tiled
2013-03-07 12:03:28 +01:00
Bruno Binet
35b6d805df
Merge pull request #307 from bbinet/null-extent
...
Check for not null extent
2013-03-07 02:06:18 -08: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
Bruno Binet
41408c0909
Extent cannot be undefined here but it can be null
...
so we now use !goog.isNull(extent) instead of goog.isDef(extent)
2013-03-07 10:54:06 +01:00
Bruno Binet
129f2bbcb0
Merge pull request #305 from bbinet/check-isglobal
...
Do not wrap dateline if projection.isGlobal() is false
2013-03-07 01:42:18 -08:00
Éric Lemoine
7fabff5ffa
Revert "Remove listeners when dropping tiles"
...
This reverts commit fd6aaff2f5 .
2013-03-07 10:41:23 +01:00
Éric Lemoine
bbc8249e28
Check the examples in raw mode as well
2013-03-07 10:33:40 +01:00
Éric Lemoine
306447fac7
Update readme.md
2013-03-07 10:30:47 +01:00
Éric Lemoine
757401313b
Extent hosted loader to support debug mode
2013-03-07 10:30:47 +01:00
Frederic Junod
feb03b8cda
Change opacity step value in side-by-side example
...
Avoid rounding issue (0.1 in binary format). fixes #299
2013-03-07 10:14:39 +01:00
Tim Schaub
f961930823
Render countries from GeoJSON
...
This reveals a number of issues that still need to be addressed.
2013-03-06 19:24:53 -07:00
Tom Payne
d4b58d489f
Correct description in side-by-side example
2013-03-07 03:15:19 +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
d7c547f736
Method for parsing features
...
Shared structures are still per geometry type. Need to be made per symbolizer type.
2013-03-06 19:02:21 -07:00
Tim Schaub
7c4c3c547c
Draw multi-part geometries
...
Polygons still need holes.
2013-03-06 19:01:16 -07:00
Tom Payne
3c701067b3
Remove animations from side-by-side example
2013-03-07 02:58:00 +01:00
Tom Payne
674eb9b396
Add animation example
2013-03-07 02:56:28 +01:00
Bruno Binet
48c84aaf69
Do not wrap dateline if projection.isGlobal() is false
2013-03-07 02:07:00 +01:00