Commit Graph

187 Commits

Author SHA1 Message Date
ahocevar c54d81258a Merge pull request #793 from ahocevar/proj-no-extent
Making extent optional for projections. r=@twpayne
2013-06-17 08:40:22 -07:00
ahocevar caefacac35 Serve WMS tiles for sources without specified extent
With this change, WMS sources do not need an extent configured.
The result is that the WMS will be queried for tiles for any
extent.
2013-06-17 15:26:23 +02:00
Tom Payne 85ca39cf0c Add warnings about internal classes and functions 2013-06-06 18:36:40 +02:00
Tom Payne 8f86288614 Add line string collections to ol.source.VectorSource2 2013-06-01 18:16:42 +02:00
Tom Payne ac48fae0af Add ol.source.VectorSource2 2013-06-01 18:09:29 +02:00
Frederic Junod a1a7e21f92 Redefine ol.Size to be Array.<number> 2013-06-01 10:22:06 +02:00
Tom Payne 46553c719c Rename ol.projection to ol.proj 2013-05-30 18:55:58 +02:00
Tom Payne 20982bba31 Remove unused variables in sources 2013-05-28 16:01:33 +02:00
Tom Payne b070b572d0 Rename ol.extent.createEmptyExtent to ol.extent.createEmpty 2013-05-01 12:36:54 +02:00
Tom Payne 0e69af847e Improve type checking in ol.source.WMTS 2013-04-30 22:00:22 +02:00
Tom Payne 6e1f049456 Improve type checking in ol.source.StaticImage 2013-04-30 22:00:22 +02:00
Tom Payne 65f891a30d Improve type checking in ol.source.BingMaps 2013-04-30 22:00:22 +02:00
Tom Payne 6976fd96e3 Refactor tile functions
* Add support for minZoom in XYZ tile grids and tile sources
* Factor out common tile coordinate transforms
2013-04-29 19:54:26 +02:00
Tom Payne aff9f5dbf9 Port ol.source.SingleImageWMS to new extents 2013-04-19 10:03:35 +02:00
Tom Payne 583564e484 Port ol.source.StaticImage to new extents 2013-04-19 10:03:34 +02:00
Tom Payne 559e85bc76 Port ol.source.TiledWMS to new extents 2013-04-19 10:03:34 +02:00
Tom Payne 9708fb4ea6 Port ol.source.WMTS to new extents 2013-04-19 10:03:34 +02:00
Tom Payne 10354cf607 Port ol.source.WMS to new extents 2013-04-19 10:03:34 +02:00
Tom Payne f0c812482f Port ol.source.TileJSON to new extents 2013-04-19 10:03:34 +02:00
Tom Payne e868954d9c Port ol.source.TileSource to new extents 2013-04-19 10:03:34 +02:00
Tom Payne c2ff8347d9 Port ol.source.BingMaps to new extents 2013-04-19 10:03:34 +02:00
Tom Payne a68656ad33 Rename wms.js to wmssource.js 2013-04-16 19:15:00 +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
Tom Payne fe03ebe99c Re-use ol.Extent objects 2013-04-09 19:19:45 +02:00
Tom Payne 5bd67e1325 Re-use ol.TileCoord objects 2013-04-09 19:19:11 +02:00
Tom Payne e132943eef Use goog.asserts.fail 2013-04-08 19:14:16 +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
Tom Payne 0221998120 Fix OpenStreetMap attributions 2013-04-08 12:32:03 +02:00
ahocevar 949a4a59fa Shuffling jsdoc files, as suggested by @elemoine 2013-04-08 11:16:08 +02:00
ahocevar c832a47575 Documentation for exported object literals
This adds the infrastructure that we need for documenting
exported object literals. This is best done by using *.jsdoc
files, which are parsed by JSDoc but not the Closure Compiler.
In addition to adding the documentation of the objects literal
properties, the respective namespaces must also be annotated.

Restricting the API docs to the exported API will be added as a
separate pull request.
2013-04-07 18:00:10 +02:00
Tom Payne a90797852e Merge pull request #489 from twpayne/consistent-options
Consistent options
2013-04-07 03:13:07 -07:00
Tom Payne a537632199 Be more consistent with source options 2013-04-07 11:44:58 +02:00
Tom Payne fe6b418cbd Use common attribution for OpenStreetMap 2013-04-07 10:43:04 +02:00
Tom Payne 93e9b4524b Add OpenStreetMap options 2013-04-06 21:41:01 +02:00
Tom Payne 4be8c991f7 Add missing Closure Library requires 2013-04-06 14:28:12 +02:00
Tom Payne 0caf5efef6 Configure logo for MapQuest sources 2013-04-05 18:27:45 +02:00
Tom Payne 5b2cbe76f2 Configure logo for Bing Maps source 2013-04-05 18:12:45 +02:00
Tom Payne a876332f0e Add logo option to ol.source.Source subclasses 2013-04-05 18:12:12 +02:00
Tom Payne 6c90bcc5cd Add logo option to ol.source.Source 2013-04-05 18:11:22 +02:00
Marc Jansen 523506ef86 Rename *.exports to match their *.js counterparts. 2013-04-04 07:40:16 +02:00
Éric Lemoine e128bab625 Do not pass tile grid to getTile and tileUrlFunc
getTile and the tileUrlFunc are functions of the source, so they do need to be passed the tile grid. The tile source knows its tile grid, and can get the projection's tile grid if it doesn't have a tile grid.
2013-04-02 11:12:43 +02:00
Éric Lemoine de1575e457 One direction pinch zoom 2013-03-27 11:52:42 +01:00
Tom Payne 6cfe918501 Merge pull request #428 from twpayne/gc-optimizations
GC optimizations
2013-03-25 03:54:15 -07:00
Tom Payne 9906c518a7 Rename useTileZXY to useTile 2013-03-25 11:45:20 +01:00
Frederic Junod 415e7a6dd4 Rename TileJSONOptions.uri to TileJSONOptions.url 2013-03-25 10:17:37 +01:00
Tom Payne 65e6ed3485 Rename getTileZXY to getTile 2013-03-25 10:10:03 +01:00
Tom Payne e62178759c Fix use of this in ol.source.BingMaps 2013-03-24 19:26:34 +01:00
Tom Payne dfb631a08f Replace getTile with getTileZXY
This massively reduces the number of temporary ol.TileCoord objects.

Previously an ol.TileCoord object was generated for every potentially
visible tile at the current zoom level and lower, every frame.  This
commit eliminates all of those.  Now new ol.TileCoord objects are only
allocated when a new tile is created.
2013-03-24 15:24:49 +01:00
Tom Payne e3abe376f1 Remove ol.source.TileSource.useLowResolutionTiles 2013-03-22 21:02:06 +01:00