Tim Schaub
3dc2b69615
Test conventions
...
* use `be` or `equal` for strict equality tests
* use `be.a` for `instanceof` checks
* use dot instead of bracket notation
2013-09-14 18:10:13 -06:00
Tim Schaub
377da9349e
Don't use private date_ property (see #1026 )
...
It looks like at some point the Closure Library exposed a public `date` property for this same purpose. The version of the Closure Library that comes with the closure-util package uses this property. At some point later, I'll demonstrate how we can control which version of the library we depend on.
2013-09-14 18:10:12 -06:00
Tim Schaub
75fffd1f47
Making use of the closure-util package
...
This provides some initial development utilities for people using Node.
Instructions for installing:
npm install
After pulling down the dependencies, you can start a developement server that provides the libraries (ol and Closure Library) in debug mode (not minified/compiled). Run the dev server with the following:
npm start
Currently, the example index page needs to be built with `build.py`. After building that, you should be able to browse all static files, view the examples and run the tests.
2013-09-14 18:10:12 -06:00
Bart van den Eijnden
26b46d248b
Merge pull request #1022 from bartvde/parser-api
...
Parser api changes (remove read/write for feature parsers and add parser to the filenames) (r=@elemoine)
2013-09-13 08:01:57 -07:00
Frédéric Junod
2ce1c29c4d
Merge pull request #995 from fredj/export-map_example
...
Better user notification if a.download attribute is not supported
2013-09-13 05:11:15 -07:00
Bart van den Eijnden
d8ae3c161c
rename parser files to have parser as part of their filename, so they follow the ol3 conventions
2013-09-13 11:05:00 +02:00
Bart van den Eijnden
99f2d0e3d5
do not export read and write for feature parsers
2013-09-13 10:35:57 +02:00
Éric Lemoine
60623e3061
Merge pull request #1020 from elemoine/condition
...
Change the interaction condition signature
2013-09-12 09:53:05 -07:00
Éric Lemoine
ba3f97d50a
Change the interaction condition signature
2013-09-12 18:08:01 +02:00
Tim Schaub
daddc61dc6
Merge pull request #1015 from tschaub/export
...
Export ol.source.XYZ.prototype.setUrl.
2013-09-11 12:14:07 -07:00
Tom Payne
d1782dc4bb
Merge pull request #1012 from twpayne/more-renames
...
More renames
2013-09-11 11:33:40 -07:00
Tim Schaub
c029e8770c
Used in example but not exported (see #1011 )
2013-09-11 12:21:27 -06:00
Éric Lemoine
364e31fdb1
Merge pull request #1013 from elemoine/tileimage
...
Even more renames
2013-09-11 09:28:42 -07:00
Éric Lemoine
78a3ac46dd
Rename options type for ol.source.TileImage
2013-09-11 18:28:03 +02:00
Éric Lemoine
7db1b4b337
Rename file for ol.source.TileImage
2013-09-11 18:28:03 +02:00
Tom Payne
b2da95de4b
Merge pull request #1011 from twpayne/set-url
...
Add ol.source.XYZ#setUrl
2013-09-11 09:17:07 -07:00
Tom Payne
d0216c80cd
Rename ol.source.StaticImage to ol.source.ImageStatic
2013-09-11 17:48:49 +02:00
Tom Payne
4542c689e8
Add FIXME about avoiding tile cache clears
2013-09-11 17:12:58 +02:00
Tom Payne
ae6ecb7103
Add XYZ set URL example
2013-09-11 17:12:57 +02:00
Tom Payne
1ef4c379b2
Add ol.source.XYZ#setUrl and friends
2013-09-11 17:12:57 +02:00
Tom Payne
4ef6254c13
Add ol.source.TileImage#setTileUrlFunction
2013-09-11 17:12:57 +02:00
Tom Payne
184c2e52d5
Factor out ol.TileCoordTransformType
2013-09-11 17:12:57 +02:00
Tim Schaub
d57b4844d1
Merge pull request #979 from tschaub/xyz
...
Export ol.source.XYZ.
2013-09-11 07:55:57 -07:00
Tom Payne
a21ee997ba
Rename ol.source.SingleImageWMS to ol.source.ImageWMS
2013-09-11 16:38:01 +02:00
Tim Schaub
1ee2da76af
Add example using XYZ tiles from Esri
2013-09-11 00:41:25 -06:00
Tim Schaub
cf37566606
Remove unused require
...
This was unused before 03f7bb66374b162aab26289b761e7918b79c0ca7 as well. It would be interesting to see how many other unused requires there are (types that are only referenced in comments but not used in code).
2013-09-11 00:17:02 -06:00
Tim Schaub
843334627e
Moving maxZoom default to XYZ source.
...
No reason this convenience should be restricted to the OSM layer.
2013-09-11 00:17:01 -06:00
Tim Schaub
8d7d1412c9
Adding XYZOptions to objectliterals.jsdoc
...
I remain uncertain about when to use the @exportClass annotation and when to use the @exportSymbol. osmsource.exports seems to get away with simply @exportSymbol, but many other sources use @exportProperty.
2013-09-11 00:17:01 -06:00
Tim Schaub
0df6cebff9
minZoom is not a supported property of ol.tilegrid.XYZOptions
2013-09-11 00:17:01 -06:00
Tim Schaub
a6fb72c240
Export XYZ source
2013-09-11 00:17:01 -06:00
Tim Schaub
32d35386ba
Merge pull request #1008 from tschaub/code-gen
...
Non-greedy pattern matching for types.
2013-09-10 23:13:55 -07:00
Tim Schaub
4d71d2b1e8
Less greedy
2013-09-10 23:24:43 -06:00
Tim Schaub
919e2d39f1
Merge pull request #1009 from tschaub/tile
...
Use new name for tile layer in moveend example.
2013-09-10 22:23:20 -07:00
Tim Schaub
d9a2c66909
New name for tile layer
2013-09-10 21:59:08 -06:00
Tim Schaub
c845d85a31
Merge pull request #982 from tschaub/moveend
...
Fire a moveend event when the view settles.
2013-09-10 16:36:31 -07:00
Frédéric Junod
643e4592c5
Merge pull request #1007 from fredj/objectliterals
...
Fix ol.animation.BounceOptions apidoc (default easing function)
2013-09-10 09:18:39 -07:00
Frederic Junod
adf8422391
Fix ol.animation.BounceOptions apidoc (default easing function)
2013-09-10 18:16:33 +02:00
Frédéric Junod
398c527e1a
Merge pull request #1006 from fredj/WMTSOptions
...
Add missing 'version' property to ol.source.WMTSOptions
2013-09-10 08:16:02 -07:00
Tim Schaub
ba7e0e7da3
Merge pull request #973 from tschaub/default-style
...
Rework default style handling.
2013-09-10 07:58:44 -07:00
Frederic Junod
25aa1688e5
Add 'version' property to ol.source.WMTSOptions
2013-09-10 16:40:36 +02:00
Frédéric Junod
2e4ffb3591
Merge pull request #1003 from fredj/extent
...
Minor coding style and simplification for ol.Extent
2013-09-10 07:06:31 -07:00
Tom Payne
b4c2cd0eb2
Merge pull request #1004 from twpayne/tiled-wms-rename
...
Rename tiledwmssource.exports to tilewmssource.exports
2013-09-10 06:54:28 -07:00
Tom Payne
ea653ceec8
Rename tiledwmssource.exports to tilewmssource.exports
2013-09-10 15:53:14 +02:00
Frederic Junod
f1bce39fa9
Rename optional param to opt_extent
2013-09-10 14:41:12 +02:00
Frederic Junod
d34a63944b
Use ol.extent.createOrUpdate function
2013-09-10 14:33:12 +02:00
Éric Lemoine
48b2ece5a1
Merge pull request #1002 from elemoine/tilewms
...
Rename tiledwmssource.js to tilewmssource.js
2013-09-10 04:43:22 -07:00
Éric Lemoine
762fed6f8d
Change Tiled to Tile in a comment
2013-09-10 09:41:38 +02:00
Éric Lemoine
8a7e13a50c
Rename tiledwmssource.js to tilewmssource.js
2013-09-10 09:41:38 +02:00
Éric Lemoine
b92f5efbe8
Merge pull request #994 from elemoine/update-params
...
Allow changing parameters/dimensions for WMS and WMTS
2013-09-10 00:40:29 -07:00
Frédéric Junod
14d550de0f
Merge pull request #997 from fredj/apidoc
...
More api doc content
2013-09-09 08:29:58 -07:00