Commit Graph

7638 Commits

Author SHA1 Message Date
Augustus Kling a73c15c988 Discard documentation for attributioncontrol.js and map.js to make refactoring easier due to @elemoine's request 2012-12-03 22:47:33 +01:00
Frederic Junod 14f7b9a41e git-update-ghpages removed, bin/readme.md no longer necessary 2012-11-14 12:50:13 +01:00
Frédéric Junod 12d5626288 make replaced with build.py 2012-11-14 12:45:07 +01:00
Éric Lemoine bccfccbf9d Merge pull request #84 from elemoine/84
DOM renderer tile artifacts on FF
2012-11-13 13:47:00 -08:00
Tom Payne 72b7a136c1 Update to latest version of pake, fixes #87, thanks @cedricmoullet and @AugustusKling 2012-11-12 00:01:29 +01:00
Éric Lemoine 7b88f44a41 Keep track of tiles we're already listening on 2012-11-11 21:31:12 +01:00
augustus f253c1bcf8 Some comments (no changes to code) 2012-11-09 16:26:59 +01:00
Tom Payne 4dde0ac2b1 Remove tile change listeners when they have fired, thanks @fredj 2012-11-09 14:33:58 +01:00
Tom Payne 3d560a08e3 Remove Makefile 2012-11-09 14:05:13 +01:00
Tom Payne 5fb39ff30d Merge pull request #76 from twpayne/pure-python-build
Building on Windows still has a few problems, mainly thanks to Windows. However, this patch does eliminate as many build dependencies as possible (make, wget, sh, find, ruby).
2012-11-09 02:53:33 -08:00
Tom Payne df8685638c Detect corrupt downloads 2012-11-09 11:45:58 +01:00
Tom Payne bf4e7bcb70 Work around broken operating systems 2012-11-09 11:45:58 +01:00
Tom Payne 05f3ab3290 Remove unused import 2012-11-09 11:45:31 +01:00
Éric Lemoine 826505c6d4 Register a CHANGE listener even if tile is loading
This fixes an issue easily reproducible in the side-by-side example where the DOM renderer is not notified when tiles loaded by the WebGL renderer have been received.
2012-11-08 21:20:26 +01:00
Éric Lemoine 90e379782c Only appending tiles to the dom after load
A port of f46cdb4 to the current master. The tilelayer renderer can be simplified a bit by waiting to append tiles to the dom until they have loaded. Refs #84 and #33.
2012-11-08 20:03:07 +01:00
Frederic Junod 6eb505eb2b Remove question mark from wms urls (see #85) 2012-11-08 09:02:03 +01:00
Tom Payne bf231d0c41 Fold gh-update-pages into build.py
This also fixes a bug in gh-update-pages: gh-update-pages does not
handle file deletition, meaning that stale files are never removed.
2012-11-04 19:08:56 +01:00
Tom Payne d30be0fb93 Merge bin/generate-requireall into build.py 2012-11-04 19:08:55 +01:00
Tom Payne f082cddb6b Use build.py for Travis 2012-11-04 19:08:55 +01:00
Tom Payne 157c0978be Update CONTRIBUTING.md for build.py 2012-11-04 19:08:55 +01:00
Tom Payne d16bc89be3 Update readme.md for build.py 2012-11-04 19:08:26 +01:00
Tom Payne f78afc8d66 Add pake.py
See https://github.com/twpayne/pake
2012-11-04 19:08:26 +01:00
Tom Payne 81b4213fd7 Add build.py
This removes the dependencies on make, sh and curl for building ol3.
2012-11-04 19:08:26 +01:00
Éric Lemoine c9f4454399 Merge pull request #85 from elemoine/tilefunction
Add ol.TileUrlFunction.createBboxParam
2012-11-04 09:52:09 -08:00
Éric Lemoine dd014a3b79 Avoid unneeded parameter concatenations (thanks @twpayne, refs #85) 2012-11-04 19:31:20 +01:00
Éric Lemoine 529c3e8b6a Add ol.TileUrlFunction.createBboxParam 2012-11-03 22:55:54 +01:00
ahocevar 3d84571043 Use WebGL now that server sends CORS headers (see #75) 2012-11-03 10:33:20 +01:00
Éric Lemoine b2c71ed269 Add tests showing more usages of createFromTemplate 2012-11-03 00:43:46 +01:00
Tom Payne 7ee5c5777a Fix use of goog.nullFunction and goog.functions.NULL, thanks @elemoine (again) 2012-11-02 18:28:27 +01:00
Tom Payne 9062a9cf54 Merge pull request #83 from twpayne/fix-82
Make ol.renderer.Map behave like a null renderer, fixes #82
2012-11-02 10:22:01 -07:00
Tom Payne 4d3726d183 Use goog.functions.NULL instead of goog.nullFunction, thanks @elemoine 2012-11-02 18:20:52 +01:00
Tom Payne dfd495153d Make ol.renderer.Map behave like a null renderer, fixes #82
With this patch, creating a new ol.renderer.Map will return a map
renderer that does nothing.  Previously, it could cause assertion
failures.
2012-11-02 17:10:45 +01:00
Frédéric Junod 1de8821739 Merge pull request #81 from fredj/wms-format
Use jpeg tiles for background layer
2012-11-02 07:58:52 -07:00
Frederic Junod 127c00e1ea Use jpeg tiles for background layer 2012-11-02 15:52:34 +01:00
Éric Lemoine 2f29224691 Merge pull request #80 from elemoine/wms-custom-proj-fix
wms-custom-proj example does not work with the ol build
2012-11-02 05:38:38 -07:00
Éric Lemoine 4a604940a2 The wms-custom-proj example requires more exports 2012-11-02 12:06:24 +01:00
Tim Schaub e57f8b45a6 Merge pull request #78 from geops/api-docs-jsdoc
Taking over new template from jsdoc but keep modifications by OpenLayers as much as possible
2012-10-31 13:38:24 -07:00
ahocevar 13e48787a3 Merge pull request #79 from ahocevar/projection
Projection handling improvements. r=@twpayne, @elemoine
2012-10-31 10:13:17 -07:00
ahocevar eb4a8683e2 Projection handling improvements
* The Map's private createProjection_ method is now a public
  method of the Projection. It is also used by TiledWMSSource
  to calculate the appropriate projection from the user
  configuration.
* ol.Projection.addProjection now adds the transformation for
  the source == target case. This makes it easy for the user
  to create custom projection maps without including proj4js and
  without adding a custom transformation, as long as the
  userProjection equals the projection.
* The TiledWMSSource now uses the same default resolutions as
  the map (i.e. the OSM resolutions)
* The modulo calculation for wrapping extents now works for all
  grid configurations, by not calculating the number of columns
  based on an assumption about the way the zoom levels relate to
  resolutions.
* The wms-custom-proj example now shows how to properly
  configure a custom resolution, i.e. by using the validity
  extent of the projection as its extent.
2012-10-31 13:17:58 +01:00
augustus 64a252093c Taking over new template from jsdoc but keep modifications by OpenLayers as much as possible 2012-10-31 09:39:55 +01:00
Tom Payne 7af152cc49 Update Plovr version 2012-10-29 14:09:37 +01:00
ahocevar f4139f208a Merge pull request #74 from ahocevar/tiled-wms
Adding tiled WMS source. r=@twpayne,@elemoine
2012-10-29 01:47:20 -07:00
ahocevar e157d17ab7 Addressing review comments regarding typeDef 2012-10-29 09:44:25 +01:00
ahocevar 393bb36784 Removing standalone example 2012-10-29 09:36:08 +01:00
ahocevar b170fa3d16 Using DOM renderer; no custom extent for layers
The server does not send CORS headers, so we cannot use the
WebGL renderer. Since the layers use the projection's extent,
it is not necessary to specify the extent.
2012-10-29 09:34:53 +01:00
ahocevar 0c77aacf33 proj4js externs are not necessary 2012-10-29 09:33:00 +01:00
ahocevar e672083027 Indentation and line break fixes 2012-10-28 23:59:36 +01:00
Cédric Moullet bb957a1149 Add new layer national park, attributions and layer extent to the Tiled WMS with custom projection example 2012-10-28 23:43:53 +01:00
Cédric Moullet b907befd68 Add title to WMS tiled custom projection example 2012-10-28 23:42:58 +01:00
Cédric Moullet dd93c24a07 Add tiled wms with custom projection 2012-10-28 07:26:05 +01:00