Tim Schaub
f1f319d6ad
Preemptively set global properties
...
As mentioned in the comments, calling goog.getUid and goog.events.listen on the global object (as done in map.js and deviceorientation.js) set global properties. To let Mocha check for other leaks, we preemptively set these properties.
2013-09-15 14:22:41 -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
Éric Lemoine
1d114b4630
two test pages, one for api, one for ol
2012-06-22 12:17:57 +02:00
Marc Jansen
f6a728b074
Do not loose URL-parameters passed to jasmine.
2012-06-22 12:14:35 +02:00
Tim Schaub
ba7b54949c
Bounds spec.
2012-06-21 19:59:43 +02:00
Éric Lemoine
1c7e0f8481
add an ol.TileCache and use it in ol.TileLayer
2012-06-21 19:00:09 +02:00
Marc Jansen
0374d1abc7
Add geom.Collection & geom.collection.
...
Also make MultiPoint and multipoint inherit from Collection/collection
respectively.
2012-06-21 16:00:08 +02:00
Petr Pridal
6ca9112af2
WebGL MapRenderer inicializaiton with a test (it may fail on computers without WebGL).
2012-06-21 15:51:00 +02:00
Éric Lemoine
5f1e53a0c9
move properties from layer/XYZ to layer/TileLayer
2012-06-21 12:42:36 +02:00
Marc Jansen
f85d6402e9
Add MultiPoint and multipoint.
2012-06-21 12:19:42 +02:00
Éric Lemoine
22bffd9d8b
add an OSM layer constructor to the API
2012-06-21 08:46:23 +02:00
Tim Schaub
be54add905
Width and height on unreferenced bounds.
2012-06-21 00:50:26 +02:00
Mike Adair
4ea2fe3701
adding features
2012-06-20 13:33:20 -04:00
Éric Lemoine
7413770a46
add an ol.layer.xyz factory
2012-06-20 18:09:10 +02:00
Marc Jansen
94fe46c5be
Remove stray ')'
2012-06-20 17:43:54 +02:00
Marc Jansen
b49c036ae2
Make the testuite configurable via URL.
2012-06-20 16:49:51 +02:00
Éric Lemoine
d4ebe97ab1
[test/index.html] remove the mode=RAW script tag again, it does not work anymore
2012-06-20 15:50:31 +02:00
Éric Lemoine
e989c61e63
make the tests run in Closure RAW mode, but leave the SIMPLE mode script tag to still catch compilation errors/warnings while running tests
2012-06-20 15:11:20 +02:00
Mike Adair
e61769c6dc
put back to SIMPLE mode
2012-06-20 09:04:51 -04:00
Mike Adair
aa584e17e9
center returned in user projection
2012-06-20 09:02:20 -04:00
Marc Jansen
33c2e0aa30
Correct the tests for geom.Point and geom.point.
...
Add tests for the API version `ol.point()`; adjust the tests for the internal
`new ol.Point()`.
2012-06-20 13:36:07 +02:00
Tim Schaub
14b1a34f98
Splitting tests between api and internal.
2012-06-20 11:56:20 +02:00
Éric Lemoine
a7a86bb169
add a Jasmine toBeA matcher
2012-06-20 11:44:43 +02:00
Mike Adair
a9a2e7cf8f
remove debugger line
2012-06-20 04:58:30 -04:00
Éric Lemoine
a96b559ddd
very first XYZ layer bits
2012-06-20 09:18:46 +02:00
ahocevar
fb8b1e878d
Events.js ported, with tests stub. More tests to be added.
2012-06-20 01:09:21 +02:00
Marc Jansen
450f8f7b74
First state of a geom package.
2012-06-19 18:21:21 +02:00
Éric Lemoine
1c8abd38a6
add a basic TileSet class
2012-06-19 15:18:34 +02:00
Éric Lemoine
ce20ba066c
add an ol.Tile class
2012-06-19 14:52:25 +02:00
Tim Schaub
1043a53fe1
Use simple compilation.
2012-06-19 14:49:56 +02:00
Tom Payne
95fe8762da
Rename Location to Loc for consistency.
2012-06-19 12:01:22 +02:00
Tim Schaub
77c07a500e
A passing test.
2012-06-19 11:14:53 +02:00
Tim Schaub
b9d690044f
Adding test spec.
2012-06-18 18:15:51 +02:00