Commit Graph
100 Commits
Author SHA1 Message Date
Tom Payne e7d5022dc1 Add projection option to ol.source.XYZ 2012-10-25 18:48:24 +02:00
Tom Payne 92b13b36d9 Prevent default in double click zoom (refs #70) 2012-10-24 16:30:44 +02:00
Tom Payne bb53278db5 Merge pull request #66 from twpayne/coordinate-format-cleanup
Coordinate format cleanup
2012-10-19 10:21:09 -07:00
Tom Payne ee1d1fa3e7 Fold ol.CoordinateFormat into ol.Coordinate 2012-10-18 14:22:23 +02:00
Tom Payne 860b4407b7 Add ol.Extent.get{Bottom,Top}{Left,Right} 2012-10-18 13:49:10 +02:00
Tom Payne cd7627f626 Lint examples 2012-10-18 13:48:52 +02:00
Tom Payne 061c173e64 Merge pull request #64 from twpayne/examples-index
Examples index
2012-10-18 02:15:46 -07:00
Tom Payne e21c182641 Use Chrome Frame if available 2012-10-17 18:20:25 +02:00
Tom Payne 68a71c4a53 Add Tom Payne to authors.txt 2012-10-17 17:43:27 +02:00
Tom Payne a82e523f6b Try multiple context ids to get a WebGL context 2012-10-17 17:36:07 +02:00
Tom Payne 5011123228 Use ol.webgl.getContext is WebGL support test 2012-10-17 17:27:11 +02:00
Tom Payne 8cb28a7217 Move WebGL support test into ol.webgl 2012-10-17 17:25:37 +02:00
Tom Payne 1d40b64db1 Move WebGL context creation into ol.webgl 2012-10-17 17:23:30 +02:00
Tom Payne 0e81f67a00 Host example index 2012-10-17 11:36:54 +02:00
Tom Payne e9dbb00039 Pass query string through example index
This is so that visiting

    /examples/index.html?mode=RAW&Debug=true

will automatically add ?mode=RAW&Debug=true to all links in the
generated index.
2012-10-17 11:31:40 +02:00
Tom Payne f120410d6d Add option to hook in scripts to index generator 2012-10-17 11:29:41 +02:00
Tom Payne 129578a515 Build examples index 2012-10-17 11:22:11 +02:00
Tom Payne 7f39f1d32d Add script to generate example index 2012-10-17 11:13:01 +02:00
Tom Payne a38468c854 Merge pull request #60 from twpayne/hosted-examples
Hosted examples
2012-10-16 02:12:16 -07:00
Tom Payne 3e6d374859 Ensure z as object keys are sorted as numbers 2012-10-16 11:04:56 +02:00
Tom Payne ed197f3cfe Revert "Two lessons learned"
This reverts commit f8462460bf.
2012-10-16 10:59:53 +02:00
Tom Payne f7adc1ae75 Use identical code in compiled and standalone examples 2012-10-15 19:12:55 +02:00
Tom Payne f9302ab030 Export goog.require as goog.nullFunction 2012-10-15 19:12:06 +02:00
Tom Payne b45c2ca4bc Add optional argument to @exportSymbol 2012-10-15 19:11:51 +02:00
Tom Payne 98340c55ce Don't use goog.* functions in examples 2012-10-15 19:11:02 +02:00
Tom Payne 0392d898c3 Merge pull request #56 from twpayne/interaction-conditions
Abstract out key conditions for interactions, fixes #51, see also #54
2012-10-12 11:04:12 -07:00
Tom Payne 936584ceaa Use goog.array.map for browser compatability, thanks @AugustusKling 2012-10-10 13:49:01 +02:00
Tom Payne ac8dd5db98 Fix sort problem identified by @tschaub in f8462460bf 2012-10-10 10:27:42 +02:00
Tom Payne 8df0cfb9d9 Abstract out key conditions for interactions, fixes #51, see also #54 2012-10-08 12:55:20 +02:00
Tom Payne 1880cca940 Merge pull request #41 from twpayne/exports-externs
Refactor exports and externs
2012-10-04 06:16:31 -07:00
Tom Payne d5002872dd Replace tabs with spaces 2012-10-04 15:12:50 +02:00
Tom Payne 9d253ab6bb Refactor exports and externs 2012-10-04 15:11:26 +02:00
Tom Payne d35df1d53b More detailed texture upload logging 2012-10-04 11:38:21 +02:00
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