Commit Graph

10362 Commits

Author SHA1 Message Date
Tim Schaub
3faa035de3 Geom2 package working with new extent structure 2013-09-14 21:13:47 -06:00
Tim Schaub
e6b395e2ee View support for new extent structure 2013-09-14 21:13:46 -06:00
Tim Schaub
511e5ad5e8 Vector layer updates for new extent structure 2013-09-14 21:13:46 -06:00
Tim Schaub
75cb19d7e1 Source updates for new extent structure 2013-09-14 21:13:46 -06:00
Tim Schaub
a670b7979c Tile grid working with new extent structure 2013-09-14 21:11:53 -06:00
Tim Schaub
65863614bb GeoJSON and TopoJSON tests for new extent structure 2013-09-14 21:11:53 -06:00
Tim Schaub
0eb4cd6dd4 Proj support for new extent structure 2013-09-14 21:11:53 -06:00
Tim Schaub
7d00159bff WMS capabilities parsing with new extent structure 2013-09-14 21:11:53 -06:00
Tim Schaub
5d18da4035 Filter encoding with new extent structure 2013-09-14 21:11:53 -06:00
Tim Schaub
3ea6041714 GML parsing with new extent structure 2013-09-14 21:11:53 -06:00
Tim Schaub
9226472380 Update geom package to use new extent structure 2013-09-14 21:11:52 -06:00
Tim Schaub
208d86b5bf Arg order for extent function in expressions 2013-09-14 21:11:52 -06:00
Tim Schaub
6955499534 Update rtree to use new extent structure 2013-09-14 21:11:52 -06:00
Tim Schaub
60bf396e25 Update geom package to use new extent structure 2013-09-14 21:11:52 -06:00
Tim Schaub
dbccb8b231 Function for cloning extents 2013-09-14 21:11:52 -06:00
Tim Schaub
fcf00dea8b New structure for extent: [minCoord, maxCoord] 2013-09-14 21:11:52 -06:00
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
Paul Spencer
3a91aa3d36 fix lint issue 2013-09-13 11:23:06 -04:00
Paul Spencer
3ab50facc7 Label the link to ol.interaction as ol.interaction.Interaction
The documentation is really talking about instance of Interaction, not the namespace.  This is more clear for users.
2013-09-13 11:23:06 -04:00
Paul Spencer
28ee9bcd9b remove export for conditionType as it breaks the build to have it in there. 2013-09-13 11:23:06 -04:00
Paul Spencer
d7eee91195 Add exports for interactions. 2013-09-13 11:23:05 -04: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
Éric Lemoine
8301b01395 Remove ol.Object#bindTo noNotify option 2013-09-13 16:46:49 +02: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