Commit Graph

8999 Commits

Author SHA1 Message Date
Tom Payne
ac40769155 Clear tiles that are not fully covered 2013-04-11 15:50:32 +02:00
Éric Lemoine
d1021b6ee0 Refactor and fix canvas tile layer renderer 2013-04-11 09:26:57 +02:00
Éric Lemoine
a344e4af8c Merge pull request #528 from elemoine/touch
Touch interactions should use requestRenderFrame
2013-04-10 22:44:27 -07:00
ahocevar
37ca407e50 Merge pull request #529 from ahocevar/global
Don't use window and document
2013-04-10 13:56:05 -07:00
Tim Schaub
d71da50fb9 Merge pull request #532 from tschaub/update-size
Add an updateSize method.  Application code should call this when the map viewport size changes by some method other than a window resize.
2013-04-10 13:40:58 -07:00
Tim Schaub
b499f71d97 Add an updateSize method
We need a non-private/protected method to call when the map viewport size changes.
2013-04-10 12:47:06 -06:00
ahocevar
a437bea61f Use no browser globals at all 2013-04-10 16:53:45 +02:00
Éric Lemoine
b6a6ba95cc Touch zoom interaction requests render frames 2013-04-10 16:15:58 +02:00
Éric Lemoine
703842a021 Touch rotate interaction requests render frames 2013-04-10 16:15:58 +02:00
Éric Lemoine
1e3e7fb0c1 Touch pan interaction request render frames 2013-04-10 16:15:58 +02:00
Éric Lemoine
ce985ba272 Remove extra /** 2013-04-10 16:15:58 +02:00
Éric Lemoine
38914bc95b addPreRenderFunction calls requestRenderFrame
So there's no need to call requestRenderFrame prior to calling addPreRenderFunction.
2013-04-10 16:15:58 +02:00
ahocevar
dc1d7a1aba Don't use window and document
With this change, our JavaScript can also be executed by
non-brower engines.
2013-04-10 15:48:17 +02:00
ahocevar
ae5d1cee1e Merge pull request #527 from ahocevar/jsdoc-filtered
Only document the exported API, not every symbol. r=@elemoint
2013-04-10 06:28:25 -07:00
Éric Lemoine
3bb476e752 Merge pull request #526 from elemoine/OSM
OpenStreetMap to OSM renaming
2013-04-10 06:27:04 -07:00
ahocevar
12cd3672bc Remove "Inherited from" for non-API parents 2013-04-10 15:06:12 +02:00
Éric Lemoine
091cc10f08 Merge pull request #520 from elemoine/view2d
The view does not know about the map
2013-04-10 05:12:36 -07:00
Éric Lemoine
7a488be89e Merge pull request #524 from elemoine/check
Compile entire code base on build check
2013-04-10 05:08:46 -07:00
ahocevar
71c32d3554 Don't use the undocumented property before it is set
This actually avoids addition of params of symbols that are not
part of the API.
2013-04-10 13:59:32 +02:00
ahocevar
7a50295c49 Making @elemoine and GitHub happy
Reminder to self: everyone wants a new line at the end of a
file.
2013-04-10 13:18:22 +02:00
ahocevar
1e0e30a9ed Use a public return type for a public function 2013-04-10 11:34:03 +02:00
ahocevar
8acfa08766 Making the linter happy
Although *.jsdoc files are none of the linter's business...
2013-04-10 11:24:27 +02:00
ahocevar
9cb85ea9a9 Adding the projection namespace 2013-04-10 11:18:23 +02:00
ahocevar
423ba5c0e4 A few lines explaining what the exports.js plugin does 2013-04-10 11:04:39 +02:00
ahocevar
6f94ec6fe7 Adding params of API symbols to the API
This makes the API docs complete. What still needs to be
documented is API events, but this deserves a separate pull
request.
2013-04-10 10:57:36 +02:00
Éric Lemoine
a694661793 OpenStreetMap to OSM renaming
OSM is a well-known name, and is shorter than OpenStreetMap.
2013-04-10 10:07:49 +02:00
Éric Lemoine
4e4d22b4e2 Target "check" depends on ol-all.js 2013-04-10 09:15:15 +02:00
Éric Lemoine
14e066ac78 Add exports.js as an input to ol-all 2013-04-10 09:14:51 +02:00
Éric Lemoine
2d5381ae41 Move zoom from View2D to Interaction 2013-04-10 08:52:07 +02:00
Éric Lemoine
dbca68650c Move rotate from View2D to Interaction 2013-04-10 08:52:06 +02:00
Éric Lemoine
51094139a8 Move pan function from View2D to Interaction 2013-04-10 08:27:47 +02:00
ahocevar
551a5f06ff Nicer way to fix @inheritDoc 2013-04-10 01:45:21 +02:00
ahocevar
2fd185c966 Only document the exported API, not every symbol
There is more work to be done, because this filters out more
than desired, and we don't have events documented yet.
2013-04-10 01:44:40 +02:00
Tom Payne
ee987bc951 Merge pull request #438 from twpayne/boost-tile-limits
Tile limits are too low
2013-04-09 13:16:09 -07:00
Tom Payne
5a2483e224 Increase default tile cache size 2013-04-09 22:14:54 +02:00
Tom Payne
29b78a32e8 Merge pull request #519 from twpayne/tile-garbage-clean-ups
Tile garbage clean-ups
2013-04-09 13:12:01 -07:00
Éric Lemoine
32560e8699 Merge pull request #516 from elemoine/no-getview2d-in-examples
Do not use getView2D in the examples
2013-04-09 11:13:40 -07:00
Tom Payne
680b31c5e0 Eliminate an ol.TileCoord allocation 2013-04-09 19:54:15 +02:00
Tom Payne
fe03ebe99c Re-use ol.Extent objects 2013-04-09 19:19:45 +02:00
Tom Payne
ee8e565be2 Enable ol.Extent re-use 2013-04-09 19:19:45 +02:00
Tom Payne
e08d19ac55 Add ol.Extent.createOrUpdate 2013-04-09 19:19:44 +02:00
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