Tom Payne
21ab556d2f
Cope with layers being undefined
2012-10-04 11:38:21 +02:00
Tom Payne
21f8c8f3bd
Enable debugging in full screen example
2012-10-04 11:38:21 +02:00
Tom Payne
a95e9b9c8b
Avoid unecessary style changes in attribution control
2012-10-03 18:51:33 +02:00
Tom Payne
d0a330c870
Use an em space to separate attributions
2012-10-03 17:59:44 +02:00
Tom Payne
c6a9044bee
Indent all HTML files with two spaces
2012-10-01 14:29:50 +02:00
Tom Payne
d894275cf5
Add content type to examples
2012-10-01 14:28:45 +02:00
Tom Payne
5e8747d37c
Add missing require
2012-09-30 18:28:27 +02:00
Tom Payne
5a51087526
Re-order declarations for clarity, thanks @elemoine
2012-09-30 15:18:16 +02:00
Tom Payne
64d0954b69
Remove Type suffix in auto-generated namespaces, thanks @elemoine
2012-09-30 15:10:15 +02:00
Tom Payne
ef1d05fe86
Ensure target is deleted when compile fails
2012-09-29 16:04:13 +02:00
Tom Payne
3ed65c0d98
Correct clean target
2012-09-29 16:00:47 +02:00
Tom Payne
24771c73a0
Export layer options type
2012-09-29 15:36:17 +02:00
Tom Payne
f9b791b2f5
Correct generation of externs for nested namespaces
2012-09-29 15:35:25 +02:00
Tom Payne
8387f74a7b
Generate exports automatically from src/ol/exports.txt
2012-09-29 15:17:40 +02:00
Tom Payne
c7c93ce099
Consistent nomenclature
2012-09-29 14:42:12 +02:00
Tom Payne
1a5375fa51
Move target container in to map options
2012-09-29 13:58:15 +02:00
Tom Payne
4e5765f42f
Add missing dependencies to examples/%.combined.js target
2012-09-29 13:41:23 +02:00
Tom Payne
1ec4ac7d63
Add build-examples to precommit target
2012-09-29 13:41:23 +02:00
Tom Payne
0f9578a694
Add build-examples target
2012-09-29 13:41:22 +02:00
Tom Payne
78317cdc5d
Change order of precommit steps
2012-09-29 13:21:58 +02:00
Tom Payne
7cff23cf63
Remove stale .gitignore entry
2012-09-29 13:20:22 +02:00
Tom Payne
83a3306bb7
Only rebuild doc when source changes
2012-09-29 12:33:01 +02:00
Tom Payne
2341e8cd8f
Add simple full screen example
2012-09-29 12:33:01 +02:00
Tom Payne
ea95ca4918
Rename full screen example to overlay and popup
2012-09-29 12:33:01 +02:00
Tom Payne
145312b273
Sort specs
2012-09-29 12:33:01 +02:00
Tom Payne
9494321c91
Use a Python script to generate requireall.js
...
This is needed to work around platform variations in the sort command.
2012-09-29 12:31:31 +02:00
Tom Payne
71e42b2448
Refactor build system
...
This rather large commit refactors the build system to solve a number of
problems:
- Object literal types are now declared in just one place
- There are no more circular dependencies
- There is no need for concealed subclasses in build-standalone mode
When building in standalone mode, you need to include the source in
build/src/external. This declares object literal types as externs so
that their properties are not renamed.
When building with the application, you need to include the source in
build/src/internal. This declares object literal types as typedefs so
that their properties can be renamed and removed.
Note also that ol.MapOptions has been merged into ol.Map, with some
renaming.
2012-09-29 11:51:53 +02:00
Tom Payne
012b8a584a
Add serve-precommit target for Travis
2012-09-29 11:51:53 +02:00
Tom Payne
68209bc5ac
Remove stray ignore
2012-09-29 11:51:53 +02:00
Tom Payne
b6c06f4760
Generate externs and typedefs
2012-09-28 21:55:48 +02:00
Tom Payne
e36169c936
Ignore all errors in when testing for WebGL
2012-09-28 21:36:03 +02:00
Tom Payne
2713addb33
More accurate WebGL support test, see issue #31
2012-09-28 20:05:14 +02:00
Tom Payne
3eebed4580
Add drag box in shift drag zoom control
2012-09-28 17:24:17 +02:00
Tom Payne
62dc6a1b45
Port @ahocevar's drag box control to the new control architecture
2012-09-28 17:24:17 +02:00
Tom Payne
3e824fc683
Avoid running build twice
2012-09-28 15:52:16 +02:00
Tom Payne
7bcb5886ad
Use CSS rule to separate attributions
2012-09-28 14:57:54 +02:00
Tom Payne
ed67bdc489
Make attribution control less ugly
2012-09-28 14:53:45 +02:00
Tom Payne
1be9e97489
Add attribution control by default
2012-09-28 14:53:45 +02:00
Tom Payne
acb411ef43
Use consistent naming for CSS classes
2012-09-28 14:32:41 +02:00
Tom Payne
a26f796577
Prettify CSS
2012-09-28 14:32:41 +02:00
Tom Payne
7bdb86b10e
Remove unused CSS classes
2012-09-28 14:32:40 +02:00
Tom Payne
da5ad0bf20
Minify CSS with Closure Stylesheets
...
See https://code.google.com/p/closure-stylesheets/
2012-09-28 14:16:25 +02:00
Tom Payne
31411ae33f
Remove unused style
2012-09-28 13:48:20 +02:00
Tom Payne
a341df3b41
Fix not-up-to-date transform bug in mouse position control
2012-09-28 13:48:20 +02:00
Tom Payne
0bf17f64f7
Initialize controls after map has been configured
2012-09-28 13:48:20 +02:00
Tom Payne
a46e251eb2
Update demos to use new controls system
2012-09-28 12:53:44 +02:00
Tom Payne
e2e983728e
Add controls to map
2012-09-28 12:52:54 +02:00
Tom Payne
e7eccb302d
Cope with map being null
2012-09-28 12:51:10 +02:00
Tom Payne
74f87995c8
Build doc in build/gh-pages directory
2012-09-28 12:25:06 +02:00
Tom Payne
e3c3c13ac2
Use goog.vec.Mat4.rotateZ
2012-09-27 18:21:33 +02:00
Tom Payne
8dc57d5148
Add ol.ASSUME_TOUCH @define
2012-09-27 18:21:21 +02:00
Tom Payne
7415a11c63
More responsive zoom buttons on touch devices thanks to @ahocevar
2012-09-27 18:07:17 +02:00
Tom Payne
0faab71e3f
Implement new control architecture
2012-09-27 17:54:20 +02:00
Tom Payne
65b4041aa3
Remove ol.control.DragBox temporarily
2012-09-27 17:54:20 +02:00
Tom Payne
fc81c0403e
Use new Bing Maps API key
2012-09-27 17:54:20 +02:00
Tom Payne
fd411eb9ab
Don't create controls in interactions
2012-09-27 16:34:39 +02:00
Tom Payne
7dbc70bcac
Don't try to be too clever with size changes
2012-09-27 14:05:19 +02:00
Tom Payne
7625607fd1
Only resize canvas when renderering
2012-09-27 14:05:19 +02:00
Tom Payne
ac0e02039c
s/POST_RENDER/POSTRENDER/
2012-09-27 14:05:19 +02:00
Tom Payne
1f55d139b2
Remove stray script element
2012-09-27 13:00:52 +02:00
Tom Payne
65b8e0f915
Use object literals and use generic tile layer
2012-09-27 12:45:00 +02:00
Tom Payne
5ddbf17c8d
Run lint on specs
2012-09-27 12:42:13 +02:00
Tom Payne
b7def4c8c4
Clean up some lint problems in specs
2012-09-27 12:42:13 +02:00
Tom Payne
c908e88dce
Fix overly-aggressive clean step
2012-09-27 12:42:13 +02:00
Tom Payne
d3b9af30d0
Don't modify return type of method
2012-09-27 09:36:55 +02:00
Tom Payne
96bd703271
s/tilesource/source/
2012-09-27 09:36:55 +02:00
Tom Payne
50334b7971
s/ol.TileLayer/ol.layer.TileLayer/
2012-09-27 09:36:55 +02:00
Tom Payne
ccf8eb3c97
Don't pass viewport size monitor to ol.Map constructor
2012-09-27 09:36:55 +02:00
Tom Payne
8ffdaad5f5
Only re-run lint when source files have changed
2012-09-27 09:36:55 +02:00
Tom Payne
9c798f410e
Work around circular dependency bug
2012-09-27 09:36:55 +02:00
Tom Payne
04325ee3fd
Remove unnecessary require, thanks @fredj
2012-09-26 19:46:13 +02:00
Tom Payne
290d03e76f
s/store/source/
2012-09-26 19:43:23 +02:00
Tom Payne
228e5a8dbf
Move requires to end of the file to ensure tests run even if goog.require fails
2012-09-26 19:40:16 +02:00
Tom Payne
ea81ce33dd
Add consistent API demo
2012-09-26 18:28:06 +02:00
Tom Payne
546f1f4b9f
Add initial exports and externs
2012-09-26 18:28:06 +02:00
Tom Payne
3b11398f35
Remove unnecessary precision
2012-09-26 18:28:05 +02:00
Tom Payne
a578dd6786
Remove unnecessary parentheses
2012-09-26 18:28:05 +02:00
Tom Payne
e7063953d7
Don't create a class for map options
2012-09-26 12:54:53 +02:00
Tom Payne
013e6c6320
Use zoom option
2012-09-26 12:54:53 +02:00
Tom Payne
b73b2d12c4
Replace ol.createMap with friendlier ol.Map constructor
2012-09-26 12:54:53 +02:00
Tom Payne
9f1743cb4d
Remove unused @export tags
2012-09-26 11:28:26 +02:00
Tom Payne
5db8724b9c
Use consistent whitespace in Makefile
2012-09-26 11:19:14 +02:00
Tom Payne
0eeae68ee9
Don't build demos with simple optimizations
2012-09-26 11:19:14 +02:00
Tom Payne
68f8f3d5b1
Use new extra compiler checks
2012-09-26 00:04:28 +02:00
Tom Payne
a32460945d
Use Plovr built on 2012-09-25
2012-09-25 19:51:56 +02:00
Tom Payne
8369924511
Remove debug code
2012-09-25 14:00:19 +02:00
Tom Payne
06ea619989
Avoid re-rendering framebuffer in simple cases
2012-09-25 13:54:15 +02:00
Tom Payne
1bb2c3c451
Enable debugging in full screen demo
2012-09-25 13:54:15 +02:00
Tom Payne
f2cd64f66f
Add precommit target
2012-09-25 12:25:14 +02:00
Tom Payne
c2e08861e5
Correct order of transformations
2012-09-25 12:23:11 +02:00
Tom Payne
88fd7729e2
Add missing dependency
2012-09-25 12:18:49 +02:00
Tom Payne
c956ab3482
Relax unit tests as PhantomJS generates the wrong result on Mac OS X
2012-09-25 11:32:31 +02:00
Tom Payne
ae34e8d261
Add full screen demo
2012-09-25 10:59:38 +02:00
Tom Payne
b435ccc026
Satisfy gjslint
2012-09-25 10:26:10 +02:00
Tom Payne
424dbd7582
Remove problematic (and unused) clone methods, move contains out of ol.Rectangle
2012-09-25 00:04:45 +02:00
Tom Payne
c43e04ea77
Refactor to support stricter new compiler
2012-09-25 00:03:53 +02:00
Tom Payne
2d7a21eaa0
More gjslint fixes
2012-09-25 00:03:53 +02:00
Tom Payne
8394147df1
Satisfy gjslint
2012-09-24 21:25:29 +02:00
Tom Payne
bd5ef6b361
Make path to jsdoc configurable
2012-09-24 18:30:32 +02:00
Tom Payne
b7020750ac
Add initial exports
2012-09-24 18:25:19 +02:00