Tom Payne
e556c87a7c
Re-use ol.TileRange objects
2013-04-09 19:19:20 +02:00
Tom Payne
e30109913e
Enable ol.TileRange re-use
2013-04-09 19:19:20 +02:00
Tom Payne
7a4672d429
Add ol.TileRange.createOrUpdate
2013-04-09 19:19:19 +02:00
Tom Payne
5bd67e1325
Re-use ol.TileCoord objects
2013-04-09 19:19:11 +02:00
Tom Payne
5a4033db7a
Enable ol.TileCoord re-use
2013-04-09 19:19:11 +02:00
Tom Payne
7b58685462
Add ol.TileCoord.createOrUpdate
2013-04-09 19:19:11 +02:00
Tim Schaub
2ecaf2bc69
Merge pull request #501 from tschaub/logical
...
Logical filter touch-ups
2013-04-09 09:21:13 -07:00
Éric Lemoine
396ee5ce3d
Add constrainResolution|Rotation to ol.View2D
2013-04-09 17:06:18 +02:00
Éric Lemoine
6bb36452cb
Add calculateCenterZoom|Rotation to ol.View2D
2013-04-09 16:50:48 +02:00
Tom Payne
aa12232ec3
Merge pull request #509 from twpayne/use-high-resolution-tiles
...
Use high resolution tiles
2013-04-09 06:34:45 -07:00
Bart van den Eijnden
ed9861317f
Add a parser for reading and writing KML.
...
This adds ol.parser.ogc.KML which can be used to read and write KML documents.
NetworkLinks are retrieved asynchronously.
Current caveats of the implementation are:
* LabelStyle not yet implemented. Missing support in renderers.
* When using shared structures the parser needs to be configured with
dimension 2.
* We need a better way to disable fill, currently we use opacity as a
workaround.
* We cannot really roundtrip documents, since some of the info is not
preserved in the ol structures. But we can write out most of the important
info.
2013-04-09 15:34:03 +02:00
ahocevar
cdb90a79ee
Merge pull request #512 from ahocevar/export-getpixel
...
Export the pixel location of the MapBrowserEvent. r=@fredj,@twpayne
2013-04-09 04:16:09 -07:00
Tom Payne
e732a67382
Propagate return value
2013-04-09 13:15:16 +02:00
Tom Payne
66f0e0d8e8
Add optimized version of getTileCoordChildTileRange for ol.tilegrid.XYZ
2013-04-09 13:15:16 +02:00
Tom Payne
c5748f1fd7
Store maxZoom in ol.tilegrid.XYZ
2013-04-09 13:15:16 +02:00
Tom Payne
1b7ee36680
Use high resolution tiles in DOM renderer
2013-04-09 13:15:16 +02:00
Tom Payne
8da1f3400b
Use high resolution tiles in Canvas renderer
2013-04-09 13:15:16 +02:00
Tom Payne
4d6e060052
Use high resolution tiles in WebGL renderer
2013-04-09 13:15:16 +02:00
Tom Payne
7a7ea8a072
Add ol.tilegrid.TileGrid.getTileCoordChildTileRange
2013-04-09 13:15:16 +02:00
Tom Payne
52893f1ba2
Remove stray comment
2013-04-09 13:07:02 +02:00
Tom Payne
e12b30ba91
Remove incorrect assert, thanks @elemoine
2013-04-09 12:18:04 +02:00
ahocevar
964ae5b58b
Export the pixel location of the MapBrowserEvent
...
This is useful for getting the pixel coordinate relative to the
map viewport, which is used e.g. for WMS GetFeatureInfo.
2013-04-09 11:08:04 +02:00
Tom Payne
eee24870b5
Merge pull request #506 from twpayne/refactor-webgl-shaders
...
Refactor WebGL shaders
2013-04-08 11:11:47 -07:00
Tom Payne
60a33a86bb
Remove references to Matrix Filter
2013-04-08 19:43:41 +02:00
Tom Payne
ba3746a8d9
Merge pull request #507 from twpayne/asserts
...
Clean up use of goog.asserts
2013-04-08 10:39:55 -07:00
Tom Payne
a6a60149f1
Merge pull request #494 from twpayne/use-goog-base
...
Use Closure type identification functions
2013-04-08 10:16:52 -07:00
Tom Payne
e132943eef
Use goog.asserts.fail
2013-04-08 19:14:16 +02:00
Tom Payne
098bddb72f
Use goog.asserts.assertInstanceof
2013-04-08 19:03:49 +02:00
Tom Payne
667f3de6d9
Remove unused constants
2013-04-08 16:40:53 +02:00
Tom Payne
ee54aaaea4
Use simpler, faster shader when brightness, contrast, hue and saturation are unchanged
2013-04-08 16:40:53 +02:00
Tom Payne
f7f799be27
Use automatically generated locations in WebGL tile layer renderer
2013-04-08 16:40:53 +02:00
Tom Payne
aa5ce41cb5
Automatically generate uniform and attribute locations
2013-04-08 16:40:49 +02:00
Tom Payne
c6cd3e0227
Refactor glsl-unit templates
...
This abuses the template system to allow both a single anonymous shader
and multiple named shaders to be defined in a namespace.
2013-04-08 15:57:26 +02:00
Tom Payne
24cfd8a9be
Merge pull request #496 from twpayne/check-whitespace
...
Check whitespace
2013-04-08 06:06:15 -07:00
Éric Lemoine
879ea4f488
Merge pull request #473 from elemoine/value-resolution
...
Exponential scaling to ZoomSlider
2013-04-08 05:22:38 -07:00
Tom Payne
a103b5acd7
Fix whitespace errors in jsdoc
2013-04-08 13:25:01 +02:00
Tom Payne
f1cc5b87da
Fix whitespace errors in JavaScript source
2013-04-08 13:25:01 +02:00
Tom Payne
a4763e0b69
Fix whitespace errors in exports
2013-04-08 13:25:01 +02:00
ahocevar
8117b1650b
Merge pull request #504 from ahocevar/shuffle-jsdoc
...
Shuffling jsdoc files, as suggested by @elemoine
2013-04-08 04:16:49 -07:00
ahocevar
0a540578a2
Moving ol.jsdoc and layer.jsdoc
2013-04-08 13:09:05 +02:00
Tom Payne
220dc2eab6
Merge pull request #499 from twpayne/fix-openstreetmap-licenses
...
OpenStreetMap licenses are inconsistent
2013-04-08 03:59:44 -07:00
Éric Lemoine
fb5ca531d0
Do not assume map.getView returns an ol.View2D
2013-04-08 12:55:00 +02:00
Tom Payne
75c1642c82
Merge pull request #498 from twpayne/boost-tile-loading
...
Boost tile loading
2013-04-08 03:54:53 -07:00
Éric Lemoine
8c9153ffca
ZoomSlider animates to final resolution
2013-04-08 12:51:29 +02:00
Éric Lemoine
516f21eb17
Make ZoomSlider use View2D value/resolution funcs
2013-04-08 12:51:14 +02:00
Éric Lemoine
6163f05b2b
ZoomSlider setMap deals with undefined resolution
2013-04-08 12:50:12 +02:00
Tom Payne
0221998120
Fix OpenStreetMap attributions
2013-04-08 12:32:03 +02:00
Éric Lemoine
631afb07ab
Add value/resolution functions to View2D
2013-04-08 12:28:37 +02:00
Tom Payne
01440b484b
Only manage the tile queue if it is not empty and improve comment
2013-04-08 12:14:33 +02:00
Tom Payne
6f49cb8abe
Assert that loadMoreTiles is only called when more tiles will be loaded
2013-04-08 12:12:25 +02:00