Compare commits
4 Commits
v3.11.0-be
...
release-2.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c71898eb0b | ||
|
|
aeff2e62df | ||
|
|
6162cbafec | ||
|
|
7884e9527f |
@@ -1,17 +0,0 @@
|
|||||||
root = true
|
|
||||||
|
|
||||||
[*]
|
|
||||||
indent_style = space
|
|
||||||
indent_size = 2
|
|
||||||
end_of_line = lf
|
|
||||||
charset = utf-8
|
|
||||||
trim_trailing_whitespace = true
|
|
||||||
insert_final_newline = true
|
|
||||||
|
|
||||||
[*.md]
|
|
||||||
indent_size = 2
|
|
||||||
trim_trailing_whitespace = false
|
|
||||||
|
|
||||||
[Makefile]
|
|
||||||
indent_style = tab
|
|
||||||
indent_size = 4
|
|
||||||
5
.gitignore
vendored
@@ -1,5 +0,0 @@
|
|||||||
*.pyc
|
|
||||||
/build/
|
|
||||||
/node_modules/
|
|
||||||
/dist/
|
|
||||||
/coverage/
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
*.pyc
|
|
||||||
/build/
|
|
||||||
31
.travis.yml
@@ -1,31 +0,0 @@
|
|||||||
sudo: required
|
|
||||||
dist: trusty
|
|
||||||
|
|
||||||
language: node_js
|
|
||||||
|
|
||||||
node_js:
|
|
||||||
- "4"
|
|
||||||
|
|
||||||
cache:
|
|
||||||
directories:
|
|
||||||
- node_modules
|
|
||||||
env:
|
|
||||||
- DISPLAY=:99.0
|
|
||||||
|
|
||||||
before_install:
|
|
||||||
- "npm prune"
|
|
||||||
- "sudo pip install -r requirements.txt"
|
|
||||||
|
|
||||||
before_script:
|
|
||||||
- "rm src/ol/renderer/webgl/*shader.js"
|
|
||||||
- "sh -e /etc/init.d/xvfb start"
|
|
||||||
|
|
||||||
script: "make ci"
|
|
||||||
|
|
||||||
after_success:
|
|
||||||
- "make test-coverage"
|
|
||||||
- "cat coverage/lcov.info | ./node_modules/.bin/coveralls"
|
|
||||||
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
213
CONTRIBUTING.md
@@ -1,213 +0,0 @@
|
|||||||
# Contributing to OpenLayers 3
|
|
||||||
|
|
||||||
Thanks for your interest in contributing to OpenLayers 3.
|
|
||||||
|
|
||||||
## Asking Questions
|
|
||||||
|
|
||||||
Please ask questions about using the library on [stackoverflow using the tag 'openlayers-3'](http://stackoverflow.com/questions/tagged/openlayers-3).
|
|
||||||
|
|
||||||
When you want to get involved and discuss new features or changes, please use [the mailing list](https://groups.google.com/forum/#!forum/ol3-dev).
|
|
||||||
|
|
||||||
|
|
||||||
## Submitting Bug Reports
|
|
||||||
|
|
||||||
Please use the [GitHub issue tracker](https://github.com/openlayers/ol3/issues). Before creating a new issue, do a quick search to see if the problem has been reported already.
|
|
||||||
|
|
||||||
|
|
||||||
## Getting Familiar with the Code in the Repository
|
|
||||||
|
|
||||||
Look for `readme.md` files! Several directories contain a `readme.md` file that explains the contents of the directory and how to work with them.
|
|
||||||
|
|
||||||
|
|
||||||
## Contributing Code
|
|
||||||
|
|
||||||
See [`DEVELOPING.md`](https://github.com/openlayers/ol3/blob/master/DEVELOPING.md) to learn how to get started developing.
|
|
||||||
|
|
||||||
Our preferred means of receiving contributions is through [pull requests](https://help.github.com/articles/using-pull-requests). Make sure
|
|
||||||
that your pull request follows our pull request guidelines below before submitting it.
|
|
||||||
|
|
||||||
This page describes what you need to know to contribute code to ol3 as a developer.
|
|
||||||
|
|
||||||
|
|
||||||
## Contributor License Agreement
|
|
||||||
|
|
||||||
Before accepting a contribution, we ask that you provide us a Contributor
|
|
||||||
License Agreement. If you are making your contribution as part of work for
|
|
||||||
your employer, please follow the guidelines on submitting a [Corporate
|
|
||||||
Contributor License Agreement](https://raw.github.com/openlayers/cla/master/ccla.txt). If you are
|
|
||||||
making your contribution as an individual, you can submit a digital [Individual
|
|
||||||
Contributor License Agreement](https://docs.google.com/spreadsheet/viewform?formkey=dGNNVUJEMXF2dERTU0FXM3JjNVBQblE6MQ).
|
|
||||||
|
|
||||||
|
|
||||||
## Pull request guidelines
|
|
||||||
|
|
||||||
Before working on a pull request, create an issue explaining what you want to contribute. This ensures that your pull request won't go unnoticed, and that you are not contributing something that is not suitable for the project. Once a core developer has set the `pull request accepted` label on the issue, you can submit a pull request. The pull request description should reference the original issue.
|
|
||||||
|
|
||||||
Your pull request must:
|
|
||||||
|
|
||||||
* Follow OpenLayers 3's coding style.
|
|
||||||
|
|
||||||
* Pass the integration tests run automatically by the Travis Continuous
|
|
||||||
Integration system.
|
|
||||||
|
|
||||||
* Address a single issue or add a single item of functionality.
|
|
||||||
|
|
||||||
* Contain a clean history of small, incremental, logically separate commits,
|
|
||||||
with no merge commits.
|
|
||||||
|
|
||||||
* Use clear commit messages.
|
|
||||||
|
|
||||||
* Be possible to merge automatically.
|
|
||||||
|
|
||||||
|
|
||||||
### The `check` build target
|
|
||||||
|
|
||||||
It is strongly recommended that you run
|
|
||||||
|
|
||||||
$ make check
|
|
||||||
|
|
||||||
before every commit. This will catch many problems quickly, and it is much
|
|
||||||
faster than waiting for the Travis CI integration tests to run.
|
|
||||||
|
|
||||||
The `check` build target runs a number of quick tests on your code. These
|
|
||||||
include:
|
|
||||||
|
|
||||||
* Lint
|
|
||||||
* Compile
|
|
||||||
* Tests
|
|
||||||
|
|
||||||
|
|
||||||
### Follow OpenLayers 3's coding style
|
|
||||||
|
|
||||||
OpenLayers 3 follows [Google's JavaScript Style
|
|
||||||
Guide](http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml).
|
|
||||||
This is checked using the [Closure
|
|
||||||
Linter](https://developers.google.com/closure/utilities/) in strict mode. You
|
|
||||||
can run the linter locally on your machine before committing using the `lint`
|
|
||||||
target:
|
|
||||||
|
|
||||||
$ make lint
|
|
||||||
|
|
||||||
In addition to fixing problems identified by the linter, please also follow the
|
|
||||||
style of the existing OpenLayers 3 code, which includes:
|
|
||||||
|
|
||||||
* Always wrap the body of `for`, `if`, and `while` statements in braces.
|
|
||||||
|
|
||||||
* Class methods should be in alphabetical order.
|
|
||||||
|
|
||||||
* `var` declarations should not span multiple lines. If you cannot fit all
|
|
||||||
the declarations in a single line, then start a new `var` declaration on a
|
|
||||||
new line. Within a single line, variables should be declared in
|
|
||||||
alphabetical order.
|
|
||||||
|
|
||||||
* Do not use assignments inside expressions.
|
|
||||||
|
|
||||||
* Avoid the use of `goog.array.clone` with arrays (use slice instead).
|
|
||||||
|
|
||||||
* Use `array.length = 0` instead of `goog.array.clear`.
|
|
||||||
|
|
||||||
* Use bracket notation instead of `goog.object.set` and `goog.object.get` (with
|
|
||||||
two arguments).
|
|
||||||
|
|
||||||
* Use uppercase for `@const` variables.
|
|
||||||
|
|
||||||
### Configure your editor
|
|
||||||
|
|
||||||
If possible, configure your editor to follow the coding conventions of the
|
|
||||||
library. A `.editorconfig` file is included at the root of the repository that
|
|
||||||
can be used to configure whitespace and charset handling in your editor. See
|
|
||||||
that file for a description of the conventions. The [EditorConfig](
|
|
||||||
http://editorconfig.org/#download) site links to plugins for various editors.
|
|
||||||
|
|
||||||
### Pass the integration tests run automatically by the Travis CI system
|
|
||||||
|
|
||||||
The integration tests contain a number of automated checks to ensure that the
|
|
||||||
code follows the OpenLayers 3 style and does not break tests or examples. You
|
|
||||||
can run the integration tests locally using the `ci` target:
|
|
||||||
|
|
||||||
$ make ci
|
|
||||||
|
|
||||||
|
|
||||||
### Address a single issue or add a single item of functionality
|
|
||||||
|
|
||||||
Please submit separate pull requests for separate issues. This allows each to
|
|
||||||
be reviewed on its own merits.
|
|
||||||
|
|
||||||
|
|
||||||
### Contain a clean history of small, incremental, logically separate commits, with no merge commits
|
|
||||||
|
|
||||||
The commit history explains to the reviewer the series of modifications to the
|
|
||||||
code that you have made and breaks the overall contribution into a series of
|
|
||||||
easily-understandable chunks. Any individual commit should not add more than
|
|
||||||
one new class or one new function. Do not submit commits that change thousands
|
|
||||||
of lines or that contain more than one distinct logical change. Trivial
|
|
||||||
commits, e.g. to fix lint errors, should be merged into the commit that
|
|
||||||
introduced the error. See the [Atomic Commit Convention on Wikipedia](http://en.wikipedia.org/wiki/Atomic_commit#Atomic_Commit_Convention) for more detail.
|
|
||||||
|
|
||||||
`git apply --patch` and `git rebase` can help you create a clean commit
|
|
||||||
history.
|
|
||||||
[Reviewboard.org](http://www.reviewboard.org/docs/codebase/dev/git/clean-commits/)
|
|
||||||
and [Pro GIT](http://git-scm.com/book/en/Git-Tools-Rewriting-History) have
|
|
||||||
explain how to use them.
|
|
||||||
|
|
||||||
|
|
||||||
### Use clear commit messages
|
|
||||||
|
|
||||||
Commit messages should be short, begin with a verb in the imperative, and
|
|
||||||
contain no trailing punctuation. We follow
|
|
||||||
http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
|
|
||||||
for the formatting of commit messages.
|
|
||||||
|
|
||||||
Git commit message should look like:
|
|
||||||
|
|
||||||
Header line: explaining the commit in one line
|
|
||||||
|
|
||||||
Body of commit message is a few lines of text, explaining things
|
|
||||||
in more detail, possibly giving some background about the issue
|
|
||||||
being fixed, etc etc.
|
|
||||||
|
|
||||||
The body of the commit message can be several paragraphs, and
|
|
||||||
please do proper word-wrap and keep columns shorter than about
|
|
||||||
74 characters or so. That way "git log" will show things
|
|
||||||
nicely even when it's indented.
|
|
||||||
|
|
||||||
Further paragraphs come after blank lines.
|
|
||||||
|
|
||||||
Please keep the header line short, no more than 50 characters.
|
|
||||||
|
|
||||||
### Be possible to merge automatically
|
|
||||||
|
|
||||||
Occasionally other changes to `master` might mean that your pull request cannot
|
|
||||||
be merged automatically. In this case you may need to rebase your branch on a
|
|
||||||
more recent `master`, resolve any conflicts, and `git push --force` to update
|
|
||||||
your branch so that it can be merged automatically.
|
|
||||||
|
|
||||||
## Building on Windows
|
|
||||||
|
|
||||||
Most developers build on Linux. Building on Windows is possible under Cygwin.
|
|
||||||
When installing Cygwin from https://www.cygwin.com/, include the developer
|
|
||||||
tools to get GNU make.
|
|
||||||
|
|
||||||
First (before npm install), to avoid file permission problems between Windows
|
|
||||||
and Cygwin, edit Cygwin's /etc/fstab file to disable ACLs like this
|
|
||||||
`none /cygdrive cygdrive binary,noacl,posix=0,user 0 0`
|
|
||||||
|
|
||||||
Python is normally installed with Cygwin so need not be installed separately.
|
|
||||||
By default Cygwin will use its own version of Python rather than Window's,
|
|
||||||
so the Python modules should be installed for Cygwin's Python.
|
|
||||||
|
|
||||||
The build targets `check-deps`, `serve`, `lint`, `build`, `test`, `check` and
|
|
||||||
`host-examples` described above should all work. `host-examples` takes quite a
|
|
||||||
while to run. If a target does not run properly first time, try it again.
|
|
||||||
|
|
||||||
Currently, Firefox fails to run http://localhost:3000/build/examples
|
|
||||||
from make serve, but Chrome and Internet Explorer will.
|
|
||||||
|
|
||||||
Microsoft Visual Studio's javascript debugger may be used to debug the
|
|
||||||
build/hosted/your-branch/examples. It will be convenient to set
|
|
||||||
build/hosted/your-branch/examples/index.html as the startup page.
|
|
||||||
|
|
||||||
Your ol3 source tree need not be under the Cygwin root.
|
|
||||||
if you checkout to c:/ol3 then you can build under Cygwin at /cygdrive/c/ol3 .
|
|
||||||
However, keep the path to the ol3 files short otherwise you may see
|
|
||||||
`ENAMETOOLONG` errors.
|
|
||||||
155
DEVELOPING.md
@@ -1,155 +0,0 @@
|
|||||||
# Developing
|
|
||||||
|
|
||||||
## Setting up development environment
|
|
||||||
|
|
||||||
You will obviously start by
|
|
||||||
[forking](https://github.com/openlayers/ol3/fork) the ol3 repository.
|
|
||||||
|
|
||||||
### Travis CI
|
|
||||||
|
|
||||||
The Travis CI hook is enabled on the Github repository. This means every pull request
|
|
||||||
is run through a full test suite to ensure it compiles and passes the tests. Failing
|
|
||||||
pull requests will not be merged.
|
|
||||||
|
|
||||||
Although not mandatory, it is also recommended to set up Travis CI for your ol3 fork.
|
|
||||||
For that go to your ol3 fork's Service Hooks page and set up the Travis hook.
|
|
||||||
Then every time you push to your fork, the test suite will be run. This means
|
|
||||||
errors can be caught before creating a pull request. For those making
|
|
||||||
small or occasional contributions, this may be enough to check that your contributions
|
|
||||||
are ok; in this case, you do not need to install the build tools on your local environment
|
|
||||||
as described below.
|
|
||||||
|
|
||||||
### Development dependencies
|
|
||||||
|
|
||||||
The minimum requirements are:
|
|
||||||
|
|
||||||
* GNU Make
|
|
||||||
* Git
|
|
||||||
* [Node.js](http://nodejs.org/) (0.10.x or higher)
|
|
||||||
* Python 2.6 or 2.7 with a couple of extra modules (see below)
|
|
||||||
* Java 7 (JRE and JDK)
|
|
||||||
|
|
||||||
The executables `git`, `node`, `python` and `java` should be in your `PATH`.
|
|
||||||
|
|
||||||
You can check your configuration by running:
|
|
||||||
|
|
||||||
$ make check-deps
|
|
||||||
|
|
||||||
To install the Node.js dependencies run
|
|
||||||
|
|
||||||
$ npm install
|
|
||||||
|
|
||||||
To install the extra Python modules, run:
|
|
||||||
|
|
||||||
$ sudo pip install -r requirements.txt
|
|
||||||
or
|
|
||||||
|
|
||||||
$ cat requirements.txt | sudo xargs easy_install
|
|
||||||
|
|
||||||
depending on your OS and Python installation.
|
|
||||||
|
|
||||||
(You can also install the Python modules in a Python virtual environment if you want to.)
|
|
||||||
|
|
||||||
## Working with the build tool
|
|
||||||
|
|
||||||
As an ol3 developer you will use `make` to run build targets defined in the
|
|
||||||
`Makefile` located at the root of the repository. The `Makefile` includes
|
|
||||||
targets for running the linter, the compiler, the tests, etc.
|
|
||||||
|
|
||||||
The usage of `make` is as follows:
|
|
||||||
|
|
||||||
$ make <target>
|
|
||||||
|
|
||||||
where `<target>` is the name of the build target you want to execute. For
|
|
||||||
example:
|
|
||||||
|
|
||||||
$ make test
|
|
||||||
|
|
||||||
The main build targets are `serve`, `lint`, `build`, `test`, and `check`. The
|
|
||||||
latter is a meta-target that basically runs `lint`, `build`, and `test`.
|
|
||||||
|
|
||||||
The `serve` target starts a node-based web server, which we will refer to as the *dev server*. You'll need to start that server for running the examples and the tests in a browser. More information on that further down.
|
|
||||||
|
|
||||||
Other targets include `apidoc` and `ci`. The latter is the target used on Travis CI. See ol3's [Travis configuration file](https://github.com/openlayers/ol3/blob/master/.travis.yml).
|
|
||||||
|
|
||||||
## Running the `check` target
|
|
||||||
|
|
||||||
The `check` target is to be run before pushing code to GitHub and opening pull
|
|
||||||
requests. Branches that don't pass `check` won't pass the integration tests,
|
|
||||||
and have therefore no chance of being merged into `master`.
|
|
||||||
|
|
||||||
To run the `check` target:
|
|
||||||
|
|
||||||
$ make check
|
|
||||||
|
|
||||||
If you want to run the full suite of integration tests, see "Running the integration
|
|
||||||
tests" below.
|
|
||||||
|
|
||||||
## Running examples
|
|
||||||
|
|
||||||
To run the examples you first need to start the dev server:
|
|
||||||
|
|
||||||
$ make serve
|
|
||||||
|
|
||||||
Then, just point your browser <http://localhost:3000/build/examples> in your browser. For example <http://localhost:3000/build/examples/side-by-side.html>.
|
|
||||||
|
|
||||||
Run examples against the `ol.js` standalone build:
|
|
||||||
|
|
||||||
The examples can also be run against the `ol.js` standalone build, just like
|
|
||||||
the examples [hosted](http://openlayers.org/en/master/examples/) on GitHub.
|
|
||||||
Start by executing the `host-examples` build target:
|
|
||||||
|
|
||||||
$ make host-examples
|
|
||||||
|
|
||||||
After running `host-examples` you can now open the examples index page in the browser: <http://localhost:3000/build/hosted/master/examples/>. (This assumes that you still have the dev server running.)
|
|
||||||
|
|
||||||
Append `?mode=raw` to make the example work in full debug mode. In raw mode the OpenLayers and Closure Library scripts are loaded individually by the Closure Library's `base.js` script (which the example page loads and executes before any other script).
|
|
||||||
|
|
||||||
## Running tests
|
|
||||||
|
|
||||||
To run the tests in a browser start the dev server (`make serve`) and open <http://localhost:3000/test/index.html> in the browser.
|
|
||||||
|
|
||||||
To run the tests on the console (headless testing with PhantomJS) use the `test` target:
|
|
||||||
|
|
||||||
$ make test
|
|
||||||
|
|
||||||
See also the test-specific [README](../master/test/README.md).
|
|
||||||
|
|
||||||
## Running the integration tests
|
|
||||||
|
|
||||||
When you submit a pull request the [Travis continuous integration
|
|
||||||
server](https://travis-ci.org/) will run a full suite of tests, including
|
|
||||||
building all versions of the library and checking that all of the examples
|
|
||||||
work. You will receive an email with the results, and the status will be
|
|
||||||
displayed in the pull request.
|
|
||||||
|
|
||||||
To run the full suite of integration tests use the `ci` target:
|
|
||||||
|
|
||||||
$ make ci
|
|
||||||
|
|
||||||
Running the full suite of integration tests currently takes 5-10 minutes.
|
|
||||||
|
|
||||||
This makes sure that your commit won't break the build. It also runs JSDoc3 to
|
|
||||||
make sure that there are no invalid API doc directives.
|
|
||||||
|
|
||||||
## Adding examples
|
|
||||||
|
|
||||||
Adding functionality often implies adding one or several examples. This
|
|
||||||
section provides explanations related to adding examples.
|
|
||||||
|
|
||||||
The examples are located in the `examples` directory. Adding a new example
|
|
||||||
implies creating two or three files in this directory, an `.html` file, a `.js`
|
|
||||||
file, and, optionally, a `.css` file.
|
|
||||||
|
|
||||||
You can use `simple.js` and `simple.html` as templates for new examples.
|
|
||||||
|
|
||||||
### Use of the `goog` namespace in examples
|
|
||||||
|
|
||||||
Short story: the ol3 examples should not use the `goog` namespace, except
|
|
||||||
for `goog.require`.
|
|
||||||
|
|
||||||
Longer story: we want that the ol3 examples work in multiple modes, with the
|
|
||||||
standalone lib (which has implications of the symbols and properties we
|
|
||||||
export), and compiled together with the ol3 library.
|
|
||||||
|
|
||||||
Compiling the examples together with the library makes it mandatory to declare dependencies with `goog.require` statements.
|
|
||||||
26
LICENSE.md
@@ -1,26 +0,0 @@
|
|||||||
Copyright 2005-2015 OpenLayers Contributors. All rights reserved.
|
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without modification,
|
|
||||||
are permitted provided that the following conditions are met:
|
|
||||||
|
|
||||||
1. Redistributions of source code must retain the above copyright notice, this
|
|
||||||
list of conditions and the following disclaimer.
|
|
||||||
|
|
||||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
||||||
this list of conditions and the following disclaimer in the documentation and/or
|
|
||||||
other materials provided with the distribution.
|
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY OPENLAYERS CONTRIBUTORS ``AS IS'' AND ANY EXPRESS
|
|
||||||
OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
|
||||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
|
|
||||||
SHALL COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
||||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
||||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
||||||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
||||||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
|
||||||
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
|
||||||
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
|
|
||||||
The views and conclusions contained in the software and documentation are those
|
|
||||||
of the authors and should not be interpreted as representing official policies,
|
|
||||||
either expressed or implied, of OpenLayers Contributors.
|
|
||||||
327
Makefile
@@ -1,327 +0,0 @@
|
|||||||
OS := $(shell uname)
|
|
||||||
BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
|
|
||||||
|
|
||||||
SRC_GLSL := $(shell find src -type f -name '*.glsl')
|
|
||||||
SRC_SHADER_JS := $(patsubst %.glsl,%shader.js,$(SRC_GLSL))
|
|
||||||
SRC_JS := $(filter-out $(SRC_SHADER_JS),$(shell find src -name '*.js'))
|
|
||||||
SRC_JSDOC = $(shell find src -type f -name '*.jsdoc')
|
|
||||||
|
|
||||||
SPEC_JS := $(shell find test/spec -type f -name '*.js')
|
|
||||||
SPEC_RENDERING_JS := $(shell find test_rendering/spec -name '*.js')
|
|
||||||
|
|
||||||
EXAMPLES := $(shell find examples -type f)
|
|
||||||
EXAMPLES_HTML := $(filter-out examples/index.html,$(shell find examples -maxdepth 1 -type f -name '*.html'))
|
|
||||||
EXAMPLES_JS := $(patsubst %.html,%.js,$(EXAMPLES_HTML))
|
|
||||||
|
|
||||||
BUILD_EXAMPLES := $(subst examples,build/examples,$(EXAMPLES)) build/examples/index.js
|
|
||||||
|
|
||||||
BUILD_HOSTED := build/hosted/$(BRANCH)
|
|
||||||
BUILD_HOSTED_EXAMPLES := $(addprefix $(BUILD_HOSTED)/,$(EXAMPLES))
|
|
||||||
BUILD_HOSTED_EXAMPLES_JS := $(addprefix $(BUILD_HOSTED)/,$(EXAMPLES_JS))
|
|
||||||
|
|
||||||
UNPHANTOMABLE_EXAMPLES = examples/shaded-relief.html examples/raster.html examples/region-growing.html examples/color-manipulation.html
|
|
||||||
CHECK_EXAMPLE_TIMESTAMPS = $(patsubst examples/%.html,build/timestamps/check-%-timestamp,$(filter-out $(UNPHANTOMABLE_EXAMPLES),$(EXAMPLES_HTML)))
|
|
||||||
|
|
||||||
TASKS_JS := $(shell find tasks -name '*.js')
|
|
||||||
|
|
||||||
ifeq (CYGWIN,$(findstring CYGWIN,$(OS)))
|
|
||||||
CLOSURE_LIB = $(shell cygpath -u $(shell node -e 'process.stdout.write(require("closure-util").getLibraryPath())'))
|
|
||||||
else
|
|
||||||
CLOSURE_LIB = $(shell node -e 'process.stdout.write(require("closure-util").getLibraryPath())')
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(OS),Darwin)
|
|
||||||
STAT_COMPRESSED = stat -f ' compressed: %z bytes'
|
|
||||||
STAT_UNCOMPRESSED = stat -f 'uncompressed: %z bytes'
|
|
||||||
else
|
|
||||||
STAT_COMPRESSED = stat -c ' compressed: %s bytes'
|
|
||||||
STAT_UNCOMPRESSED = stat -c 'uncompressed: %s bytes'
|
|
||||||
endif
|
|
||||||
|
|
||||||
.PHONY: default
|
|
||||||
default: help
|
|
||||||
|
|
||||||
.PHONY: help
|
|
||||||
help:
|
|
||||||
@echo
|
|
||||||
@echo "The most common targets are:"
|
|
||||||
@echo
|
|
||||||
@echo "- install Install node dependencies"
|
|
||||||
@echo "- serve Start dev server for running examples and tests"
|
|
||||||
@echo "- test Run unit tests in the console"
|
|
||||||
@echo "- check Perform a number of checks on the code"
|
|
||||||
@echo "- clean Remove generated files"
|
|
||||||
@echo "- help Display this help message"
|
|
||||||
@echo
|
|
||||||
@echo "Other less frequently used targets are:"
|
|
||||||
@echo
|
|
||||||
@echo "- build Build ol.js, ol-debug.js, ol.js.map and ol.css"
|
|
||||||
@echo "- lint Check the code with the linter"
|
|
||||||
@echo "- ci Run the full continuous integration process"
|
|
||||||
@echo "- apidoc Build the API documentation using JSDoc"
|
|
||||||
@echo "- cleanall Remove all the build artefacts"
|
|
||||||
@echo "- check-deps Check if the required dependencies are installed"
|
|
||||||
@echo
|
|
||||||
|
|
||||||
.PHONY: apidoc
|
|
||||||
apidoc: build/timestamps/jsdoc-$(BRANCH)-timestamp
|
|
||||||
|
|
||||||
.PHONY: build
|
|
||||||
build: build/ol.css build/ol.js build/ol-debug.js build/ol.js.map
|
|
||||||
|
|
||||||
.PHONY: check
|
|
||||||
check: lint build/ol.js test
|
|
||||||
|
|
||||||
.PHONY: check-examples
|
|
||||||
check-examples: $(CHECK_EXAMPLE_TIMESTAMPS)
|
|
||||||
|
|
||||||
.PHONY: check-deps
|
|
||||||
check-deps: EXECUTABLES = git node python java
|
|
||||||
check-deps:
|
|
||||||
@for exe in $(EXECUTABLES) ;\
|
|
||||||
do \
|
|
||||||
which $${exe} > /dev/null && \
|
|
||||||
echo "Program $${exe} OK" || \
|
|
||||||
echo "Program $${exe} MISSING!" ;\
|
|
||||||
done ;\
|
|
||||||
|
|
||||||
.PHONY: ci
|
|
||||||
ci: lint build test test-rendering compile-examples check-examples apidoc
|
|
||||||
|
|
||||||
.PHONY: compile-examples
|
|
||||||
compile-examples: build/compiled-examples/all.combined.js
|
|
||||||
|
|
||||||
.PHONY: clean
|
|
||||||
clean:
|
|
||||||
rm -f build/timestamps/gjslint-timestamp
|
|
||||||
rm -f build/timestamps/jshint-timestamp
|
|
||||||
rm -f build/timestamps/check-*-timestamp
|
|
||||||
rm -f build/ol.css
|
|
||||||
rm -f build/ol.js
|
|
||||||
rm -f build/ol.js.map
|
|
||||||
rm -f build/ol-debug.js
|
|
||||||
rm -f build/test_requires.js
|
|
||||||
rm -f build/test_rendering_requires.js
|
|
||||||
rm -rf build/examples
|
|
||||||
rm -rf build/compiled-examples
|
|
||||||
rm -rf $(BUILD_HOSTED)
|
|
||||||
|
|
||||||
.PHONY: cleanall
|
|
||||||
cleanall:
|
|
||||||
rm -rf build
|
|
||||||
|
|
||||||
.PHONY: css
|
|
||||||
css: build/ol.css
|
|
||||||
|
|
||||||
.PHONY: examples
|
|
||||||
examples: $(BUILD_EXAMPLES)
|
|
||||||
|
|
||||||
.PHONY: install
|
|
||||||
install: build/timestamps/node-modules-timestamp
|
|
||||||
|
|
||||||
.PHONY: lint
|
|
||||||
lint: build/timestamps/gjslint-timestamp build/timestamps/jshint-timestamp \
|
|
||||||
build/timestamps/check-requires-timestamp \
|
|
||||||
build/timestamps/check-whitespace-timestamp
|
|
||||||
|
|
||||||
.PHONY: npm-install
|
|
||||||
npm-install: build/timestamps/node-modules-timestamp
|
|
||||||
|
|
||||||
.PHONY: shaders
|
|
||||||
shaders: $(SRC_SHADER_JS)
|
|
||||||
|
|
||||||
.PHONY: serve
|
|
||||||
serve: build/test_requires.js build/test_rendering_requires.js
|
|
||||||
node tasks/serve.js
|
|
||||||
|
|
||||||
.PHONY: test
|
|
||||||
test: build/timestamps/node-modules-timestamp build/test_requires.js
|
|
||||||
node tasks/test.js
|
|
||||||
|
|
||||||
.PHONY: test-coverage
|
|
||||||
test-coverage: build/timestamps/node-modules-timestamp
|
|
||||||
node tasks/test-coverage.js
|
|
||||||
|
|
||||||
.PHONY: test-rendering
|
|
||||||
test-rendering: build/timestamps/node-modules-timestamp \
|
|
||||||
build/test_rendering_requires.js
|
|
||||||
@rm -rf build/slimerjs-profile
|
|
||||||
@mkdir -p build/slimerjs-profile
|
|
||||||
@cp -r test_rendering/slimerjs-profile/* build/slimerjs-profile/
|
|
||||||
node tasks/test-rendering.js
|
|
||||||
|
|
||||||
.PHONY: host-examples
|
|
||||||
host-examples: $(BUILD_HOSTED_EXAMPLES) \
|
|
||||||
$(BUILD_HOSTED)/build/ol.js \
|
|
||||||
$(BUILD_HOSTED)/build/ol-debug.js \
|
|
||||||
$(BUILD_HOSTED)/css/ol.css \
|
|
||||||
$(BUILD_HOSTED)/examples/loader.js \
|
|
||||||
$(BUILD_HOSTED)/examples/index.js \
|
|
||||||
$(BUILD_HOSTED)/build/ol-deps.js
|
|
||||||
|
|
||||||
.PHONY: host-libraries
|
|
||||||
host-libraries: build/timestamps/node-modules-timestamp
|
|
||||||
@rm -rf $(BUILD_HOSTED)/closure-library
|
|
||||||
@mkdir -p $(BUILD_HOSTED)/closure-library
|
|
||||||
@cp -r $(CLOSURE_LIB)/* $(BUILD_HOSTED)/closure-library/
|
|
||||||
@rm -rf $(BUILD_HOSTED)/ol/ol
|
|
||||||
@mkdir -p $(BUILD_HOSTED)/ol/ol
|
|
||||||
@cp -r src/ol/* $(BUILD_HOSTED)/ol/ol/
|
|
||||||
@rm -rf $(BUILD_HOSTED)/ol.ext
|
|
||||||
@mkdir -p $(BUILD_HOSTED)/ol.ext
|
|
||||||
@cp -r build/ol.ext/* $(BUILD_HOSTED)/ol.ext/
|
|
||||||
|
|
||||||
$(BUILD_EXAMPLES): $(EXAMPLES) package.json
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
@node tasks/build-examples.js
|
|
||||||
|
|
||||||
build/timestamps/check-%-timestamp: $(BUILD_HOSTED)/examples/%.html \
|
|
||||||
$(BUILD_HOSTED)/examples/%.js \
|
|
||||||
$(filter $(BUILD_HOSTED)/examples/resources/%,$(BUILD_HOSTED_EXAMPLES)) \
|
|
||||||
$(filter $(BUILD_HOSTED)/examples/data/%,$(BUILD_HOSTED_EXAMPLES)) \
|
|
||||||
$(BUILD_HOSTED)/examples/loader.js \
|
|
||||||
$(BUILD_HOSTED)/build/ol.js \
|
|
||||||
$(BUILD_HOSTED)/css/ol.css
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
./node_modules/.bin/phantomjs --ssl-protocol=any --ignore-ssl-errors=true bin/check-example.js $(addsuffix ?mode=advanced, $<)
|
|
||||||
@touch $@
|
|
||||||
|
|
||||||
build/timestamps/check-requires-timestamp: $(SRC_JS) $(EXAMPLES_JS) \
|
|
||||||
$(SRC_SHADER_JS) $(SPEC_JS) \
|
|
||||||
$(SPEC_RENDERING_JS)
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
@python bin/check-requires.py $(CLOSURE_LIB) $^
|
|
||||||
@touch $@
|
|
||||||
|
|
||||||
build/timestamps/check-whitespace-timestamp: $(SRC_JS) $(EXAMPLES_JS) \
|
|
||||||
$(SPEC_JS) $(SPEC_RENDERING_JS) \
|
|
||||||
$(SRC_JSDOC)
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
@python bin/check-whitespace.py $^
|
|
||||||
@touch $@
|
|
||||||
|
|
||||||
build/compiled-examples/all.js: $(EXAMPLES_JS)
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
@python bin/combine-examples.py $^ > $@
|
|
||||||
|
|
||||||
build/compiled-examples/all.combined.js: config/examples-all.json build/compiled-examples/all.js \
|
|
||||||
$(SRC_JS) $(SRC_SHADER_JS) \
|
|
||||||
build/timestamps/node-modules-timestamp
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
node tasks/build.js $< $@
|
|
||||||
|
|
||||||
build/compiled-examples/%.json: config/example.json build/examples/%.js \
|
|
||||||
build/timestamps/node-modules-timestamp
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
@sed -e 's|{{id}}|$*|' $< > $@
|
|
||||||
|
|
||||||
build/compiled-examples/%.combined.js: build/compiled-examples/%.json \
|
|
||||||
$(SRC_JS) $(SRC_SHADER_JS) \
|
|
||||||
build/timestamps/node-modules-timestamp
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
node tasks/build.js $< $@
|
|
||||||
|
|
||||||
build/timestamps/jsdoc-$(BRANCH)-timestamp: config/jsdoc/api/index.md \
|
|
||||||
config/jsdoc/api/conf.json $(SRC_JS) \
|
|
||||||
$(SRC_SHADER_JS) \
|
|
||||||
$(shell find config/jsdoc/api/template -type f) \
|
|
||||||
build/timestamps/node-modules-timestamp
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
@rm -rf $(BUILD_HOSTED)/apidoc
|
|
||||||
./node_modules/.bin/jsdoc config/jsdoc/api/index.md -c config/jsdoc/api/conf.json -d $(BUILD_HOSTED)/apidoc
|
|
||||||
@touch $@
|
|
||||||
|
|
||||||
build/timestamps/gjslint-timestamp: $(SRC_JS) $(SPEC_JS) $(SPEC_RENDERING_JS) \
|
|
||||||
$(EXAMPLES_JS)
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
@echo "Running gjslint..."
|
|
||||||
@gjslint --jslint_error=all --custom_jsdoc_tags=event,fires,function,classdesc,api,observable --strict $?
|
|
||||||
@touch $@
|
|
||||||
|
|
||||||
$(BUILD_HOSTED_EXAMPLES_JS): $(BUILD_HOSTED)/examples/%.js: build/examples/%.js
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
@python bin/split-example.py $< $(@D)
|
|
||||||
|
|
||||||
$(BUILD_HOSTED)/examples/loader.js: bin/loader_hosted_examples.js
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
@cp $< $@
|
|
||||||
|
|
||||||
$(BUILD_HOSTED)/examples/%: build/examples/%
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
@cp $< $@
|
|
||||||
|
|
||||||
$(BUILD_HOSTED)/build/ol.js: build/ol.js
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
@cp $< $@
|
|
||||||
|
|
||||||
$(BUILD_HOSTED)/build/ol-debug.js: build/ol-debug.js
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
@cp $< $@
|
|
||||||
|
|
||||||
$(BUILD_HOSTED)/css/ol.css: build/ol.css
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
@cp $< $@
|
|
||||||
|
|
||||||
$(BUILD_HOSTED)/build/ol-deps.js: host-libraries
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
@python $(CLOSURE_LIB)/closure/bin/build/depswriter.py \
|
|
||||||
--root_with_prefix "src ../../../ol" \
|
|
||||||
--root_with_prefix "build/ol.ext ../../../ol.ext" \
|
|
||||||
--root $(BUILD_HOSTED)/closure-library/closure/goog \
|
|
||||||
--root_with_prefix "$(BUILD_HOSTED)/closure-library/third_party ../../third_party" \
|
|
||||||
--output_file $@
|
|
||||||
|
|
||||||
build/timestamps/jshint-timestamp: $(SRC_JS) $(SPEC_JS) $(SPEC_RENDERING_JS) \
|
|
||||||
$(TASKS_JS) $(EXAMPLES_JS) \
|
|
||||||
examples/resources/common.js \
|
|
||||||
build/timestamps/node-modules-timestamp
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
@echo "Running jshint..."
|
|
||||||
@./node_modules/.bin/jshint --verbose $?
|
|
||||||
@touch $@
|
|
||||||
|
|
||||||
build/timestamps/node-modules-timestamp: package.json
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
npm install
|
|
||||||
@touch $@
|
|
||||||
|
|
||||||
build/ol.css: css/ol.css build/timestamps/node-modules-timestamp
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
@echo "Running cleancss..."
|
|
||||||
@./node_modules/.bin/cleancss $< > $@
|
|
||||||
|
|
||||||
build/ol.js: config/ol.json $(SRC_JS) $(SRC_SHADER_JS) \
|
|
||||||
build/timestamps/node-modules-timestamp
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
node tasks/build.js $< $@
|
|
||||||
@$(STAT_UNCOMPRESSED) $@
|
|
||||||
@cp $@ /tmp/
|
|
||||||
@gzip /tmp/ol.js
|
|
||||||
@$(STAT_COMPRESSED) /tmp/ol.js.gz
|
|
||||||
@rm /tmp/ol.js.gz
|
|
||||||
|
|
||||||
build/ol.js.map: config/ol.json $(SRC_JS) $(SRC_SHADER_JS) \
|
|
||||||
build/timestamps/node-modules-timestamp
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
node tasks/build.js $< $@
|
|
||||||
|
|
||||||
build/ol-debug.js: config/ol-debug.json $(SRC_JS) $(SRC_SHADER_JS) \
|
|
||||||
build/timestamps/node-modules-timestamp
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
node tasks/build.js $< $@
|
|
||||||
@$(STAT_UNCOMPRESSED) $@
|
|
||||||
@cp $@ /tmp/
|
|
||||||
@gzip /tmp/ol-debug.js
|
|
||||||
@$(STAT_COMPRESSED) /tmp/ol-debug.js.gz
|
|
||||||
@rm /tmp/ol-debug.js.gz
|
|
||||||
|
|
||||||
build/test_requires.js: $(SPEC_JS) $(SRC_JS)
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
@node tasks/generate-requires.js $^ > $@
|
|
||||||
|
|
||||||
build/test_rendering_requires.js: $(SPEC_RENDERING_JS)
|
|
||||||
@mkdir -p $(@D)
|
|
||||||
@node tasks/generate-requires.js $^ > $@
|
|
||||||
|
|
||||||
%shader.js: %.glsl src/ol/webgl/shader.mustache bin/pyglslunit.py build/timestamps/node-modules-timestamp
|
|
||||||
@python bin/pyglslunit.py --input $< | ./node_modules/.bin/mustache - src/ol/webgl/shader.mustache > $@
|
|
||||||
30
README.md
@@ -1,30 +0,0 @@
|
|||||||
# OpenLayers 3
|
|
||||||
|
|
||||||
[](http://travis-ci.org/#!/openlayers/ol3)
|
|
||||||
[](https://coveralls.io/r/openlayers/ol3?branch=master)
|
|
||||||
|
|
||||||
[OpenLayers 3](http://openlayers.org/) is a high-performance, feature-packed library for creating interactive maps on the web.
|
|
||||||
|
|
||||||
## Getting Started
|
|
||||||
|
|
||||||
- Download the [latest release](http://openlayers.org/download/)
|
|
||||||
- Install with npm: `npm install openlayers`
|
|
||||||
- Clone the repo: `git clone git@github.com:openlayers/ol3.git`
|
|
||||||
|
|
||||||
## Documentation
|
|
||||||
|
|
||||||
Check out the [hosted examples](http://openlayers.org/en/master/examples/), the [workshop](http://openlayers.org/workshop/) or [API docs](http://openlayers.org/en/master/apidoc/).
|
|
||||||
|
|
||||||
## Bugs
|
|
||||||
|
|
||||||
Please use the [GitHub issue tracker](https://github.com/openlayers/ol3/issues) for all bugs and feature requests. Before creating a new issue, do a quick search to see if the problem has been reported already.
|
|
||||||
|
|
||||||
## Contributing
|
|
||||||
|
|
||||||
Please see our guide on [contributing](CONTRIBUTING.md) if you're interested in getting involved.
|
|
||||||
|
|
||||||
## Community
|
|
||||||
|
|
||||||
- Need help? Find it on [stackoverflow using the tag 'openlayers-3'](http://stackoverflow.com/questions/tagged/openlayers-3)
|
|
||||||
- Follow [@openlayers](https://twitter.com/openlayers) on Twitter
|
|
||||||
- Discuss with openlayers users on IRC in `#openlayers` at `chat.freenode`
|
|
||||||
113
apidoc_config/Languages.txt
Normal file
@@ -0,0 +1,113 @@
|
|||||||
|
Format: Development Release 12-07-2007 (1.35 base)
|
||||||
|
|
||||||
|
# This is the Natural Docs languages file for this project. If you change
|
||||||
|
# anything here, it will apply to THIS PROJECT ONLY. If you'd like to change
|
||||||
|
# something for all your projects, edit the Languages.txt in Natural Docs'
|
||||||
|
# Config directory instead.
|
||||||
|
|
||||||
|
|
||||||
|
# You can prevent certain file extensions from being scanned like this:
|
||||||
|
# Ignore Extensions: [extension] [extension] ...
|
||||||
|
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
# SYNTAX:
|
||||||
|
#
|
||||||
|
# Unlike other Natural Docs configuration files, in this file all comments
|
||||||
|
# MUST be alone on a line. Some languages deal with the # character, so you
|
||||||
|
# cannot put comments on the same line as content.
|
||||||
|
#
|
||||||
|
# Also, all lists are separated with spaces, not commas, again because some
|
||||||
|
# languages may need to use them.
|
||||||
|
#
|
||||||
|
# Language: [name]
|
||||||
|
# Alter Language: [name]
|
||||||
|
# Defines a new language or alters an existing one. Its name can use any
|
||||||
|
# characters. If any of the properties below have an add/replace form, you
|
||||||
|
# must use that when using Alter Language.
|
||||||
|
#
|
||||||
|
# The language Shebang Script is special. It's entry is only used for
|
||||||
|
# extensions, and files with those extensions have their shebang (#!) lines
|
||||||
|
# read to determine the real language of the file. Extensionless files are
|
||||||
|
# always treated this way.
|
||||||
|
#
|
||||||
|
# The language Text File is also special. It's treated as one big comment
|
||||||
|
# so you can put Natural Docs content in them without special symbols. Also,
|
||||||
|
# if you don't specify a package separator, ignored prefixes, or enum value
|
||||||
|
# behavior, it will copy those settings from the language that is used most
|
||||||
|
# in the source tree.
|
||||||
|
#
|
||||||
|
# Extensions: [extension] [extension] ...
|
||||||
|
# [Add/Replace] Extensions: [extension] [extension] ...
|
||||||
|
# Defines the file extensions of the language's source files. You can
|
||||||
|
# redefine extensions found in the main languages file. You can use * to
|
||||||
|
# mean any undefined extension.
|
||||||
|
#
|
||||||
|
# Shebang Strings: [string] [string] ...
|
||||||
|
# [Add/Replace] Shebang Strings: [string] [string] ...
|
||||||
|
# Defines a list of strings that can appear in the shebang (#!) line to
|
||||||
|
# designate that it's part of the language. You can redefine strings found
|
||||||
|
# in the main languages file.
|
||||||
|
#
|
||||||
|
# Ignore Prefixes in Index: [prefix] [prefix] ...
|
||||||
|
# [Add/Replace] Ignored Prefixes in Index: [prefix] [prefix] ...
|
||||||
|
#
|
||||||
|
# Ignore [Topic Type] Prefixes in Index: [prefix] [prefix] ...
|
||||||
|
# [Add/Replace] Ignored [Topic Type] Prefixes in Index: [prefix] [prefix] ...
|
||||||
|
# Specifies prefixes that should be ignored when sorting symbols in an
|
||||||
|
# index. Can be specified in general or for a specific topic type.
|
||||||
|
#
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
# For basic language support only:
|
||||||
|
#
|
||||||
|
# Line Comments: [symbol] [symbol] ...
|
||||||
|
# Defines a space-separated list of symbols that are used for line comments,
|
||||||
|
# if any.
|
||||||
|
#
|
||||||
|
# Block Comments: [opening sym] [closing sym] [opening sym] [closing sym] ...
|
||||||
|
# Defines a space-separated list of symbol pairs that are used for block
|
||||||
|
# comments, if any.
|
||||||
|
#
|
||||||
|
# Package Separator: [symbol]
|
||||||
|
# Defines the default package separator symbol. The default is a dot.
|
||||||
|
#
|
||||||
|
# [Topic Type] Prototype Enders: [symbol] [symbol] ...
|
||||||
|
# When defined, Natural Docs will attempt to get a prototype from the code
|
||||||
|
# immediately following the topic type. It stops when it reaches one of
|
||||||
|
# these symbols. Use \n for line breaks.
|
||||||
|
#
|
||||||
|
# Line Extender: [symbol]
|
||||||
|
# Defines the symbol that allows a prototype to span multiple lines if
|
||||||
|
# normally a line break would end it.
|
||||||
|
#
|
||||||
|
# Enum Values: [global|under type|under parent]
|
||||||
|
# Defines how enum values are referenced. The default is global.
|
||||||
|
# global - Values are always global, referenced as 'value'.
|
||||||
|
# under type - Values are under the enum type, referenced as
|
||||||
|
# 'package.enum.value'.
|
||||||
|
# under parent - Values are under the enum's parent, referenced as
|
||||||
|
# 'package.value'.
|
||||||
|
#
|
||||||
|
# Perl Package: [perl package]
|
||||||
|
# Specifies the Perl package used to fine-tune the language behavior in ways
|
||||||
|
# too complex to do in this file.
|
||||||
|
#
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
# For full language support only:
|
||||||
|
#
|
||||||
|
# Full Language Support: [perl package]
|
||||||
|
# Specifies the Perl package that has the parsing routines necessary for full
|
||||||
|
# language support.
|
||||||
|
#
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# The following languages are defined in the main file, if you'd like to alter
|
||||||
|
# them:
|
||||||
|
#
|
||||||
|
# Text File, Shebang Script, C/C++, C#, Java, JavaScript, Perl, Python,
|
||||||
|
# PHP, SQL, Visual Basic, Pascal, Assembly, Ada, Tcl, Ruby, Makefile,
|
||||||
|
# ActionScript, ColdFusion, R, Fortran
|
||||||
|
|
||||||
|
# If you add a language that you think would be useful to other developers
|
||||||
|
# and should be included in Natural Docs by default, please e-mail it to
|
||||||
|
# languages [at] naturaldocs [dot] org.
|
||||||
367
apidoc_config/Menu.txt
Normal file
@@ -0,0 +1,367 @@
|
|||||||
|
Format: Development Release 12-07-2007 (1.35 base)
|
||||||
|
|
||||||
|
|
||||||
|
Title: OpenLayers
|
||||||
|
SubTitle: JavaScript Mapping Library
|
||||||
|
|
||||||
|
# You can add a footer to your documentation like this:
|
||||||
|
# Footer: [text]
|
||||||
|
# If you want to add a copyright notice, this would be the place to do it.
|
||||||
|
|
||||||
|
# You can add a timestamp to your documentation like one of these:
|
||||||
|
# Timestamp: Generated on month day, year
|
||||||
|
# Timestamp: Updated mm/dd/yyyy
|
||||||
|
# Timestamp: Last updated mon day
|
||||||
|
#
|
||||||
|
# m - One or two digit month. January is "1"
|
||||||
|
# mm - Always two digit month. January is "01"
|
||||||
|
# mon - Short month word. January is "Jan"
|
||||||
|
# month - Long month word. January is "January"
|
||||||
|
# d - One or two digit day. 1 is "1"
|
||||||
|
# dd - Always two digit day. 1 is "01"
|
||||||
|
# day - Day with letter extension. 1 is "1st"
|
||||||
|
# yy - Two digit year. 2006 is "06"
|
||||||
|
# yyyy - Four digit year. 2006 is "2006"
|
||||||
|
# year - Four digit year. 2006 is "2006"
|
||||||
|
|
||||||
|
|
||||||
|
# --------------------------------------------------------------------------
|
||||||
|
#
|
||||||
|
# Cut and paste the lines below to change the order in which your files
|
||||||
|
# appear on the menu. Don't worry about adding or removing files, Natural
|
||||||
|
# Docs will take care of that.
|
||||||
|
#
|
||||||
|
# You can further organize the menu by grouping the entries. Add a
|
||||||
|
# "Group: [name] {" line to start a group, and add a "}" to end it.
|
||||||
|
#
|
||||||
|
# You can add text and web links to the menu by adding "Text: [text]" and
|
||||||
|
# "Link: [name] ([URL])" lines, respectively.
|
||||||
|
#
|
||||||
|
# The formatting and comments are auto-generated, so don't worry about
|
||||||
|
# neatness when editing the file. Natural Docs will clean it up the next
|
||||||
|
# time it is run. When working with groups, just deal with the braces and
|
||||||
|
# forget about the indentation and comments.
|
||||||
|
#
|
||||||
|
# --------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
Group: OpenLayers {
|
||||||
|
|
||||||
|
File: OpenLayers (no auto-title, OpenLayers.js)
|
||||||
|
File: Ajax (no auto-title, OpenLayers/Ajax.js)
|
||||||
|
|
||||||
|
Group: BaseTypes {
|
||||||
|
|
||||||
|
File: Base Types (no auto-title, OpenLayers/BaseTypes.js)
|
||||||
|
File: Bounds (no auto-title, OpenLayers/BaseTypes/Bounds.js)
|
||||||
|
File: Class (no auto-title, OpenLayers/BaseTypes/Class.js)
|
||||||
|
File: Element (no auto-title, OpenLayers/BaseTypes/Element.js)
|
||||||
|
File: LonLat (no auto-title, OpenLayers/BaseTypes/LonLat.js)
|
||||||
|
File: Pixel (no auto-title, OpenLayers/BaseTypes/Pixel.js)
|
||||||
|
File: Size (no auto-title, OpenLayers/BaseTypes/Size.js)
|
||||||
|
} # Group: BaseTypes
|
||||||
|
|
||||||
|
File: Console (no auto-title, OpenLayers/Console.js)
|
||||||
|
|
||||||
|
Group: Control {
|
||||||
|
|
||||||
|
File: Control (no auto-title, OpenLayers/Control.js)
|
||||||
|
File: ArgParser (no auto-title, OpenLayers/Control/ArgParser.js)
|
||||||
|
File: Attribution (no auto-title, OpenLayers/Control/Attribution.js)
|
||||||
|
File: Button (no auto-title, OpenLayers/Control/Button.js)
|
||||||
|
File: DragFeature (no auto-title, OpenLayers/Control/DragFeature.js)
|
||||||
|
File: DragPan (no auto-title, OpenLayers/Control/DragPan.js)
|
||||||
|
File: DrawFeature (no auto-title, OpenLayers/Control/DrawFeature.js)
|
||||||
|
File: EditingToolbar (no auto-title, OpenLayers/Control/EditingToolbar.js)
|
||||||
|
File: GetFeature (no auto-title, OpenLayers/Control/GetFeature.js)
|
||||||
|
File: KeyboardDefaults (no auto-title, OpenLayers/Control/KeyboardDefaults.js)
|
||||||
|
File: LayerSwitcher (no auto-title, OpenLayers/Control/LayerSwitcher.js)
|
||||||
|
File: Measure (no auto-title, OpenLayers/Control/Measure.js)
|
||||||
|
File: ModifyFeature (no auto-title, OpenLayers/Control/ModifyFeature.js)
|
||||||
|
File: MouseDefaults (no auto-title, OpenLayers/Control/MouseDefaults.js)
|
||||||
|
File: MousePosition (no auto-title, OpenLayers/Control/MousePosition.js)
|
||||||
|
File: MouseToolbar (no auto-title, OpenLayers/Control/MouseToolbar.js)
|
||||||
|
File: Navigation (no auto-title, OpenLayers/Control/Navigation.js)
|
||||||
|
File: NavigationHistory (no auto-title, OpenLayers/Control/NavigationHistory.js)
|
||||||
|
File: NavToolbar (no auto-title, OpenLayers/Control/NavToolbar.js)
|
||||||
|
File: OverviewMap (no auto-title, OpenLayers/Control/OverviewMap.js)
|
||||||
|
File: Pan (no auto-title, OpenLayers/Control/Pan.js)
|
||||||
|
File: Panel (no auto-title, OpenLayers/Control/Panel.js)
|
||||||
|
File: PanPanel (no auto-title, OpenLayers/Control/PanPanel.js)
|
||||||
|
File: PanZoom (no auto-title, OpenLayers/Control/PanZoom.js)
|
||||||
|
File: PanZoomBar (no auto-title, OpenLayers/Control/PanZoomBar.js)
|
||||||
|
File: Permalink (no auto-title, OpenLayers/Control/Permalink.js)
|
||||||
|
File: Scale (no auto-title, OpenLayers/Control/Scale.js)
|
||||||
|
File: ScaleLine (no auto-title, OpenLayers/Control/ScaleLine.js)
|
||||||
|
File: SelectFeature (no auto-title, OpenLayers/Control/SelectFeature.js)
|
||||||
|
File: Snapping (no auto-title, OpenLayers/Control/Snapping.js)
|
||||||
|
File: Split (no auto-title, OpenLayers/Control/Split.js)
|
||||||
|
File: ZoomBox (no auto-title, OpenLayers/Control/ZoomBox.js)
|
||||||
|
File: ZoomIn (no auto-title, OpenLayers/Control/ZoomIn.js)
|
||||||
|
File: ZoomOut (no auto-title, OpenLayers/Control/ZoomOut.js)
|
||||||
|
File: ZoomPanel (no auto-title, OpenLayers/Control/ZoomPanel.js)
|
||||||
|
File: ZoomToMaxExtent (no auto-title, OpenLayers/Control/ZoomToMaxExtent.js)
|
||||||
|
} # Group: Control
|
||||||
|
|
||||||
|
File: Events (no auto-title, OpenLayers/Events.js)
|
||||||
|
|
||||||
|
Group: Feature {
|
||||||
|
|
||||||
|
File: Feature (no auto-title, OpenLayers/Feature.js)
|
||||||
|
File: Vector (no auto-title, OpenLayers/Feature/Vector.js)
|
||||||
|
File: WFS (no auto-title, OpenLayers/Feature/WFS.js)
|
||||||
|
} # Group: Feature
|
||||||
|
|
||||||
|
Group: Filter {
|
||||||
|
|
||||||
|
File: Filter (no auto-title, OpenLayers/Filter.js)
|
||||||
|
File: Comparison (no auto-title, OpenLayers/Filter/Comparison.js)
|
||||||
|
File: FeatureId (no auto-title, OpenLayers/Filter/FeatureId.js)
|
||||||
|
File: Logical (no auto-title, OpenLayers/Filter/Logical.js)
|
||||||
|
File: Spatial (no auto-title, OpenLayers/Filter/Spatial.js)
|
||||||
|
} # Group: Filter
|
||||||
|
|
||||||
|
Group: Format {
|
||||||
|
|
||||||
|
File: Format (no auto-title, OpenLayers/Format.js)
|
||||||
|
|
||||||
|
Group: Filter {
|
||||||
|
|
||||||
|
File: Filter (no auto-title, OpenLayers/Format/Filter.js)
|
||||||
|
File: v1 (no auto-title, OpenLayers/Format/Filter/v1.js)
|
||||||
|
File: v1_0_0 (no auto-title, OpenLayers/Format/Filter/v1_0_0.js)
|
||||||
|
File: v1_1_0 (OpenLayers/Format/Filter/v1_1_0.js)
|
||||||
|
} # Group: Filter
|
||||||
|
|
||||||
|
Group: GML {
|
||||||
|
|
||||||
|
File: GML (no auto-title, OpenLayers/Format/GML.js)
|
||||||
|
File: Base (no auto-title, OpenLayers/Format/GML/Base.js)
|
||||||
|
File: v2 (no auto-title, OpenLayers/Format/GML/v2.js)
|
||||||
|
File: v3 (no auto-title, OpenLayers/Format/GML/v3.js)
|
||||||
|
} # Group: GML
|
||||||
|
|
||||||
|
Group: SLD {
|
||||||
|
|
||||||
|
File: SLD (no auto-title, OpenLayers/Format/SLD.js)
|
||||||
|
File: v1 (no auto-title, OpenLayers/Format/SLD/v1.js)
|
||||||
|
File: v1_0_0 (no auto-title, OpenLayers/Format/SLD/v1_0_0.js)
|
||||||
|
} # Group: SLD
|
||||||
|
|
||||||
|
Group: WMC {
|
||||||
|
|
||||||
|
File: WMC (no auto-title, OpenLayers/Format/WMC.js)
|
||||||
|
File: v1 (no auto-title, OpenLayers/Format/WMC/v1.js)
|
||||||
|
File: v1_0_0 (no auto-title, OpenLayers/Format/WMC/v1_0_0.js)
|
||||||
|
File: v1_1_0 (no auto-title, OpenLayers/Format/WMC/v1_1_0.js)
|
||||||
|
} # Group: WMC
|
||||||
|
|
||||||
|
Group: Format {
|
||||||
|
|
||||||
|
File: GeoJSON (no auto-title, OpenLayers/Format/GeoJSON.js)
|
||||||
|
File: GeoRSS (no auto-title, OpenLayers/Format/GeoRSS.js)
|
||||||
|
File: GPX (no auto-title, OpenLayers/Format/GPX.js)
|
||||||
|
File: JSON (no auto-title, OpenLayers/Format/JSON.js)
|
||||||
|
File: KML (no auto-title, OpenLayers/Format/KML.js)
|
||||||
|
File: OSM (no auto-title, OpenLayers/Format/OSM.js)
|
||||||
|
File: Text (no auto-title, OpenLayers/Format/Text.js)
|
||||||
|
File: WFS (no auto-title, OpenLayers/Format/WFS.js)
|
||||||
|
File: WFSDescribeFeatureType (OpenLayers/Format/WFSDescribeFeatureType.js)
|
||||||
|
|
||||||
|
Group: WFST {
|
||||||
|
|
||||||
|
File: WFST (no auto-title, OpenLayers/Format/WFST.js)
|
||||||
|
File: v1 (OpenLayers/Format/WFST/v1.js)
|
||||||
|
File: v1_0_0 (OpenLayers/Format/WFST/v1_0_0.js)
|
||||||
|
File: v1_1_0 (OpenLayers/Format/WFST/v1_1_0.js)
|
||||||
|
} # Group: WFST
|
||||||
|
|
||||||
|
File: WKT (no auto-title, OpenLayers/Format/WKT.js)
|
||||||
|
File: WMSDescribeLayer (OpenLayers/Format/WMSDescribeLayer.js)
|
||||||
|
File: WMSDescribeLayer.v1_1 (OpenLayers/Format/WMSDescribeLayer/v1_1.js)
|
||||||
|
File: WMSGetFeatureInfo (OpenLayers/Format/WMSGetFeatureInfo.js)
|
||||||
|
File: XML (no auto-title, OpenLayers/Format/XML.js)
|
||||||
|
} # Group: Format
|
||||||
|
|
||||||
|
} # Group: Format
|
||||||
|
|
||||||
|
Group: Geometry {
|
||||||
|
|
||||||
|
File: Geometry (no auto-title, OpenLayers/Geometry.js)
|
||||||
|
File: Collection (no auto-title, OpenLayers/Geometry/Collection.js)
|
||||||
|
File: Curve (no auto-title, OpenLayers/Geometry/Curve.js)
|
||||||
|
File: LinearRing (no auto-title, OpenLayers/Geometry/LinearRing.js)
|
||||||
|
File: LineString (no auto-title, OpenLayers/Geometry/LineString.js)
|
||||||
|
File: MultiLineString (no auto-title, OpenLayers/Geometry/MultiLineString.js)
|
||||||
|
File: MultiPoint (no auto-title, OpenLayers/Geometry/MultiPoint.js)
|
||||||
|
File: MultiPolygon (no auto-title, OpenLayers/Geometry/MultiPolygon.js)
|
||||||
|
File: Point (no auto-title, OpenLayers/Geometry/Point.js)
|
||||||
|
File: Polygon (no auto-title, OpenLayers/Geometry/Polygon.js)
|
||||||
|
File: Rectangle (no auto-title, OpenLayers/Geometry/Rectangle.js)
|
||||||
|
} # Group: Geometry
|
||||||
|
|
||||||
|
Group: Handler {
|
||||||
|
|
||||||
|
File: Handler (no auto-title, OpenLayers/Handler.js)
|
||||||
|
File: Box (no auto-title, OpenLayers/Handler/Box.js)
|
||||||
|
File: Click (no auto-title, OpenLayers/Handler/Click.js)
|
||||||
|
File: Drag (no auto-title, OpenLayers/Handler/Drag.js)
|
||||||
|
File: Feature (no auto-title, OpenLayers/Handler/Feature.js)
|
||||||
|
File: Hover (no auto-title, OpenLayers/Handler/Hover.js)
|
||||||
|
File: Keyboard (no auto-title, OpenLayers/Handler/Keyboard.js)
|
||||||
|
File: MouseWheel (no auto-title, OpenLayers/Handler/MouseWheel.js)
|
||||||
|
File: Path (no auto-title, OpenLayers/Handler/Path.js)
|
||||||
|
File: Point (no auto-title, OpenLayers/Handler/Point.js)
|
||||||
|
File: Polygon (no auto-title, OpenLayers/Handler/Polygon.js)
|
||||||
|
File: RegularPolygon (no auto-title, OpenLayers/Handler/RegularPolygon.js)
|
||||||
|
} # Group: Handler
|
||||||
|
|
||||||
|
File: Icon (no auto-title, OpenLayers/Icon.js)
|
||||||
|
|
||||||
|
Group: Lang {
|
||||||
|
|
||||||
|
File: Lang (no auto-title, OpenLayers/Lang.js)
|
||||||
|
File: ca (no auto-title, OpenLayers/Lang/ca.js)
|
||||||
|
File: cs-CZ (no auto-title, OpenLayers/Lang/cs-CZ.js)
|
||||||
|
File: da-DK (no auto-title, OpenLayers/Lang/da-DK.js)
|
||||||
|
File: de (no auto-title, OpenLayers/Lang/de.js)
|
||||||
|
File: en (no auto-title, OpenLayers/Lang/en.js)
|
||||||
|
File: en-CA (no auto-title, OpenLayers/Lang/en-CA.js)
|
||||||
|
File: es (no auto-title, OpenLayers/Lang/es.js)
|
||||||
|
File: fr (no auto-title, OpenLayers/Lang/fr.js)
|
||||||
|
File: it (no auto-title, OpenLayers/Lang/it.js)
|
||||||
|
File: nb (no auto-title, OpenLayers/Lang/nb.js)
|
||||||
|
File: nl (no auto-title, OpenLayers/Lang/nl.js)
|
||||||
|
File: pt-BR (no auto-title, OpenLayers/Lang/pt-BR.js)
|
||||||
|
File: sv-SE (no auto-title, OpenLayers/Lang/sv-SE.js)
|
||||||
|
File: zh-CN (no auto-title, OpenLayers/Lang/zh-CN.js)
|
||||||
|
File: zh-TW (no auto-title, OpenLayers/Lang/zh-TW.js)
|
||||||
|
} # Group: Lang
|
||||||
|
|
||||||
|
Group: Layer {
|
||||||
|
|
||||||
|
File: Layer (no auto-title, OpenLayers/Layer.js)
|
||||||
|
File: ArcGIS93Rest (no auto-title, OpenLayers/Layer/ArcGIS93Rest.js)
|
||||||
|
File: Boxes (no auto-title, OpenLayers/Layer/Boxes.js)
|
||||||
|
File: EventPane (no auto-title, OpenLayers/Layer/EventPane.js)
|
||||||
|
File: FixedZoomLevels (no auto-title, OpenLayers/Layer/FixedZoomLevels.js)
|
||||||
|
File: GeoRSS (no auto-title, OpenLayers/Layer/GeoRSS.js)
|
||||||
|
File: GML (no auto-title, OpenLayers/Layer/GML.js)
|
||||||
|
File: Google (no auto-title, OpenLayers/Layer/Google.js)
|
||||||
|
File: Grid (no auto-title, OpenLayers/Layer/Grid.js)
|
||||||
|
File: HTTPRequest (no auto-title, OpenLayers/Layer/HTTPRequest.js)
|
||||||
|
File: Image (no auto-title, OpenLayers/Layer/Image.js)
|
||||||
|
File: KaMap (no auto-title, OpenLayers/Layer/KaMap.js)
|
||||||
|
File: KaMapCache (no auto-title, OpenLayers/Layer/KaMapCache.js)
|
||||||
|
File: MapGuide (no auto-title, OpenLayers/Layer/MapGuide.js)
|
||||||
|
File: MapServer (no auto-title, OpenLayers/Layer/MapServer.js)
|
||||||
|
File: MapServer.Untiled (no auto-title, OpenLayers/Layer/MapServer/Untiled.js)
|
||||||
|
File: Markers (no auto-title, OpenLayers/Layer/Markers.js)
|
||||||
|
File: MultiMap (no auto-title, OpenLayers/Layer/MultiMap.js)
|
||||||
|
File: PointTrack (no auto-title, OpenLayers/Layer/PointTrack.js)
|
||||||
|
File: SphericalMercator (no auto-title, OpenLayers/Layer/SphericalMercator.js)
|
||||||
|
File: Text (no auto-title, OpenLayers/Layer/Text.js)
|
||||||
|
File: TileCache (no auto-title, OpenLayers/Layer/TileCache.js)
|
||||||
|
File: TMS (no auto-title, OpenLayers/Layer/TMS.js)
|
||||||
|
File: Vector (no auto-title, OpenLayers/Layer/Vector.js)
|
||||||
|
File: RootContainer (OpenLayers/Layer/Vector/RootContainer.js)
|
||||||
|
File: VirtualEarth (no auto-title, OpenLayers/Layer/VirtualEarth.js)
|
||||||
|
File: WFS (no auto-title, OpenLayers/Layer/WFS.js)
|
||||||
|
File: WMS (no auto-title, OpenLayers/Layer/WMS.js)
|
||||||
|
File: WMS.Untiled (no auto-title, OpenLayers/Layer/WMS/Untiled.js)
|
||||||
|
File: WorldWind (no auto-title, OpenLayers/Layer/WorldWind.js)
|
||||||
|
File: Yahoo (no auto-title, OpenLayers/Layer/Yahoo.js)
|
||||||
|
} # Group: Layer
|
||||||
|
|
||||||
|
File: Map (no auto-title, OpenLayers/Map.js)
|
||||||
|
|
||||||
|
Group: Marker {
|
||||||
|
|
||||||
|
File: Marker (no auto-title, OpenLayers/Marker.js)
|
||||||
|
File: Box (no auto-title, OpenLayers/Marker/Box.js)
|
||||||
|
} # Group: Marker
|
||||||
|
|
||||||
|
Group: Popup {
|
||||||
|
|
||||||
|
File: Popup (no auto-title, OpenLayers/Popup.js)
|
||||||
|
File: Anchored (no auto-title, OpenLayers/Popup/Anchored.js)
|
||||||
|
File: AnchoredBubble (no auto-title, OpenLayers/Popup/AnchoredBubble.js)
|
||||||
|
File: Framed (no auto-title, OpenLayers/Popup/Framed.js)
|
||||||
|
File: FramedCloud (no auto-title, OpenLayers/Popup/FramedCloud.js)
|
||||||
|
} # Group: Popup
|
||||||
|
|
||||||
|
File: Projection (no auto-title, OpenLayers/Projection.js)
|
||||||
|
|
||||||
|
Group: Protocol {
|
||||||
|
|
||||||
|
File: Protocol (no auto-title, OpenLayers/Protocol.js)
|
||||||
|
File: HTTP (no auto-title, OpenLayers/Protocol/HTTP.js)
|
||||||
|
|
||||||
|
Group: SQL {
|
||||||
|
|
||||||
|
File: SQL (no auto-title, OpenLayers/Protocol/SQL.js)
|
||||||
|
File: Gears (no auto-title, OpenLayers/Protocol/SQL/Gears.js)
|
||||||
|
} # Group: SQL
|
||||||
|
|
||||||
|
Group: WFS {
|
||||||
|
|
||||||
|
File: WFS (no auto-title, OpenLayers/Protocol/WFS.js)
|
||||||
|
File: v1 (OpenLayers/Protocol/WFS/v1.js)
|
||||||
|
File: v1_0_0 (OpenLayers/Protocol/WFS/v1_0_0.js)
|
||||||
|
File: v1_1_0 (OpenLayers/Protocol/WFS/v1_1_0.js)
|
||||||
|
} # Group: WFS
|
||||||
|
|
||||||
|
} # Group: Protocol
|
||||||
|
|
||||||
|
Group: Renderer {
|
||||||
|
|
||||||
|
File: Renderer (no auto-title, OpenLayers/Renderer.js)
|
||||||
|
File: Canvas (no auto-title, OpenLayers/Renderer/Canvas.js)
|
||||||
|
File: Elements (no auto-title, OpenLayers/Renderer/Elements.js)
|
||||||
|
File: SVG (no auto-title, OpenLayers/Renderer/SVG.js)
|
||||||
|
File: VML (no auto-title, OpenLayers/Renderer/VML.js)
|
||||||
|
} # Group: Renderer
|
||||||
|
|
||||||
|
Group: Request {
|
||||||
|
|
||||||
|
File: Request (no auto-title, OpenLayers/Request.js)
|
||||||
|
File: XMLHttpRequest (no auto-title, OpenLayers/Request/XMLHttpRequest.js)
|
||||||
|
} # Group: Request
|
||||||
|
|
||||||
|
File: Rule (no auto-title, OpenLayers/Rule.js)
|
||||||
|
|
||||||
|
Group: Strategy {
|
||||||
|
|
||||||
|
File: Strategy (no auto-title, OpenLayers/Strategy.js)
|
||||||
|
File: BBOX (no auto-title, OpenLayers/Strategy/BBOX.js)
|
||||||
|
File: Cluster (no auto-title, OpenLayers/Strategy/Cluster.js)
|
||||||
|
File: Fixed (no auto-title, OpenLayers/Strategy/Fixed.js)
|
||||||
|
File: Paging (no auto-title, OpenLayers/Strategy/Paging.js)
|
||||||
|
File: Save (OpenLayers/Strategy/Save.js)
|
||||||
|
} # Group: Strategy
|
||||||
|
|
||||||
|
File: Style (no auto-title, OpenLayers/Style.js)
|
||||||
|
File: StyleMap (no auto-title, OpenLayers/StyleMap.js)
|
||||||
|
|
||||||
|
Group: Tile {
|
||||||
|
|
||||||
|
File: Tile (no auto-title, OpenLayers/Tile.js)
|
||||||
|
File: Image (no auto-title, OpenLayers/Tile/Image.js)
|
||||||
|
File: WFS (no auto-title, OpenLayers/Tile/WFS.js)
|
||||||
|
} # Group: Tile
|
||||||
|
|
||||||
|
File: Tween (no auto-title, OpenLayers/Tween.js)
|
||||||
|
File: Util (no auto-title, OpenLayers/Util.js)
|
||||||
|
} # Group: OpenLayers
|
||||||
|
|
||||||
|
Group: Index {
|
||||||
|
|
||||||
|
Index: Everything
|
||||||
|
Class Index: Classes
|
||||||
|
Constant Index: Constants
|
||||||
|
Function Index: Functions
|
||||||
|
Property Index: Properties
|
||||||
|
File Index: Files
|
||||||
|
Constructor Index: Constructor
|
||||||
|
} # Group: Index
|
||||||
|
|
||||||
20
apidoc_config/OL.css
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
p {
|
||||||
|
text-indent: 0; margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.MGroup {
|
||||||
|
font-variant: normal;
|
||||||
|
margin: 0.4em 0 0em 10px
|
||||||
|
}
|
||||||
|
|
||||||
|
.MTitle {
|
||||||
|
font-variant: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.CGroup .CTitle {
|
||||||
|
font-variant: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.SGroup .SEntry {
|
||||||
|
font-variant: normal;
|
||||||
|
}
|
||||||
105
apidoc_config/Topics.txt
Normal file
@@ -0,0 +1,105 @@
|
|||||||
|
Format: Development Release 12-07-2007 (1.35 base)
|
||||||
|
|
||||||
|
# This is the Natural Docs topics file for this project. If you change anything
|
||||||
|
# here, it will apply to THIS PROJECT ONLY. If you'd like to change something
|
||||||
|
# for all your projects, edit the Topics.txt in Natural Docs' Config directory
|
||||||
|
# instead.
|
||||||
|
|
||||||
|
|
||||||
|
Ignore Keywords:
|
||||||
|
function, functions
|
||||||
|
func, funcs
|
||||||
|
procedure, procedures
|
||||||
|
proc, procs
|
||||||
|
routine, routines
|
||||||
|
subroutine, subroutines
|
||||||
|
sub, subs
|
||||||
|
method, methods
|
||||||
|
callback, callbacks
|
||||||
|
property, properties
|
||||||
|
prop, props
|
||||||
|
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
# SYNTAX:
|
||||||
|
#
|
||||||
|
# Topic Type: [name]
|
||||||
|
# Alter Topic Type: [name]
|
||||||
|
# Creates a new topic type or alters one from the main file. Each type gets
|
||||||
|
# its own index and behavior settings. Its name can have letters, numbers,
|
||||||
|
# spaces, and these charaters: - / . '
|
||||||
|
#
|
||||||
|
# Plural: [name]
|
||||||
|
# Sets the plural name of the topic type, if different.
|
||||||
|
#
|
||||||
|
# Keywords:
|
||||||
|
# [keyword]
|
||||||
|
# [keyword], [plural keyword]
|
||||||
|
# ...
|
||||||
|
# Defines or adds to the list of keywords for the topic type. They may only
|
||||||
|
# contain letters, numbers, and spaces and are not case sensitive. Plural
|
||||||
|
# keywords are used for list topics. You can redefine keywords found in the
|
||||||
|
# main topics file.
|
||||||
|
#
|
||||||
|
# Index: [yes|no]
|
||||||
|
# Whether the topics get their own index. Defaults to yes. Everything is
|
||||||
|
# included in the general index regardless of this setting.
|
||||||
|
#
|
||||||
|
# Scope: [normal|start|end|always global]
|
||||||
|
# How the topics affects scope. Defaults to normal.
|
||||||
|
# normal - Topics stay within the current scope.
|
||||||
|
# start - Topics start a new scope for all the topics beneath it,
|
||||||
|
# like class topics.
|
||||||
|
# end - Topics reset the scope back to global for all the topics
|
||||||
|
# beneath it.
|
||||||
|
# always global - Topics are defined as global, but do not change the scope
|
||||||
|
# for any other topics.
|
||||||
|
#
|
||||||
|
# Class Hierarchy: [yes|no]
|
||||||
|
# Whether the topics are part of the class hierarchy. Defaults to no.
|
||||||
|
#
|
||||||
|
# Page Title If First: [yes|no]
|
||||||
|
# Whether the topic's title becomes the page title if it's the first one in
|
||||||
|
# a file. Defaults to no.
|
||||||
|
#
|
||||||
|
# Break Lists: [yes|no]
|
||||||
|
# Whether list topics should be broken into individual topics in the output.
|
||||||
|
# Defaults to no.
|
||||||
|
#
|
||||||
|
# Can Group With: [type], [type], ...
|
||||||
|
# Defines a list of topic types that this one can possibly be grouped with.
|
||||||
|
# Defaults to none.
|
||||||
|
#-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# The following topics are defined in the main file, if you'd like to alter
|
||||||
|
# their behavior or add keywords:
|
||||||
|
#
|
||||||
|
# Generic, Class, Interface, Section, File, Group, Function, Variable,
|
||||||
|
# Property, Type, Constant, Enumeration, Event, Delegate, Macro,
|
||||||
|
# Database, Database Table, Database View, Database Index, Database
|
||||||
|
# Cursor, Database Trigger, Cookie, Build Target
|
||||||
|
|
||||||
|
# If you add something that you think would be useful to other developers
|
||||||
|
# and should be included in Natural Docs by default, please e-mail it to
|
||||||
|
# topics [at] naturaldocs [dot] org.
|
||||||
|
|
||||||
|
|
||||||
|
Topic Type: Constructor
|
||||||
|
|
||||||
|
Class Hierarchy: Yes
|
||||||
|
Keywords:
|
||||||
|
constructor
|
||||||
|
initialize
|
||||||
|
|
||||||
|
|
||||||
|
Alter Topic Type: Function
|
||||||
|
|
||||||
|
Add Keywords:
|
||||||
|
apimethod
|
||||||
|
apifunction
|
||||||
|
|
||||||
|
|
||||||
|
Alter Topic Type: Property
|
||||||
|
|
||||||
|
Add Keywords:
|
||||||
|
apiproperty
|
||||||
127
art/arrows.svg
Normal file
@@ -0,0 +1,127 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://web.resource.org/cc/"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
width="18.000000px"
|
||||||
|
height="18.000000px"
|
||||||
|
id="svg2"
|
||||||
|
sodipodi:version="0.32"
|
||||||
|
inkscape:version="0.42"
|
||||||
|
sodipodi:docbase="/Users/phil/Documents/work/metacarta/2svn.openlayers.net/follower/code/b-edits-1/openlayers/assets/ui_elements"
|
||||||
|
sodipodi:docname="pan_icons.svg"
|
||||||
|
inkscape:export-filename="/Users/phil/Documents/work/metacarta/2svn.openlayers.net/follower/code/b-edits-1/openlayers/assets/ui_elements/zoom-minus-mini.png"
|
||||||
|
inkscape:export-xdpi="90.000000"
|
||||||
|
inkscape:export-ydpi="90.000000">
|
||||||
|
<defs
|
||||||
|
id="defs4" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="base"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1.0"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:zoom="1.0000000"
|
||||||
|
inkscape:cx="9.0000000"
|
||||||
|
inkscape:cy="9.0000000"
|
||||||
|
inkscape:document-units="px"
|
||||||
|
inkscape:current-layer="layer1"
|
||||||
|
inkscape:window-width="1226"
|
||||||
|
inkscape:window-height="800"
|
||||||
|
inkscape:window-x="42"
|
||||||
|
inkscape:window-y="22" />
|
||||||
|
<metadata
|
||||||
|
id="metadata7">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<g
|
||||||
|
inkscape:label="background"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer1">
|
||||||
|
<g
|
||||||
|
id="g2110">
|
||||||
|
<path
|
||||||
|
transform="matrix(0.000000,-1.003160,1.003160,0.000000,-2.844000e-2,18.02844)"
|
||||||
|
d="M 17.971654 9.0000000 A 8.9716539 8.9716539 0 1 1 0.028346062,9.0000000 A 8.9716539 8.9716539 0 1 1 17.971654 9.0000000 z"
|
||||||
|
sodipodi:ry="8.9716539"
|
||||||
|
sodipodi:rx="8.9716539"
|
||||||
|
sodipodi:cy="9.0000000"
|
||||||
|
sodipodi:cx="9.0000000"
|
||||||
|
id="path2059"
|
||||||
|
style="fill:#00008b;fill-opacity:1.0000000;stroke:none;stroke-width:39.984146;stroke-linejoin:round;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-opacity:1.0000000"
|
||||||
|
sodipodi:type="arc" />
|
||||||
|
<rect
|
||||||
|
transform="matrix(0.000000,-1.000000,1.000000,0.000000,0.000000,0.000000)"
|
||||||
|
y="4.3599998e-06"
|
||||||
|
x="-9.0000048"
|
||||||
|
height="18.000000"
|
||||||
|
width="9.0000000"
|
||||||
|
id="rect2061"
|
||||||
|
style="fill:#00008b;fill-opacity:1.0000000;stroke:none;stroke-width:39.984146;stroke-linejoin:round;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-opacity:1.0000000" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer4"
|
||||||
|
inkscape:label="zoom"
|
||||||
|
style="display:inline">
|
||||||
|
<text
|
||||||
|
xml:space="preserve"
|
||||||
|
style="font-size:18.000000px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125.00000%;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1.0000000;stroke:#ffffff;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1.0000000;font-family:Helvetica"
|
||||||
|
x="3.7485352"
|
||||||
|
y="-3.4077148"
|
||||||
|
id="text2114"
|
||||||
|
sodipodi:linespacing="125.00000%"
|
||||||
|
transform="scale(1.000000,-1.000000)"><tspan
|
||||||
|
sodipodi:role="line"
|
||||||
|
id="tspan2118"
|
||||||
|
x="3.7485352"
|
||||||
|
y="-3.4077148">−</tspan></text>
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer2"
|
||||||
|
inkscape:label="overlay"
|
||||||
|
style="display:none">
|
||||||
|
<path
|
||||||
|
style="font-size:12.000000px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125.00000%;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1.0000000;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000;font-family:Verdana"
|
||||||
|
d="M 2.9678210,9.0332227 C 2.9678314,9.5015070 3.1752531,9.8938504 3.5900866,10.210254 C 3.6463464,10.254553 3.9451742,10.453889 4.4865710,10.808262 L 8.1568835,13.247754 C 8.2693886,13.323691 8.4240759,13.393300 8.6209460,13.456582 C 8.8107943,13.519862 9.0041535,13.551503 9.2010240,13.551504 C 9.5736843,13.551503 9.8936056,13.431269 10.160789,13.190801 C 10.427980,12.950332 10.561574,12.659238 10.561572,12.317520 C 10.561574,11.861896 10.322511,11.488536 9.8443836,11.197442 L 8.5998522,10.428575 L 14.548408,10.428575 C 15.026535,10.428577 15.406221,10.298849 15.687470,10.039395 C 15.968721,9.7799443 16.109345,9.4318977 16.109345,8.9952540 C 16.109345,8.5396330 15.961690,8.1915865 15.666377,7.9511133 C 15.364034,7.7106494 14.980831,7.5904152 14.516767,7.5904102 L 8.6314928,7.5904102 L 9.9920390,6.7076368 C 10.160793,6.5937365 10.290871,6.4481897 10.382274,6.2709962 C 10.466652,6.0874870 10.508840,5.8913153 10.508837,5.6824805 C 10.508840,5.3281127 10.378761,5.0338552 10.118602,4.7997070 C 9.8584498,4.5655745 9.5279814,4.4485043 9.1271961,4.4484962 C 8.7615757,4.4485043 8.4029823,4.5624104 8.0514147,4.7902149 L 3.9697741,7.5239649 C 3.6393151,7.7454540 3.4002529,7.9542820 3.2525866,8.1504493 C 3.0627532,8.3972503 2.9678314,8.6756875 2.9678210,8.9857618 L 2.9678210,9.0332227"
|
||||||
|
id="text2082"
|
||||||
|
sodipodi:nodetypes="csccsssscccssscccssssccscc" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer3"
|
||||||
|
inkscape:label="pan triangle"
|
||||||
|
style="display:none">
|
||||||
|
<path
|
||||||
|
sodipodi:type="star"
|
||||||
|
style="fill:#ffffff;fill-opacity:1.0000000;stroke:none;stroke-width:39.984146;stroke-linejoin:round;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-opacity:1.0000000"
|
||||||
|
id="path2107"
|
||||||
|
sodipodi:sides="3"
|
||||||
|
sodipodi:cx="6.8031497"
|
||||||
|
sodipodi:cy="5.1874018"
|
||||||
|
sodipodi:r1="5.0880113"
|
||||||
|
sodipodi:r2="2.5440056"
|
||||||
|
sodipodi:arg1="1.0471976"
|
||||||
|
sodipodi:arg2="2.0943951"
|
||||||
|
inkscape:flatsided="false"
|
||||||
|
inkscape:rounded="0.0000000"
|
||||||
|
inkscape:randomized="0.0000000"
|
||||||
|
d="M 9.3471551,9.5937489 L 5.5311469,7.3905753 L 1.7151384,5.1874015 L 5.5311469,2.9842283 L 9.3471555,0.78105489 L 9.3471553,5.1874018 L 9.3471551,9.5937489 z "
|
||||||
|
transform="matrix(0.000000,-1.331000,1.331000,0.000000,2.038879,16.92102)" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 6.3 KiB |
128
art/layer-switcher-maximize.svg
Normal file
@@ -0,0 +1,128 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://web.resource.org/cc/"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
width="18.000000px"
|
||||||
|
height="18.000000px"
|
||||||
|
id="svg2"
|
||||||
|
sodipodi:version="0.32"
|
||||||
|
inkscape:version="0.43"
|
||||||
|
sodipodi:docbase="/home/sderle/projects/openlayers/layerswitcher/art"
|
||||||
|
sodipodi:docname="layer-switcher-maximize.svg"
|
||||||
|
inkscape:export-filename="/Users/phil/Documents/work/metacarta/2svn.openlayers.net/follower/code/b-edits-1/openlayers/assets/ui_elements/zoom-minus-mini.png"
|
||||||
|
inkscape:export-xdpi="90.000000"
|
||||||
|
inkscape:export-ydpi="90.000000">
|
||||||
|
<defs
|
||||||
|
id="defs4" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="base"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1.0"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:zoom="16"
|
||||||
|
inkscape:cx="9"
|
||||||
|
inkscape:cy="9"
|
||||||
|
inkscape:document-units="px"
|
||||||
|
inkscape:current-layer="layer4"
|
||||||
|
inkscape:window-width="1226"
|
||||||
|
inkscape:window-height="800"
|
||||||
|
inkscape:window-x="42"
|
||||||
|
inkscape:window-y="25" />
|
||||||
|
<metadata
|
||||||
|
id="metadata7">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<g
|
||||||
|
inkscape:label="background"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer1">
|
||||||
|
<g
|
||||||
|
id="g2110"
|
||||||
|
transform="matrix(-7.849624e-17,1,-1,-7.849624e-17,18,0)">
|
||||||
|
<path
|
||||||
|
transform="matrix(0,-1.00316,1.00316,0,-2.844e-2,18.02844)"
|
||||||
|
d="M 17.971654 9 A 8.9716539 8.9716539 0 1 1 0.028346062,9 A 8.9716539 8.9716539 0 1 1 17.971654 9 z"
|
||||||
|
sodipodi:ry="8.9716539"
|
||||||
|
sodipodi:rx="8.9716539"
|
||||||
|
sodipodi:cy="9"
|
||||||
|
sodipodi:cx="9"
|
||||||
|
id="path2059"
|
||||||
|
style="fill:#00008b;fill-opacity:1;stroke:none;stroke-width:39.98414612;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
sodipodi:type="arc" />
|
||||||
|
<rect
|
||||||
|
transform="matrix(0,-1,1,0,0,0)"
|
||||||
|
y="4.3599998e-06"
|
||||||
|
x="-9.0000048"
|
||||||
|
height="18"
|
||||||
|
width="9"
|
||||||
|
id="rect2061"
|
||||||
|
style="fill:#00008b;fill-opacity:1;stroke:none;stroke-width:39.98414612;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer4"
|
||||||
|
inkscape:label="zoom"
|
||||||
|
style="display:inline">
|
||||||
|
<text
|
||||||
|
xml:space="preserve"
|
||||||
|
style="font-size:18px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;display:inline;font-family:Helvetica"
|
||||||
|
x="1.5214844"
|
||||||
|
y="-3.2949219"
|
||||||
|
id="text2114"
|
||||||
|
sodipodi:linespacing="125%"
|
||||||
|
transform="scale(1,-1)"><tspan
|
||||||
|
sodipodi:role="line"
|
||||||
|
id="tspan2118"
|
||||||
|
x="1.5214844"
|
||||||
|
y="-3.2949219">+</tspan></text>
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer2"
|
||||||
|
inkscape:label="overlay"
|
||||||
|
style="display:none">
|
||||||
|
<path
|
||||||
|
style="font-size:12.000000px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125.00000%;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1.0000000;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000;font-family:Verdana"
|
||||||
|
d="M 2.9678210,9.0332227 C 2.9678314,9.5015070 3.1752531,9.8938504 3.5900866,10.210254 C 3.6463464,10.254553 3.9451742,10.453889 4.4865710,10.808262 L 8.1568835,13.247754 C 8.2693886,13.323691 8.4240759,13.393300 8.6209460,13.456582 C 8.8107943,13.519862 9.0041535,13.551503 9.2010240,13.551504 C 9.5736843,13.551503 9.8936056,13.431269 10.160789,13.190801 C 10.427980,12.950332 10.561574,12.659238 10.561572,12.317520 C 10.561574,11.861896 10.322511,11.488536 9.8443836,11.197442 L 8.5998522,10.428575 L 14.548408,10.428575 C 15.026535,10.428577 15.406221,10.298849 15.687470,10.039395 C 15.968721,9.7799443 16.109345,9.4318977 16.109345,8.9952540 C 16.109345,8.5396330 15.961690,8.1915865 15.666377,7.9511133 C 15.364034,7.7106494 14.980831,7.5904152 14.516767,7.5904102 L 8.6314928,7.5904102 L 9.9920390,6.7076368 C 10.160793,6.5937365 10.290871,6.4481897 10.382274,6.2709962 C 10.466652,6.0874870 10.508840,5.8913153 10.508837,5.6824805 C 10.508840,5.3281127 10.378761,5.0338552 10.118602,4.7997070 C 9.8584498,4.5655745 9.5279814,4.4485043 9.1271961,4.4484962 C 8.7615757,4.4485043 8.4029823,4.5624104 8.0514147,4.7902149 L 3.9697741,7.5239649 C 3.6393151,7.7454540 3.4002529,7.9542820 3.2525866,8.1504493 C 3.0627532,8.3972503 2.9678314,8.6756875 2.9678210,8.9857618 L 2.9678210,9.0332227"
|
||||||
|
id="text2082"
|
||||||
|
sodipodi:nodetypes="csccsssscccssscccssssccscc" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer3"
|
||||||
|
inkscape:label="pan triangle"
|
||||||
|
style="display:none">
|
||||||
|
<path
|
||||||
|
sodipodi:type="star"
|
||||||
|
style="fill:#ffffff;fill-opacity:1.0000000;stroke:none;stroke-width:39.984146;stroke-linejoin:round;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-opacity:1.0000000"
|
||||||
|
id="path2107"
|
||||||
|
sodipodi:sides="3"
|
||||||
|
sodipodi:cx="6.8031497"
|
||||||
|
sodipodi:cy="5.1874018"
|
||||||
|
sodipodi:r1="5.0880113"
|
||||||
|
sodipodi:r2="2.5440056"
|
||||||
|
sodipodi:arg1="1.0471976"
|
||||||
|
sodipodi:arg2="2.0943951"
|
||||||
|
inkscape:flatsided="false"
|
||||||
|
inkscape:rounded="0.0000000"
|
||||||
|
inkscape:randomized="0.0000000"
|
||||||
|
d="M 9.3471551,9.5937489 L 5.5311469,7.3905753 L 1.7151384,5.1874015 L 5.5311469,2.9842283 L 9.3471555,0.78105489 L 9.3471553,5.1874018 L 9.3471551,9.5937489 z "
|
||||||
|
transform="matrix(0.000000,-1.331000,1.331000,0.000000,2.038879,16.92102)" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 6.1 KiB |
142
art/layer-switcher-minimize.svg
Normal file
@@ -0,0 +1,142 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://web.resource.org/cc/"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
inkscape:export-ydpi="90.000000"
|
||||||
|
inkscape:export-xdpi="90.000000"
|
||||||
|
inkscape:export-filename="/home/sderle/projects/openlayers/layerswitcher/img/layer-switcher-minimize.png"
|
||||||
|
sodipodi:docname="layer-switcher-minimize.svg"
|
||||||
|
sodipodi:docbase="/home/sderle/projects/openlayers/layerswitcher/art"
|
||||||
|
inkscape:version="0.43"
|
||||||
|
sodipodi:version="0.32"
|
||||||
|
id="svg2"
|
||||||
|
height="18.000000px"
|
||||||
|
width="18.000000px">
|
||||||
|
<defs
|
||||||
|
id="defs4" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
inkscape:window-y="26"
|
||||||
|
inkscape:window-x="42"
|
||||||
|
inkscape:window-height="800"
|
||||||
|
inkscape:window-width="1226"
|
||||||
|
inkscape:current-layer="layer1"
|
||||||
|
inkscape:document-units="px"
|
||||||
|
inkscape:cy="9.3025513"
|
||||||
|
inkscape:cx="9"
|
||||||
|
inkscape:zoom="16"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
borderopacity="1.0"
|
||||||
|
bordercolor="#666666"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
id="base" />
|
||||||
|
<metadata
|
||||||
|
id="metadata7">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<g
|
||||||
|
style="display:inline"
|
||||||
|
id="layer1"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
inkscape:label="background">
|
||||||
|
<rect
|
||||||
|
style="fill:#00008b;fill-opacity:0;stroke:none;stroke-width:39.984146;stroke-linejoin:round;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000"
|
||||||
|
id="rect2061"
|
||||||
|
width="18.014498"
|
||||||
|
height="18.000000"
|
||||||
|
x="-18.014502"
|
||||||
|
y="4.3599998e-06"
|
||||||
|
transform="matrix(0.000000,-1.000000,1.000000,0.000000,0.000000,0.000000)"
|
||||||
|
inkscape:export-xdpi="90"
|
||||||
|
inkscape:export-ydpi="90"
|
||||||
|
inkscape:export-filename="/home/sderle/projects/openlayers/layerswitcher/art/layer-switcher-minimize.png" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
inkscape:label="graticule"
|
||||||
|
id="layer5"
|
||||||
|
inkscape:groupmode="layer">
|
||||||
|
<text
|
||||||
|
xml:space="preserve"
|
||||||
|
style="font-size:18px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1;display:inline;font-family:Helvetica"
|
||||||
|
x="5.2802601"
|
||||||
|
y="-3.8032362"
|
||||||
|
id="text1432"
|
||||||
|
sodipodi:linespacing="125%"
|
||||||
|
transform="scale(1,-1)"><tspan
|
||||||
|
sodipodi:role="line"
|
||||||
|
id="tspan1434"
|
||||||
|
x="5.2802601"
|
||||||
|
y="-3.8032362">-</tspan></text>
|
||||||
|
<rect
|
||||||
|
style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.99699599px;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1"
|
||||||
|
id="rect1438"
|
||||||
|
width="13.003004"
|
||||||
|
height="13.002999"
|
||||||
|
x="2.498498"
|
||||||
|
y="2.4984975" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
style="display:none"
|
||||||
|
inkscape:label="zoom"
|
||||||
|
id="layer4"
|
||||||
|
inkscape:groupmode="layer">
|
||||||
|
<text
|
||||||
|
transform="scale(1.000000,-1.000000)"
|
||||||
|
sodipodi:linespacing="125.00000%"
|
||||||
|
id="text2114"
|
||||||
|
y="-3.4077148"
|
||||||
|
x="3.7485352"
|
||||||
|
style="font-size:18.000000;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;fill:#ffffff;fill-opacity:1.0000000;stroke:#ffffff;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1.0000000;font-family:Helvetica;text-anchor:start;writing-mode:lr-tb"
|
||||||
|
xml:space="preserve"><tspan
|
||||||
|
y="-3.4077148"
|
||||||
|
x="3.7485352"
|
||||||
|
id="tspan2118"
|
||||||
|
sodipodi:role="line">−</tspan></text>
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
style="display:none"
|
||||||
|
inkscape:label="overlay"
|
||||||
|
id="layer2"
|
||||||
|
inkscape:groupmode="layer">
|
||||||
|
<path
|
||||||
|
sodipodi:nodetypes="csccsssscccssscccssssccscc"
|
||||||
|
id="text2082"
|
||||||
|
d="M 2.9678210,9.0332227 C 2.9678314,9.5015070 3.1752531,9.8938504 3.5900866,10.210254 C 3.6463464,10.254553 3.9451742,10.453889 4.4865710,10.808262 L 8.1568835,13.247754 C 8.2693886,13.323691 8.4240759,13.393300 8.6209460,13.456582 C 8.8107943,13.519862 9.0041535,13.551503 9.2010240,13.551504 C 9.5736843,13.551503 9.8936056,13.431269 10.160789,13.190801 C 10.427980,12.950332 10.561574,12.659238 10.561572,12.317520 C 10.561574,11.861896 10.322511,11.488536 9.8443836,11.197442 L 8.5998522,10.428575 L 14.548408,10.428575 C 15.026535,10.428577 15.406221,10.298849 15.687470,10.039395 C 15.968721,9.7799443 16.109345,9.4318977 16.109345,8.9952540 C 16.109345,8.5396330 15.961690,8.1915865 15.666377,7.9511133 C 15.364034,7.7106494 14.980831,7.5904152 14.516767,7.5904102 L 8.6314928,7.5904102 L 9.9920390,6.7076368 C 10.160793,6.5937365 10.290871,6.4481897 10.382274,6.2709962 C 10.466652,6.0874870 10.508840,5.8913153 10.508837,5.6824805 C 10.508840,5.3281127 10.378761,5.0338552 10.118602,4.7997070 C 9.8584498,4.5655745 9.5279814,4.4485043 9.1271961,4.4484962 C 8.7615757,4.4485043 8.4029823,4.5624104 8.0514147,4.7902149 L 3.9697741,7.5239649 C 3.6393151,7.7454540 3.4002529,7.9542820 3.2525866,8.1504493 C 3.0627532,8.3972503 2.9678314,8.6756875 2.9678210,8.9857618 L 2.9678210,9.0332227"
|
||||||
|
style="font-size:12.000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;fill:#ffffff;fill-opacity:1.0000000;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000;font-family:Verdana;text-anchor:start;writing-mode:lr-tb" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
style="display:none"
|
||||||
|
inkscape:label="pan triangle"
|
||||||
|
id="layer3"
|
||||||
|
inkscape:groupmode="layer">
|
||||||
|
<path
|
||||||
|
transform="matrix(0.000000,-1.331000,1.331000,0.000000,2.038879,16.92102)"
|
||||||
|
d="M 9.3471551,9.5937489 L 5.5311469,7.3905753 L 1.7151384,5.1874015 L 5.5311469,2.9842283 L 9.3471555,0.78105489 L 9.3471553,5.1874018 L 9.3471551,9.5937489 z "
|
||||||
|
inkscape:randomized="0.0000000"
|
||||||
|
inkscape:rounded="0.0000000"
|
||||||
|
inkscape:flatsided="false"
|
||||||
|
sodipodi:arg2="2.0943951"
|
||||||
|
sodipodi:arg1="1.0471976"
|
||||||
|
sodipodi:r2="2.5440056"
|
||||||
|
sodipodi:r1="5.0880113"
|
||||||
|
sodipodi:cy="5.1874018"
|
||||||
|
sodipodi:cx="6.8031497"
|
||||||
|
sodipodi:sides="3"
|
||||||
|
id="path2107"
|
||||||
|
style="fill:#ffffff;fill-opacity:1.0000000;stroke:none;stroke-width:39.984146;stroke-linejoin:round;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000"
|
||||||
|
sodipodi:type="star" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 6.6 KiB |
25
art/marker.svg
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Generator: Adobe Illustrator 12.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
|
||||||
|
<!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
|
||||||
|
<!ENTITY ns_svg "http://www.w3.org/2000/svg">
|
||||||
|
]>
|
||||||
|
<svg version="1.1" id="Layer_1" xmlns:i="&ns_ai;"
|
||||||
|
xmlns="&ns_svg;" width="20.5" height="24.5" viewBox="0 0 20.5 24.5"
|
||||||
|
overflow="visible" enable-background="new 0 0 20.5 24.5" xml:space="preserve">
|
||||||
|
<g i:extraneous="self">
|
||||||
|
<rect x="0.25" y="0.25" opacity="0" stroke="#000000" stroke-width="1" width="20" height="24"/>
|
||||||
|
<g id="XMLID_2_">
|
||||||
|
<g>
|
||||||
|
<polygon fill="#FF0000" points="10.12,0.6 19.93,7.71 10.06,24.03 0.6,7.58 "/>
|
||||||
|
</g>
|
||||||
|
<g>
|
||||||
|
<polyline fill="none" stroke="#000000" stroke-width="1" points="9.98,24.16 10.06,24.03 19.93,7.71 20.06,7.49 "/>
|
||||||
|
<polyline fill="none" stroke="#000000" stroke-width="1" points="10.13,24.16 10.06,24.03 0.6,7.58 0.5,7.41 "/>
|
||||||
|
<polyline fill="none" stroke="#000000" stroke-width="1" points="0.41,7.72 0.6,7.58 10.12,0.6 10.29,0.47 "/>
|
||||||
|
<polyline fill="none" stroke="#000000" stroke-width="1" points="9.94,0.47 10.12,0.6 19.93,7.71 20.06,7.8 "/>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<ellipse stroke="#000000" stroke-width="1" cx="10.125" cy="9.25" rx="1.5" ry="1.5"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.4 KiB |
36
art/measuring-stick-off.svg
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Generator: Adobe Illustrator 12.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
|
||||||
|
<!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
|
||||||
|
<!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
|
||||||
|
<!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
|
||||||
|
<!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
|
||||||
|
<!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
|
||||||
|
<!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">
|
||||||
|
<!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
|
||||||
|
<!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">
|
||||||
|
<!ENTITY ns_svg "http://www.w3.org/2000/svg">
|
||||||
|
<!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
|
||||||
|
]>
|
||||||
|
<svg version="1.1" id="Layer_1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;"
|
||||||
|
xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="28.375" height="28" viewBox="0 0 28.375 28"
|
||||||
|
overflow="visible" enable-background="new 0 0 28.375 28" xml:space="preserve">
|
||||||
|
<g i:extraneous="self">
|
||||||
|
<path fill="none" stroke="#00008B" stroke-width="1.5" d="M27.875,1.375"/>
|
||||||
|
<path fill="none" stroke="#00008B" stroke-width="1.5" d="M0,1.375"/>
|
||||||
|
<path fill="none" stroke="#FFFFFF" d="M0,27.475"/>
|
||||||
|
<path fill="none" stroke="#00008B" stroke-width="1.5" d="M1,27.645"/>
|
||||||
|
<path fill="none" stroke="#00008B" stroke-width="1.5" d="M1,0.544"/>
|
||||||
|
<line fill="none" stroke="#00008B" x1="0.875" y1="27.5" x2="27.875" y2="27.475"/>
|
||||||
|
<rect x="0.875" y="1.045" fill="#00008B" width="27.125" height="26"/>
|
||||||
|
<line fill="none" stroke="#00008B" x1="27.875" y1="26.925" x2="27.875" y2="0.925"/>
|
||||||
|
<line fill="none" stroke="#FFFFFF" x1="1.375" y1="0.5" x2="27.375" y2="0.5"/>
|
||||||
|
<line fill="none" stroke="#FFFFFF" x1="0.875" y1="1" x2="0.875" y2="27"/>
|
||||||
|
|
||||||
|
<rect x="5.252" y="11.157" transform="matrix(0.7933 -0.6088 0.6088 0.7933 -5.1621 12.1086)" fill="#FFBF00" width="20" height="5"/>
|
||||||
|
<line fill="#FFBF00" stroke="#000000" x1="8.376" y1="15.783" x2="10.717" y2="18.766"/>
|
||||||
|
<line fill="#FFBF00" stroke="#000000" x1="11.946" y1="13.043" x2="14.288" y2="16.027"/>
|
||||||
|
<line fill="#FFBF00" stroke="#000000" x1="15.342" y1="10.437" x2="17.684" y2="13.42"/>
|
||||||
|
<line fill="#FFBF00" stroke="#000000" x1="18.69" y1="7.869" x2="21.03" y2="10.852"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.3 KiB |
36
art/measuring-stick-on.svg
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Generator: Adobe Illustrator 12.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
|
||||||
|
<!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
|
||||||
|
<!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
|
||||||
|
<!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
|
||||||
|
<!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
|
||||||
|
<!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
|
||||||
|
<!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">
|
||||||
|
<!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
|
||||||
|
<!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">
|
||||||
|
<!ENTITY ns_svg "http://www.w3.org/2000/svg">
|
||||||
|
<!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
|
||||||
|
]>
|
||||||
|
<svg version="1.1" id="Layer_1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;"
|
||||||
|
xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="28.375" height="28" viewBox="0 0 28.375 28"
|
||||||
|
overflow="visible" enable-background="new 0 0 28.375 28" xml:space="preserve">
|
||||||
|
<g i:extraneous="self">
|
||||||
|
<path fill="none" stroke="#00008B" stroke-width="1.5" d="M27.875,1.375"/>
|
||||||
|
<path fill="none" stroke="#00008B" stroke-width="1.5" d="M0,1.375"/>
|
||||||
|
<path fill="none" stroke="#FFFFFF" d="M0,27.475"/>
|
||||||
|
<path fill="none" stroke="#00008B" stroke-width="1.5" d="M1,27.645"/>
|
||||||
|
<path fill="none" stroke="#00008B" stroke-width="1.5" d="M1,0.544"/>
|
||||||
|
<line fill="none" stroke="#FFFFFF" x1="0.875" y1="27.5" x2="27.875" y2="27.475"/>
|
||||||
|
<rect x="0.875" y="1.045" fill="#ADD8E6" width="27.125" height="26"/>
|
||||||
|
<line fill="none" stroke="#FFFFFF" x1="27.875" y1="26.925" x2="27.875" y2="0.925"/>
|
||||||
|
<line fill="none" stroke="#00008B" x1="1.375" y1="0.5" x2="27.375" y2="0.5"/>
|
||||||
|
<line fill="none" stroke="#00008B" x1="0.875" y1="1" x2="0.875" y2="27"/>
|
||||||
|
|
||||||
|
<rect x="4.252" y="12.157" transform="matrix(0.7933 -0.6088 0.6088 0.7933 -5.9776 11.7065)" fill="#FFBF00" width="20" height="5"/>
|
||||||
|
<line fill="#FFBF00" stroke="#000000" x1="7.376" y1="16.783" x2="9.717" y2="19.766"/>
|
||||||
|
<line fill="#FFBF00" stroke="#000000" x1="10.946" y1="14.043" x2="13.288" y2="17.027"/>
|
||||||
|
<line fill="#FFBF00" stroke="#000000" x1="14.342" y1="11.437" x2="16.684" y2="14.42"/>
|
||||||
|
<line fill="#FFBF00" stroke="#000000" x1="17.69" y1="8.869" x2="20.03" y2="11.852"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.3 KiB |
44
art/panning-hand-off.svg
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Generator: Adobe Illustrator 12.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
|
||||||
|
<!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
|
||||||
|
<!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
|
||||||
|
<!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
|
||||||
|
<!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
|
||||||
|
<!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
|
||||||
|
<!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">
|
||||||
|
<!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
|
||||||
|
<!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">
|
||||||
|
<!ENTITY ns_svg "http://www.w3.org/2000/svg">
|
||||||
|
<!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
|
||||||
|
]>
|
||||||
|
<svg version="1.1" id="Layer_1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;"
|
||||||
|
xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="28.375" height="28" viewBox="0 0 28.375 28"
|
||||||
|
overflow="visible" enable-background="new 0 0 28.375 28" xml:space="preserve">
|
||||||
|
<g i:extraneous="self">
|
||||||
|
<path fill="none" stroke="#00008B" stroke-width="1.5" d="M27.875,1.375"/>
|
||||||
|
<path fill="none" stroke="#00008B" stroke-width="1.5" d="M0,1.375"/>
|
||||||
|
<path fill="none" stroke="#FFFFFF" d="M0,27.475"/>
|
||||||
|
<path fill="none" stroke="#00008B" stroke-width="1.5" d="M1,27.645"/>
|
||||||
|
<path fill="none" stroke="#00008B" stroke-width="1.5" d="M1,0.544"/>
|
||||||
|
<line fill="none" stroke="#00008B" x1="0.875" y1="27.5" x2="27.875" y2="27.475"/>
|
||||||
|
<rect x="0.875" y="1.045" fill="#00008B" width="27.125" height="26"/>
|
||||||
|
<line fill="none" stroke="#00008B" x1="27.875" y1="26.925" x2="27.875" y2="0.925"/>
|
||||||
|
<line fill="none" stroke="#FFFFFF" x1="1.375" y1="0.5" x2="27.375" y2="0.5"/>
|
||||||
|
<line fill="none" stroke="#FFFFFF" x1="0.875" y1="1" x2="0.875" y2="27"/>
|
||||||
|
<path fill="#FFFFFF" stroke="#000000" d="M9.458,22.458c-0.473-0.168-1.02-1.269-1.363-1.695
|
||||||
|
c-0.479-0.595-0.894-1.245-1.377-1.829c-0.733-0.887-1.356-1.729-1.854-2.764c-0.375-0.782-0.884-1.997-0.005-2.648
|
||||||
|
c1.036-0.767,2.095-0.162,2.934,0.479c0.844,0.646,1.729,1.18,2.526,1.869c-0.372-0.305-0.548-0.986-0.778-1.421
|
||||||
|
c-0.253-0.477-0.565-0.906-0.822-1.375c-0.359-0.657-0.767-1.201-1.21-1.823c-0.544-0.763-1.051-1.74-0.925-2.709
|
||||||
|
c0.133-1.025,0.972-1.527,1.924-1.207c1.202,0.405,1.969,1.692,2.627,2.698c0.636,0.971,1.201,2.159,1.938,3.042
|
||||||
|
c-0.222-0.209-0.148-0.508-0.155-0.782c-0.01-0.37-0.097-0.626-0.219-0.967c-0.162-0.455-0.219-0.972-0.24-1.45
|
||||||
|
c-0.034-0.776-0.25-1.465-0.25-2.247c0-0.988-0.14-1.963,0.71-2.631c0.666-0.523,1.649-0.764,2.381-0.248
|
||||||
|
c1.385,0.976,1.057,2.999,1.209,4.458c0.079,0.759,0.165,1.489,0.2,2.263c0.022,0.496,0.209,1.067,0.168,1.558
|
||||||
|
c-0.146-0.269-0.113-0.749-0.127-1.057c-0.022-0.502-0.041-0.982-0.115-1.47c-0.114-0.743-0.188-1.564-0.25-2.324
|
||||||
|
c-0.152-1.877,2.054-3.17,3.301-1.469c0.884,1.206,0.773,2.643,0.773,4.085c0,0.698-0.034,1.251-0.22,1.91
|
||||||
|
c-0.13,0.459-0.293,1.222-0.239,1.638c0-0.902,0.334-1.697,0.334-2.588c0-0.678-0.272-2.099,0.581-2.334
|
||||||
|
c1.065-0.294,2.008,0.875,2.428,1.66c0.458,0.855,0.555,1.901,0.409,2.882c-0.318,2.154-0.845,4.227-2.096,6.072
|
||||||
|
c-0.268,0.396-0.485,0.838-0.79,1.22c-0.361,0.452-0.923,0.772-1.416,1.071c-0.381,0.232-0.764,0.53-1.176,0.604
|
||||||
|
c-0.822,0.149-1.725,0.157-2.565,0.157c-1.29,0-2.564-0.068-3.832-0.251c-0.799-0.115-2.12,0.153-2.668-0.54"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 3.3 KiB |
44
art/panning-hand-on.svg
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Generator: Adobe Illustrator 12.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 51448) -->
|
||||||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
|
||||||
|
<!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
|
||||||
|
<!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
|
||||||
|
<!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
|
||||||
|
<!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
|
||||||
|
<!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
|
||||||
|
<!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">
|
||||||
|
<!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
|
||||||
|
<!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">
|
||||||
|
<!ENTITY ns_svg "http://www.w3.org/2000/svg">
|
||||||
|
<!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
|
||||||
|
]>
|
||||||
|
<svg version="1.1" id="Layer_1" xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;"
|
||||||
|
xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" width="28.375" height="28" viewBox="0 0 28.375 28"
|
||||||
|
overflow="visible" enable-background="new 0 0 28.375 28" xml:space="preserve">
|
||||||
|
<g i:extraneous="self">
|
||||||
|
<path fill="none" stroke="#00008B" stroke-width="1.5" d="M27.875,1.375"/>
|
||||||
|
<path fill="none" stroke="#00008B" stroke-width="1.5" d="M0,1.375"/>
|
||||||
|
<path fill="none" stroke="#FFFFFF" d="M0,27.475"/>
|
||||||
|
<path fill="none" stroke="#00008B" stroke-width="1.5" d="M1,27.645"/>
|
||||||
|
<path fill="none" stroke="#00008B" stroke-width="1.5" d="M1,0.544"/>
|
||||||
|
<line fill="none" stroke="#FFFFFF" x1="0.875" y1="27.5" x2="27.875" y2="27.475"/>
|
||||||
|
<rect x="0.875" y="1.045" fill="#ADD8E6" width="27.125" height="26"/>
|
||||||
|
<line fill="none" stroke="#FFFFFF" x1="27.875" y1="26.925" x2="27.875" y2="0.925"/>
|
||||||
|
<line fill="none" stroke="#00008B" x1="1.375" y1="0.5" x2="27.375" y2="0.5"/>
|
||||||
|
<line fill="none" stroke="#00008B" x1="0.875" y1="1" x2="0.875" y2="27"/>
|
||||||
|
<path fill="#FFFFFF" stroke="#000000" d="M8.458,23.458c-0.473-0.168-1.02-1.269-1.363-1.695
|
||||||
|
c-0.479-0.595-0.894-1.245-1.377-1.829c-0.733-0.887-1.356-1.729-1.854-2.764c-0.375-0.782-0.884-1.997-0.005-2.648
|
||||||
|
c1.036-0.767,2.095-0.161,2.934,0.479c0.844,0.646,1.729,1.18,2.526,1.869c-0.372-0.305-0.548-0.986-0.778-1.421
|
||||||
|
c-0.253-0.477-0.565-0.906-0.822-1.375c-0.359-0.657-0.767-1.201-1.21-1.823c-0.544-0.763-1.051-1.74-0.925-2.709
|
||||||
|
c0.133-1.025,0.972-1.527,1.924-1.207c1.202,0.405,1.969,1.692,2.627,2.698c0.636,0.971,1.201,2.159,1.938,3.042
|
||||||
|
c-0.222-0.21-0.148-0.509-0.155-0.783c-0.01-0.37-0.097-0.626-0.219-0.967c-0.162-0.455-0.219-0.972-0.24-1.45
|
||||||
|
c-0.034-0.776-0.25-1.465-0.25-2.247c0-0.988-0.14-1.963,0.71-2.631c0.666-0.523,1.649-0.764,2.381-0.248
|
||||||
|
c1.385,0.976,1.057,2.999,1.209,4.458c0.079,0.759,0.165,1.489,0.2,2.263c0.022,0.496,0.209,1.068,0.168,1.558
|
||||||
|
c-0.146-0.27-0.113-0.75-0.127-1.058c-0.022-0.502-0.041-0.982-0.115-1.47c-0.114-0.743-0.188-1.564-0.25-2.324
|
||||||
|
c-0.152-1.877,2.054-3.17,3.301-1.469c0.884,1.206,0.773,2.643,0.773,4.085c0,0.698-0.034,1.251-0.22,1.91
|
||||||
|
c-0.13,0.459-0.293,1.222-0.239,1.639c0-0.902,0.334-1.697,0.334-2.589c0-0.678-0.272-2.099,0.581-2.334
|
||||||
|
c1.065-0.294,2.008,0.875,2.428,1.66c0.458,0.855,0.555,1.901,0.409,2.883c-0.318,2.153-0.845,4.227-2.096,6.071
|
||||||
|
c-0.268,0.396-0.485,0.838-0.79,1.22c-0.361,0.452-0.923,0.772-1.416,1.071c-0.381,0.232-0.764,0.53-1.176,0.604
|
||||||
|
c-0.822,0.149-1.725,0.157-2.565,0.157c-1.29,0-2.564-0.068-3.832-0.251c-0.799-0.115-2.12,0.153-2.668-0.54"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 3.3 KiB |
71
art/slider.svg
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://web.resource.org/cc/"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
width="210mm"
|
||||||
|
height="297mm"
|
||||||
|
id="svg2"
|
||||||
|
sodipodi:version="0.32"
|
||||||
|
inkscape:version="0.41.1"
|
||||||
|
sodipodi:docbase="/afs/metacarta.com/user/sderle/public_html/ol.zoombar/art"
|
||||||
|
sodipodi:docname="slider.svg"
|
||||||
|
inkscape:export-filename="/afs/metacarta.com/user/sderle/public_html/ol.zoombar/img/slider.png"
|
||||||
|
inkscape:export-xdpi="90.000000"
|
||||||
|
inkscape:export-ydpi="90.000000">
|
||||||
|
<defs
|
||||||
|
id="defs3" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="base"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1.0"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:zoom="39.870978"
|
||||||
|
inkscape:cx="140.00732"
|
||||||
|
inkscape:cy="695.49796"
|
||||||
|
inkscape:document-units="px"
|
||||||
|
inkscape:current-layer="layer1"
|
||||||
|
showgrid="true"
|
||||||
|
inkscape:window-width="1010"
|
||||||
|
inkscape:window-height="538"
|
||||||
|
inkscape:window-x="20"
|
||||||
|
inkscape:window-y="107" />
|
||||||
|
<metadata
|
||||||
|
id="metadata4">
|
||||||
|
<rdf:RDF
|
||||||
|
id="RDF5">
|
||||||
|
<cc:Work
|
||||||
|
rdf:about=""
|
||||||
|
id="Work6">
|
||||||
|
<dc:format
|
||||||
|
id="format7">image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
id="type9"
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<g
|
||||||
|
inkscape:label="Layer 1"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer1">
|
||||||
|
<rect
|
||||||
|
style="fill:#00008b;fill-opacity:1.0000000;stroke:#000080;stroke-width:4.9999957;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000"
|
||||||
|
id="rect1291"
|
||||||
|
x="132.50000"
|
||||||
|
y="354.86218"
|
||||||
|
width="15.014628"
|
||||||
|
height="4.0040474" />
|
||||||
|
<path
|
||||||
|
style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#ffffff;stroke-width:2.0000000;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000"
|
||||||
|
d="M 134.08880,356.89603 L 146.00000,356.87002"
|
||||||
|
id="path2052" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.4 KiB |
193
art/zoom-world.svg
Normal file
@@ -0,0 +1,193 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
<svg
|
||||||
|
xmlns:xml="http://www.w3.org/XML/1998/namespace"
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://web.resource.org/cc/"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
inkscape:export-ydpi="90.000000"
|
||||||
|
inkscape:export-xdpi="90.000000"
|
||||||
|
inkscape:export-filename="/Users/phil/Documents/work/metacarta/2svn.openlayers.net/follower/code/b-edits-1/openlayers/assets/ui_elements/zoom-minus-mini.png"
|
||||||
|
sodipodi:docname="zoom-world.svg"
|
||||||
|
sodipodi:docbase="/afs/metacarta.com/user/sderle/OL/openlayers/assets/ui_elements"
|
||||||
|
inkscape:version="0.41.1"
|
||||||
|
sodipodi:version="0.32"
|
||||||
|
id="svg2"
|
||||||
|
height="18.000000px"
|
||||||
|
width="18.000000px">
|
||||||
|
<defs
|
||||||
|
id="defs4" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
inkscape:window-y="26"
|
||||||
|
inkscape:window-x="42"
|
||||||
|
inkscape:window-height="800"
|
||||||
|
inkscape:window-width="1226"
|
||||||
|
inkscape:current-layer="layer5"
|
||||||
|
inkscape:document-units="px"
|
||||||
|
inkscape:cy="9.3025513"
|
||||||
|
inkscape:cx="9.0000000"
|
||||||
|
inkscape:zoom="1.0000000"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
borderopacity="1.0"
|
||||||
|
bordercolor="#666666"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
id="base" />
|
||||||
|
<metadata
|
||||||
|
id="metadata7">
|
||||||
|
<rdf:RDF
|
||||||
|
id="RDF1295">
|
||||||
|
<cc:Work
|
||||||
|
id="Work1297"
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format
|
||||||
|
id="format1299">image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
id="type1301"
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<g
|
||||||
|
style="display:inline"
|
||||||
|
id="layer1"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
inkscape:label="background">
|
||||||
|
<rect
|
||||||
|
style="fill:#00008b;fill-opacity:1.0000000;stroke:none;stroke-width:39.984146;stroke-linejoin:round;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000"
|
||||||
|
id="rect2061"
|
||||||
|
width="18.014498"
|
||||||
|
height="18.000000"
|
||||||
|
x="-18.014502"
|
||||||
|
y="4.3599998e-06"
|
||||||
|
transform="matrix(0.000000,-1.000000,1.000000,0.000000,0.000000,0.000000)" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
inkscape:label="graticule"
|
||||||
|
id="layer5"
|
||||||
|
inkscape:groupmode="layer">
|
||||||
|
<g
|
||||||
|
transform="translate(0.000000,-4.419417e-2)"
|
||||||
|
id="g2876">
|
||||||
|
<path
|
||||||
|
transform="matrix(1.155321,0.000000,0.000000,1.155321,-2.292065,-1.751761)"
|
||||||
|
d="M 16.869573 9.3188362 A 7.0579743 7.0579743 0 1 1 2.7536244,9.3188362 A 7.0579743 7.0579743 0 1 1 16.869573 9.3188362 z"
|
||||||
|
sodipodi:ry="7.0579743"
|
||||||
|
sodipodi:rx="7.0579743"
|
||||||
|
sodipodi:cy="9.3188362"
|
||||||
|
sodipodi:cx="9.8115988"
|
||||||
|
id="path1321"
|
||||||
|
style="fill:none;fill-opacity:1.0000000;stroke:#ffffff;stroke-width:0.50000000;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000"
|
||||||
|
sodipodi:type="arc" />
|
||||||
|
<path
|
||||||
|
sodipodi:nodetypes="cc"
|
||||||
|
id="path2086"
|
||||||
|
d="M 8.1145142,1.1289949 C 15.315267,9.5238831 8.3963197,17.101449 8.3963197,17.057255"
|
||||||
|
style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.50000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000" />
|
||||||
|
<path
|
||||||
|
sodipodi:nodetypes="cc"
|
||||||
|
id="path2846"
|
||||||
|
d="M 11.588885,1.3666059 C 18.922222,9.5405232 11.605526,16.764536 11.605526,16.764536"
|
||||||
|
style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.50000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000" />
|
||||||
|
<path
|
||||||
|
sodipodi:nodetypes="cc"
|
||||||
|
id="path2848"
|
||||||
|
d="M 5.2258471,2.0593951 C 11.080923,9.7405585 5.3432210,16.278941 5.3432210,16.278941"
|
||||||
|
style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.50000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000" />
|
||||||
|
<path
|
||||||
|
sodipodi:nodetypes="cc"
|
||||||
|
id="path2850"
|
||||||
|
d="M 2.7388198,3.7571959 C 6.3686281,9.1817837 2.9127331,14.361601 2.9127331,14.361601"
|
||||||
|
style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.50000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
transform="matrix(-6.269315e-2,0.998033,-0.998033,-6.269315e-2,18.62352,0.612232)"
|
||||||
|
id="g2883">
|
||||||
|
<path
|
||||||
|
transform="matrix(1.155321,0.000000,0.000000,1.155321,-2.292065,-1.751761)"
|
||||||
|
d="M 16.869573 9.3188362 A 7.0579743 7.0579743 0 1 1 2.7536244,9.3188362 A 7.0579743 7.0579743 0 1 1 16.869573 9.3188362 z"
|
||||||
|
sodipodi:ry="7.0579743"
|
||||||
|
sodipodi:rx="7.0579743"
|
||||||
|
sodipodi:cy="9.3188362"
|
||||||
|
sodipodi:cx="9.8115988"
|
||||||
|
id="path2885"
|
||||||
|
style="fill:none;fill-opacity:1.0000000;stroke:#ffffff;stroke-width:0.50000000;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000"
|
||||||
|
sodipodi:type="arc" />
|
||||||
|
<path
|
||||||
|
sodipodi:nodetypes="cc"
|
||||||
|
id="path2887"
|
||||||
|
d="M 8.1145142,1.1289949 C 15.315267,9.5238831 8.3963197,17.101449 8.3963197,17.057255"
|
||||||
|
style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.50000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000" />
|
||||||
|
<path
|
||||||
|
sodipodi:nodetypes="cc"
|
||||||
|
id="path2889"
|
||||||
|
d="M 11.588885,1.3666059 C 18.922222,9.5405232 11.605526,16.764536 11.605526,16.764536"
|
||||||
|
style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.50000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000" />
|
||||||
|
<path
|
||||||
|
sodipodi:nodetypes="cc"
|
||||||
|
id="path2891"
|
||||||
|
d="M 5.2258471,2.0593951 C 11.080923,9.7405585 5.3432210,16.278941 5.3432210,16.278941"
|
||||||
|
style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.50000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000" />
|
||||||
|
<path
|
||||||
|
sodipodi:nodetypes="cc"
|
||||||
|
id="path2893"
|
||||||
|
d="M 2.7388198,3.7571959 C 6.3686281,9.1817837 2.9127331,14.361601 2.9127331,14.361601"
|
||||||
|
style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.50000000;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
style="display:none"
|
||||||
|
inkscape:label="zoom"
|
||||||
|
id="layer4"
|
||||||
|
inkscape:groupmode="layer">
|
||||||
|
<text
|
||||||
|
transform="scale(1.000000,-1.000000)"
|
||||||
|
sodipodi:linespacing="125.00000%"
|
||||||
|
id="text2114"
|
||||||
|
y="-3.4077148"
|
||||||
|
x="3.7485352"
|
||||||
|
style="font-size:18.000000;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;fill:#ffffff;fill-opacity:1.0000000;stroke:#ffffff;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1.0000000;font-family:Helvetica;text-anchor:start;writing-mode:lr-tb"
|
||||||
|
xml:space="preserve"><tspan
|
||||||
|
y="-3.4077148"
|
||||||
|
x="3.7485352"
|
||||||
|
id="tspan2118"
|
||||||
|
sodipodi:role="line">−</tspan></text>
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
style="display:none"
|
||||||
|
inkscape:label="overlay"
|
||||||
|
id="layer2"
|
||||||
|
inkscape:groupmode="layer">
|
||||||
|
<path
|
||||||
|
sodipodi:nodetypes="csccsssscccssscccssssccscc"
|
||||||
|
id="text2082"
|
||||||
|
d="M 2.9678210,9.0332227 C 2.9678314,9.5015070 3.1752531,9.8938504 3.5900866,10.210254 C 3.6463464,10.254553 3.9451742,10.453889 4.4865710,10.808262 L 8.1568835,13.247754 C 8.2693886,13.323691 8.4240759,13.393300 8.6209460,13.456582 C 8.8107943,13.519862 9.0041535,13.551503 9.2010240,13.551504 C 9.5736843,13.551503 9.8936056,13.431269 10.160789,13.190801 C 10.427980,12.950332 10.561574,12.659238 10.561572,12.317520 C 10.561574,11.861896 10.322511,11.488536 9.8443836,11.197442 L 8.5998522,10.428575 L 14.548408,10.428575 C 15.026535,10.428577 15.406221,10.298849 15.687470,10.039395 C 15.968721,9.7799443 16.109345,9.4318977 16.109345,8.9952540 C 16.109345,8.5396330 15.961690,8.1915865 15.666377,7.9511133 C 15.364034,7.7106494 14.980831,7.5904152 14.516767,7.5904102 L 8.6314928,7.5904102 L 9.9920390,6.7076368 C 10.160793,6.5937365 10.290871,6.4481897 10.382274,6.2709962 C 10.466652,6.0874870 10.508840,5.8913153 10.508837,5.6824805 C 10.508840,5.3281127 10.378761,5.0338552 10.118602,4.7997070 C 9.8584498,4.5655745 9.5279814,4.4485043 9.1271961,4.4484962 C 8.7615757,4.4485043 8.4029823,4.5624104 8.0514147,4.7902149 L 3.9697741,7.5239649 C 3.6393151,7.7454540 3.4002529,7.9542820 3.2525866,8.1504493 C 3.0627532,8.3972503 2.9678314,8.6756875 2.9678210,8.9857618 L 2.9678210,9.0332227"
|
||||||
|
style="font-size:12.000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;fill:#ffffff;fill-opacity:1.0000000;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000;font-family:Verdana;text-anchor:start;writing-mode:lr-tb" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
style="display:none"
|
||||||
|
inkscape:label="pan triangle"
|
||||||
|
id="layer3"
|
||||||
|
inkscape:groupmode="layer">
|
||||||
|
<path
|
||||||
|
transform="matrix(0.000000,-1.331000,1.331000,0.000000,2.038879,16.92102)"
|
||||||
|
d="M 9.3471551,9.5937489 L 5.5311469,7.3905753 L 1.7151384,5.1874015 L 5.5311469,2.9842283 L 9.3471555,0.78105489 L 9.3471553,5.1874018 L 9.3471551,9.5937489 z "
|
||||||
|
inkscape:randomized="0.0000000"
|
||||||
|
inkscape:rounded="0.0000000"
|
||||||
|
inkscape:flatsided="false"
|
||||||
|
sodipodi:arg2="2.0943951"
|
||||||
|
sodipodi:arg1="1.0471976"
|
||||||
|
sodipodi:r2="2.5440056"
|
||||||
|
sodipodi:r1="5.0880113"
|
||||||
|
sodipodi:cy="5.1874018"
|
||||||
|
sodipodi:cx="6.8031497"
|
||||||
|
sodipodi:sides="3"
|
||||||
|
id="path2107"
|
||||||
|
style="fill:#ffffff;fill-opacity:1.0000000;stroke:none;stroke-width:39.984146;stroke-linejoin:round;stroke-miterlimit:4.0000000;stroke-opacity:1.0000000"
|
||||||
|
sodipodi:type="star" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 10 KiB |
73
art/zoombar.svg
Normal file
@@ -0,0 +1,73 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://web.resource.org/cc/"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
width="18"
|
||||||
|
height="18"
|
||||||
|
id="svg2"
|
||||||
|
sodipodi:version="0.32"
|
||||||
|
inkscape:version="0.43"
|
||||||
|
version="1.0"
|
||||||
|
inkscape:export-filename="C:\Documents and Settings\crschmidt\Desktop\zoombar.png"
|
||||||
|
inkscape:export-xdpi="90"
|
||||||
|
inkscape:export-ydpi="90"
|
||||||
|
sodipodi:docbase="C:\Documents and Settings\crschmidt\Desktop"
|
||||||
|
sodipodi:docname="zoombar.svg">
|
||||||
|
<defs
|
||||||
|
id="defs4" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
id="base"
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1.0"
|
||||||
|
inkscape:pageopacity="0.0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:zoom="1"
|
||||||
|
inkscape:cx="-117.50597"
|
||||||
|
inkscape:cy="65.94562"
|
||||||
|
inkscape:document-units="px"
|
||||||
|
inkscape:current-layer="layer1"
|
||||||
|
showguides="false"
|
||||||
|
showgrid="false"
|
||||||
|
inkscape:window-width="1024"
|
||||||
|
inkscape:window-height="721"
|
||||||
|
inkscape:window-x="-4"
|
||||||
|
inkscape:window-y="-4" />
|
||||||
|
<metadata
|
||||||
|
id="metadata7">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<g
|
||||||
|
inkscape:label="Layer 1"
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer1">
|
||||||
|
<rect
|
||||||
|
style="opacity:0.5;fill:#808080;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:1.00000012;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
id="rect1307"
|
||||||
|
width="16.999998"
|
||||||
|
height="10.000004"
|
||||||
|
x="-125.51302"
|
||||||
|
y="-52.420002" />
|
||||||
|
<path
|
||||||
|
style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.99999958;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.50196078"
|
||||||
|
d="M -125.54176,-52.415494 L -125.54176,-42.415495"
|
||||||
|
id="path8297" />
|
||||||
|
<path
|
||||||
|
style="fill:none;fill-opacity:0.75;fill-rule:evenodd;stroke:#000000;stroke-width:0.99999982;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.50196078"
|
||||||
|
d="M -108.48157,-52.418044 L -108.48157,-42.418046"
|
||||||
|
id="path12667" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 2.6 KiB |
@@ -1,33 +0,0 @@
|
|||||||
//
|
|
||||||
// A PhantomJS script used to check that the hosted examples load
|
|
||||||
// without errors. This script is executed by the build tool's
|
|
||||||
// check-examples target.
|
|
||||||
//
|
|
||||||
var args = require('system').args;
|
|
||||||
if (args.length != 2) {
|
|
||||||
phantom.exit(2);
|
|
||||||
}
|
|
||||||
var examplePath = args[1];
|
|
||||||
var page = require('webpage').create();
|
|
||||||
page.onError = function(msg, trace) {
|
|
||||||
var msgStack = ['JavaScript ERROR: ' + msg];
|
|
||||||
if (trace) {
|
|
||||||
msgStack.push('TRACE:');
|
|
||||||
trace.forEach(function(t) {
|
|
||||||
msgStack.push(' -> ' + t.file + ': ' + t.line + (t.function ? ' (in function "' + t.function + '")' : ''));
|
|
||||||
});
|
|
||||||
}
|
|
||||||
console.error(msgStack.join('\n'));
|
|
||||||
phantom.exit(1);
|
|
||||||
};
|
|
||||||
page.open(examplePath, function(s) {
|
|
||||||
var exitCode = 0;
|
|
||||||
if (s != 'success') {
|
|
||||||
exitCode = 1;
|
|
||||||
console.error('PAGE LOAD ERROR');
|
|
||||||
}
|
|
||||||
phantom.exit(exitCode);
|
|
||||||
});
|
|
||||||
page.onConsoleMessage = function(msg) {
|
|
||||||
console.log('console:', msg);
|
|
||||||
};
|
|
||||||
@@ -1,193 +0,0 @@
|
|||||||
import os
|
|
||||||
import logging
|
|
||||||
import re
|
|
||||||
import sys
|
|
||||||
|
|
||||||
logging.basicConfig(format='%(asctime)s %(name)s: %(message)s',
|
|
||||||
level=logging.INFO)
|
|
||||||
|
|
||||||
logger = logging.getLogger('check-requires')
|
|
||||||
|
|
||||||
|
|
||||||
class Node(object):
|
|
||||||
|
|
||||||
def __init__(self):
|
|
||||||
self.present = False
|
|
||||||
self.children = {}
|
|
||||||
|
|
||||||
def _build_re(self, key):
|
|
||||||
if key == '*':
|
|
||||||
assert len(self.children) == 0
|
|
||||||
# We want to match `.doIt` but not `.SomeClass` or `.more.stuff`
|
|
||||||
return '(?=\\.[a-z]\\w*\\b(?!\\.))'
|
|
||||||
elif len(self.children) == 1:
|
|
||||||
child_key, child = next(self.children.iteritems())
|
|
||||||
child_re = child._build_re(child_key)
|
|
||||||
if child_key != '*':
|
|
||||||
child_re = '\\.' + child_re
|
|
||||||
if self.present:
|
|
||||||
return key + '(' + child_re + ')?'
|
|
||||||
else:
|
|
||||||
return key + child_re
|
|
||||||
elif self.children:
|
|
||||||
children_re = '(?:' + '|'.join(
|
|
||||||
('\\.' if k != '*' else '') + self.children[k]._build_re(k)
|
|
||||||
for k in sorted(self.children.keys())) + ')'
|
|
||||||
if self.present:
|
|
||||||
return key + children_re + '?'
|
|
||||||
else:
|
|
||||||
return key + children_re
|
|
||||||
else:
|
|
||||||
assert self.present
|
|
||||||
return key
|
|
||||||
|
|
||||||
def build_re(self, key):
|
|
||||||
return re.compile('\\b' + self._build_re(key) + '\\b')
|
|
||||||
|
|
||||||
|
|
||||||
def ifind(*paths):
|
|
||||||
"""ifind is an iterative version of os.walk, yielding all walked paths and
|
|
||||||
normalizing paths to use forward slashes."""
|
|
||||||
for path in paths:
|
|
||||||
for dirpath, dirnames, names in os.walk(path):
|
|
||||||
for name in names:
|
|
||||||
if os.sep == '/':
|
|
||||||
yield os.path.join(dirpath, name)
|
|
||||||
else:
|
|
||||||
yield '/'.join(dirpath.split(os.sep) + [name])
|
|
||||||
|
|
||||||
|
|
||||||
def _strip_comments(lines):
|
|
||||||
# FIXME this is a horribe hack, we should use a proper JavaScript parser
|
|
||||||
# here
|
|
||||||
in_multiline_comment = False
|
|
||||||
lineno = 0
|
|
||||||
for line in lines:
|
|
||||||
lineno += 1
|
|
||||||
if in_multiline_comment:
|
|
||||||
index = line.find('*/')
|
|
||||||
if index != -1:
|
|
||||||
in_multiline_comment = False
|
|
||||||
line = line[index + 2:]
|
|
||||||
if not in_multiline_comment:
|
|
||||||
line = re.sub(r'//[^\n]*', '', line)
|
|
||||||
line = re.sub(r'/\*.*?\*/', '', line)
|
|
||||||
index = line.find('/*')
|
|
||||||
if index != -1:
|
|
||||||
yield lineno, line[:index]
|
|
||||||
in_multiline_comment = True
|
|
||||||
else:
|
|
||||||
yield lineno, line
|
|
||||||
|
|
||||||
|
|
||||||
def check_requires(closure_lib, *filenames):
|
|
||||||
unused_count = 0
|
|
||||||
all_provides = set()
|
|
||||||
|
|
||||||
for filename in ifind(closure_lib):
|
|
||||||
if filename.endswith('.js'):
|
|
||||||
if not re.match(r'.*/closure/goog/', filename):
|
|
||||||
continue
|
|
||||||
# Skip goog.i18n because it contains so many modules that it causes
|
|
||||||
# the generated regular expression to exceed Python's limits
|
|
||||||
if re.match(r'.*/closure/goog/i18n/', filename):
|
|
||||||
continue
|
|
||||||
for line in open(filename, 'rU'):
|
|
||||||
m = re.match(r'goog.provide\(\'(.*)\'\);', line)
|
|
||||||
if m:
|
|
||||||
all_provides.add(m.group(1))
|
|
||||||
|
|
||||||
for filename in sorted(filenames):
|
|
||||||
require_linenos = {}
|
|
||||||
uses = set()
|
|
||||||
lines = open(filename, 'rU').readlines()
|
|
||||||
for lineno, line in _strip_comments(lines):
|
|
||||||
m = re.match(r'goog.provide\(\'(.*)\'\);', line)
|
|
||||||
if m:
|
|
||||||
all_provides.add(m.group(1))
|
|
||||||
continue
|
|
||||||
m = re.match(r'goog.require\(\'(.*)\'\);', line)
|
|
||||||
if m:
|
|
||||||
require_linenos[m.group(1)] = lineno
|
|
||||||
continue
|
|
||||||
ignore_linenos = require_linenos.values()
|
|
||||||
for lineno, line in enumerate(lines):
|
|
||||||
if lineno in ignore_linenos:
|
|
||||||
continue
|
|
||||||
for require in require_linenos.iterkeys():
|
|
||||||
if require in line:
|
|
||||||
uses.add(require)
|
|
||||||
for require in sorted(set(require_linenos.keys()) - uses):
|
|
||||||
logger.info('%s:%d: unused goog.require: %r' % (
|
|
||||||
filename, require_linenos[require], require))
|
|
||||||
unused_count += 1
|
|
||||||
|
|
||||||
all_provides.discard('ol')
|
|
||||||
all_provides.discard('ol.MapProperty')
|
|
||||||
|
|
||||||
root = Node()
|
|
||||||
for provide in all_provides:
|
|
||||||
node = root
|
|
||||||
for component in provide.split('.'):
|
|
||||||
if component not in node.children:
|
|
||||||
node.children[component] = Node()
|
|
||||||
node = node.children[component]
|
|
||||||
if component[0].islower():
|
|
||||||
# We've arrived at a namespace provide like `ol.foo`.
|
|
||||||
# In this case, we want to match uses like `ol.foo.doIt()` but
|
|
||||||
# not match things like `new ol.foo.SomeClass()`.
|
|
||||||
# For this purpose, we use the special wildcard key for the child.
|
|
||||||
node.children['*'] = Node()
|
|
||||||
else:
|
|
||||||
node.present = True
|
|
||||||
provide_res = [child.build_re(key)
|
|
||||||
for key, child in root.children.iteritems()]
|
|
||||||
missing_count = 0
|
|
||||||
for filename in sorted(filenames):
|
|
||||||
provides = set()
|
|
||||||
requires = set()
|
|
||||||
uses = set()
|
|
||||||
uses_linenos = {}
|
|
||||||
for lineno, line in _strip_comments(open(filename, 'rU')):
|
|
||||||
m = re.match(r'goog.provide\(\'(.*)\'\);', line)
|
|
||||||
if m:
|
|
||||||
provides.add(m.group(1))
|
|
||||||
continue
|
|
||||||
m = re.match(r'goog.require\(\'(.*)\'\);', line)
|
|
||||||
if m:
|
|
||||||
requires.add(m.group(1))
|
|
||||||
continue
|
|
||||||
while True:
|
|
||||||
for provide_re in provide_res:
|
|
||||||
m = provide_re.search(line)
|
|
||||||
if m:
|
|
||||||
uses.add(m.group())
|
|
||||||
uses_linenos[m.group()] = lineno
|
|
||||||
line = line[:m.start()] + line[m.end():]
|
|
||||||
break
|
|
||||||
else:
|
|
||||||
break
|
|
||||||
if filename == 'src/ol/renderer/layerrenderer.js':
|
|
||||||
uses.discard('ol.renderer.Map')
|
|
||||||
m = re.match(
|
|
||||||
r'src/ol/renderer/(\w+)/\1(\w*)layerrenderer\.js\Z', filename)
|
|
||||||
if m:
|
|
||||||
uses.discard('ol.renderer.Map')
|
|
||||||
uses.discard('ol.renderer.%s.Map' % (m.group(1),))
|
|
||||||
missing_requires = uses - requires - provides
|
|
||||||
if missing_requires:
|
|
||||||
for missing_require in sorted(missing_requires):
|
|
||||||
logger.info("%s:%d missing goog.require('%s')" %
|
|
||||||
(filename, uses_linenos[missing_require],
|
|
||||||
missing_require))
|
|
||||||
missing_count += 1
|
|
||||||
|
|
||||||
return (unused_count, missing_count)
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
unused_count, missing_count = check_requires(*sys.argv[1:])
|
|
||||||
if unused_count > 0 or missing_count > 0:
|
|
||||||
logger.error('%d unused goog.requires, %d missing goog.requires' %
|
|
||||||
(unused_count, missing_count))
|
|
||||||
sys.exit(1)
|
|
||||||
@@ -1,46 +0,0 @@
|
|||||||
import logging
|
|
||||||
import re
|
|
||||||
import sys
|
|
||||||
|
|
||||||
logging.basicConfig(format='%(asctime)s %(name)s: %(message)s',
|
|
||||||
level=logging.INFO)
|
|
||||||
|
|
||||||
logger = logging.getLogger('check-whitespace')
|
|
||||||
|
|
||||||
CR_RE = re.compile(r'\r')
|
|
||||||
LEADING_WHITESPACE_RE = re.compile(r'\s+')
|
|
||||||
TRAILING_WHITESPACE_RE = re.compile(r'\s+\n\Z')
|
|
||||||
NO_NEWLINE_RE = re.compile(r'[^\n]\Z')
|
|
||||||
ALL_WHITESPACE_RE = re.compile(r'\s+\Z')
|
|
||||||
|
|
||||||
|
|
||||||
def check_whitespace(*filenames):
|
|
||||||
errors = 0
|
|
||||||
for filename in sorted(filenames):
|
|
||||||
whitespace = False
|
|
||||||
for lineno, line in enumerate(open(filename, 'rU')):
|
|
||||||
if lineno == 0 and LEADING_WHITESPACE_RE.match(line):
|
|
||||||
logger.info('%s:%d: leading whitespace', filename, lineno + 1)
|
|
||||||
errors += 1
|
|
||||||
if CR_RE.search(line):
|
|
||||||
logger.info('%s:%d: carriage return character in line',
|
|
||||||
filename, lineno + 1)
|
|
||||||
errors += 1
|
|
||||||
if TRAILING_WHITESPACE_RE.search(line):
|
|
||||||
logger.info('%s:%d: trailing whitespace', filename, lineno + 1)
|
|
||||||
errors += 1
|
|
||||||
if NO_NEWLINE_RE.search(line):
|
|
||||||
logger.info('%s:%d: no newline at end of file', filename,
|
|
||||||
lineno + 1)
|
|
||||||
errors += 1
|
|
||||||
whitespace = ALL_WHITESPACE_RE.match(line)
|
|
||||||
if whitespace:
|
|
||||||
logger.info('%s: trailing whitespace at end of file', filename)
|
|
||||||
errors += 1
|
|
||||||
return errors
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
errors = check_whitespace(*sys.argv[1:])
|
|
||||||
if errors > 0:
|
|
||||||
logger.error('%d whitespace errors' % (errors,))
|
|
||||||
sys.exit(1)
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
#!/usr/bin/python
|
|
||||||
|
|
||||||
import re
|
|
||||||
import sys
|
|
||||||
|
|
||||||
|
|
||||||
def main(argv):
|
|
||||||
examples = {}
|
|
||||||
requires = set()
|
|
||||||
for filename in argv[1:]:
|
|
||||||
lines = open(filename, 'rU').readlines()
|
|
||||||
if len(lines) > 0 and lines[0].startswith('// NOCOMPILE'):
|
|
||||||
continue
|
|
||||||
requires.update(line for line in lines if line.startswith('goog.require'))
|
|
||||||
examples[filename] = [line for line in lines if not line.startswith('goog.require')]
|
|
||||||
for require in sorted(requires):
|
|
||||||
sys.stdout.write(require)
|
|
||||||
for filename in sorted(examples.keys()):
|
|
||||||
sys.stdout.write('// ' + filename + '\n')
|
|
||||||
sys.stdout.write('(function(){\n')
|
|
||||||
for line in examples[filename]:
|
|
||||||
sys.stdout.write(line)
|
|
||||||
sys.stdout.write('})();\n')
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
sys.exit(main(sys.argv))
|
|
||||||
@@ -1,180 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* This script is supposed to be executed via phantomjs. It will generate
|
|
||||||
* screenshots of the html files in the directory specified by a commandline
|
|
||||||
* option when these files are served through a webserver which can also be
|
|
||||||
* specified. The screenshots will be in the current working directory.
|
|
||||||
*
|
|
||||||
* Example usage:
|
|
||||||
*
|
|
||||||
* user@host:~/ol3/bin $ phantomjs example-screenshot.js \
|
|
||||||
* http://localhost:8000/ol3/examples/ \
|
|
||||||
* ../examples
|
|
||||||
*
|
|
||||||
* The above command will generate `*.png` files in `examples/` for all html
|
|
||||||
* files that are served through `http://localhost:8000/ol3/examples/`.
|
|
||||||
*
|
|
||||||
* So if there is a file `my-humpty-example.html` inside of the relative folder
|
|
||||||
* `../examples/` which is being served through the webserver so that
|
|
||||||
* `http://localhost:8000/ol3/examples/my-humpty-example.html` is a valid and
|
|
||||||
* reachable URL, this script will generate a screenshot and store it as
|
|
||||||
* `my-humpty-example.html.png`.
|
|
||||||
*
|
|
||||||
* The query string `?mode=raw` will be appended to the generated URL.
|
|
||||||
*
|
|
||||||
* Known limitations:
|
|
||||||
*
|
|
||||||
* As phantomjs doesn't support WebGL (see e.g.
|
|
||||||
* https://github.com/ariya/phantomjs/wiki/Supported-Web-Standards and
|
|
||||||
* http://code.google.com/p/phantomjs/issues/detail?id=273) This won't render
|
|
||||||
* OpenLayers maps rendered through the webglrenderer.
|
|
||||||
*
|
|
||||||
* In parts based upon this gist: https://gist.github.com/crazy4groovy/3160121
|
|
||||||
*/
|
|
||||||
(function() { // global closure
|
|
||||||
|
|
||||||
var page = require('webpage').create(), // imports
|
|
||||||
fs = require('fs'),
|
|
||||||
system = require('system'),
|
|
||||||
// arguments
|
|
||||||
baseExamplesUrl = system.args[1],
|
|
||||||
exampleDir = system.args[2],
|
|
||||||
// various settings
|
|
||||||
ignoreFiles = [
|
|
||||||
'index.html'
|
|
||||||
],
|
|
||||||
intervalMillisecs = 25,
|
|
||||||
renderMillisecs = 2000,
|
|
||||||
// basic variables
|
|
||||||
curDir = fs.workingDirectory,
|
|
||||||
exampleDirList = fs.list(exampleDir),
|
|
||||||
pageindex = 0,
|
|
||||||
fileName = '',
|
|
||||||
htmlFiles = [],
|
|
||||||
lenHtmlFiles = 0,
|
|
||||||
loadInProgress = false;
|
|
||||||
|
|
||||||
// simple object with helper functions
|
|
||||||
var util = {
|
|
||||||
/**
|
|
||||||
* Returns the basename of a file given a path.
|
|
||||||
*/
|
|
||||||
baseName: function(path) {
|
|
||||||
var parts = path.split(fs.separator);
|
|
||||||
return parts[parts.length - 1];
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
* Super basic test whether a file can be considered a HTML-file.
|
|
||||||
*/
|
|
||||||
isHtmlFile: function(filename) {
|
|
||||||
return (/\.html?$/).test(filename);
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
* Appends a slash to given string if it isn't there already.
|
|
||||||
*/
|
|
||||||
appendSlash: function(str) {
|
|
||||||
return ((/\/$/).test(str)) ? str : str + '/';
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
* Generates an URL out of given baseurl and path.
|
|
||||||
*/
|
|
||||||
buildUrl: function(baseurl, path) {
|
|
||||||
var name = util.baseName(path),
|
|
||||||
mode = 'raw';
|
|
||||||
return util.appendSlash(baseurl) + name + '?mode=' + mode;
|
|
||||||
},
|
|
||||||
/**
|
|
||||||
* Simple progressbar logger that uses our globals pageindex & lenHtmlFiles.
|
|
||||||
*/
|
|
||||||
logProgress: function() {
|
|
||||||
var doneSymbol = '-',
|
|
||||||
todoSymbol = ' ',
|
|
||||||
currentSymbol = '>',
|
|
||||||
barStrLeft = '[',
|
|
||||||
barStrRight = ']',
|
|
||||||
progresStep = 5, // one doneSymbol equals this percentage
|
|
||||||
totalSteps = Math.round(100 / progresStep),
|
|
||||||
ratio = (lenHtmlFiles === 0) ? 0 : (pageindex / lenHtmlFiles),
|
|
||||||
percent = (ratio === 0) ? 0 : ratio * 100,
|
|
||||||
normalizedNumDone = Math.floor(ratio * totalSteps),
|
|
||||||
normalizedNumTodo = totalSteps - normalizedNumDone,
|
|
||||||
progressLine = '',
|
|
||||||
i = 0;
|
|
||||||
// the progress bar
|
|
||||||
progressLine += barStrLeft;
|
|
||||||
for (; i < normalizedNumDone; i++) {
|
|
||||||
progressLine += doneSymbol;
|
|
||||||
}
|
|
||||||
for (i = 0; i < normalizedNumTodo; i++) {
|
|
||||||
progressLine += (i === 0) ? currentSymbol : todoSymbol;
|
|
||||||
}
|
|
||||||
progressLine += barStrRight;
|
|
||||||
// the percentage information
|
|
||||||
// pad if necessary
|
|
||||||
if (percent < 10) {
|
|
||||||
progressLine += ' ';
|
|
||||||
} else if (percent < 100) {
|
|
||||||
progressLine += ' ';
|
|
||||||
}
|
|
||||||
progressLine += ' ' + percent.toFixed(1) + ' % done';
|
|
||||||
// additional information
|
|
||||||
if (fileName !== '') {
|
|
||||||
progressLine += ', ' + util.baseName(fileName) + '';
|
|
||||||
}
|
|
||||||
console.log(progressLine);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
// iterate over all files in examples directory
|
|
||||||
// and find the HTML files.
|
|
||||||
for (var i = 0; i < exampleDirList.length; i++) {
|
|
||||||
var fullpath = exampleDir + fs.separator + exampleDirList[i];
|
|
||||||
if (fs.isFile(fullpath) && util.isHtmlFile(fullpath) &&
|
|
||||||
ignoreFiles.indexOf(util.baseName(fullpath)) === -1) {
|
|
||||||
//TODO: make this more async (i.e. pop on/off stack WHILE rending pages)
|
|
||||||
htmlFiles.push(fullpath);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
lenHtmlFiles = htmlFiles.length;
|
|
||||||
|
|
||||||
console.log('Capturing ' + lenHtmlFiles + ' example screenshots.');
|
|
||||||
|
|
||||||
// The main interval function that is executed regularly and renders a
|
|
||||||
// page to a file
|
|
||||||
var interval = setInterval(function() {
|
|
||||||
if (!loadInProgress && pageindex < lenHtmlFiles) {
|
|
||||||
util.logProgress();
|
|
||||||
fileName = htmlFiles[pageindex];
|
|
||||||
page.viewportSize = { width: 800, height: 600 };
|
|
||||||
page.clipRect = {
|
|
||||||
top: 0,
|
|
||||||
left: 0,
|
|
||||||
width: page.viewportSize.width,
|
|
||||||
height: page.viewportSize.height
|
|
||||||
};
|
|
||||||
page.open(util.buildUrl(baseExamplesUrl, htmlFiles[pageindex]));
|
|
||||||
}
|
|
||||||
if (pageindex == lenHtmlFiles) {
|
|
||||||
util.logProgress();
|
|
||||||
console.log(lenHtmlFiles + ' screenshots captured.');
|
|
||||||
phantom.exit();
|
|
||||||
}
|
|
||||||
}, intervalMillisecs);
|
|
||||||
|
|
||||||
// set loadInProgress flag so we only process one image at time.
|
|
||||||
page.onLoadStarted = function() {
|
|
||||||
loadInProgress = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
// When the page is loaded, render it to an image
|
|
||||||
page.onLoadFinished = function() {
|
|
||||||
var dest = exampleDir + fs.separator + util.baseName(fileName) + '.png';
|
|
||||||
window.setTimeout(function() {
|
|
||||||
loadInProgress = false;
|
|
||||||
page.render(dest); // actually render the page.
|
|
||||||
pageindex++;
|
|
||||||
}, renderMillisecs);
|
|
||||||
};
|
|
||||||
|
|
||||||
})(); // eof global closure
|
|
||||||
@@ -1,69 +0,0 @@
|
|||||||
/**
|
|
||||||
* This loader is used for the hosted examples. It is used in place of the
|
|
||||||
* development loader (examples/loader.js).
|
|
||||||
*
|
|
||||||
* The loader loads ol.js and the example's script in "production" mode; it
|
|
||||||
* loads Closure Library's base.js, ol-deps.js, the example's "goog.require"
|
|
||||||
* script, and the example's script in "development" mode.
|
|
||||||
*
|
|
||||||
* The ol.js and ol-deps.js scripts are built using ol3's Makefile. They are
|
|
||||||
* located in the ../build/ directory, relative to this script.
|
|
||||||
*
|
|
||||||
* The script must be named loader.js.
|
|
||||||
*
|
|
||||||
* Usage:
|
|
||||||
*
|
|
||||||
* <script src="../loader.js?id=my-demo"></script>
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function() {
|
|
||||||
|
|
||||||
var i, pair;
|
|
||||||
|
|
||||||
var href = window.location.href, start, end, paramsString, pairs,
|
|
||||||
pageParams = {};
|
|
||||||
if (href.indexOf('?') > 0) {
|
|
||||||
start = href.indexOf('?') + 1;
|
|
||||||
end = href.indexOf('#') > 0 ? href.indexOf('#') : href.length;
|
|
||||||
paramsString = href.substring(start, end);
|
|
||||||
pairs = paramsString.split(/[&;]/);
|
|
||||||
for (i = 0; i < pairs.length; ++i) {
|
|
||||||
pair = pairs[i].split('=');
|
|
||||||
if (pair[0]) {
|
|
||||||
pageParams[decodeURIComponent(pair[0])] =
|
|
||||||
decodeURIComponent(pair[1]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
var scripts = document.getElementsByTagName('script');
|
|
||||||
var src, index, search, chunks, scriptParams = {};
|
|
||||||
for (i = scripts.length - 1; i >= 0; --i) {
|
|
||||||
src = scripts[i].getAttribute('src');
|
|
||||||
if (~(index = src.indexOf('loader.js?'))) {
|
|
||||||
search = src.substr(index + 10);
|
|
||||||
chunks = search ? search.split('&') : [];
|
|
||||||
for (i = chunks.length - 1; i >= 0; --i) {
|
|
||||||
pair = chunks[i].split('=');
|
|
||||||
if (pair[0]) {
|
|
||||||
scriptParams[decodeURIComponent(pair[0])] =
|
|
||||||
decodeURIComponent(pair[1]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
var raw = pageParams.mode && pageParams.mode.toLowerCase() === 'raw';
|
|
||||||
|
|
||||||
var scriptId = encodeURIComponent(scriptParams.id);
|
|
||||||
if (!raw) {
|
|
||||||
document.write('<scr' + 'ipt type="text/javascript" src="../build/ol.js"></scr' + 'ipt>');
|
|
||||||
} else {
|
|
||||||
window.CLOSURE_NO_DEPS = true; // we've got our own deps file
|
|
||||||
document.write('<scr' + 'ipt type="text/javascript" src="../closure-library/closure/goog/base.js"></scr' + 'ipt>');
|
|
||||||
document.write('<scr' + 'ipt type="text/javascript" src="../build/ol-deps.js"></scr' + 'ipt>');
|
|
||||||
document.write('<scr' + 'ipt type="text/javascript" src="' + scriptId + '-require.js"></scr' + 'ipt>');
|
|
||||||
}
|
|
||||||
document.write('<scr' + 'ipt type="text/javascript" src="' + scriptId + '.js"></scr' + 'ipt>');
|
|
||||||
}());
|
|
||||||
@@ -1,120 +0,0 @@
|
|||||||
#!/usr/bin/python
|
|
||||||
|
|
||||||
from optparse import OptionParser
|
|
||||||
import json
|
|
||||||
import re
|
|
||||||
import sys
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ESCAPE_SEQUENCE = {
|
|
||||||
'\\': '\\\\',
|
|
||||||
'\n': '\\n',
|
|
||||||
'\t': '\\t'
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
def js_escape(s):
|
|
||||||
return ''.join(ESCAPE_SEQUENCE.get(c, c) for c in s)
|
|
||||||
|
|
||||||
|
|
||||||
def glsl_compress(s, shortNames):
|
|
||||||
# strip leading whitespace
|
|
||||||
s = re.sub(r'\A\s+', '', s)
|
|
||||||
# strip trailing whitespace
|
|
||||||
s = re.sub(r'\s+\Z', '', s)
|
|
||||||
# strip multi-line comments
|
|
||||||
s = re.sub(r'/\*.*?\*/', '', s)
|
|
||||||
# strip single line comments
|
|
||||||
s = re.sub(r'//.*?\n', '', s)
|
|
||||||
# replace multiple whitespace with a single space
|
|
||||||
s = re.sub(r'\s+', ' ', s)
|
|
||||||
# remove whitespace between non-word tokens
|
|
||||||
s = re.sub(r'(\S)\s+([^\w])', r'\1\2', s)
|
|
||||||
s = re.sub(r'([^\w])\s+(\S)', r'\1\2', s)
|
|
||||||
# replace original names with short names
|
|
||||||
for originalName, shortName in shortNames.items():
|
|
||||||
s = s.replace(originalName, shortName)
|
|
||||||
return s
|
|
||||||
|
|
||||||
|
|
||||||
def main(argv):
|
|
||||||
option_parser = OptionParser()
|
|
||||||
option_parser.add_option('--input')
|
|
||||||
option_parser.add_option('--output')
|
|
||||||
options, args = option_parser.parse_args(argv[1:])
|
|
||||||
|
|
||||||
context = {}
|
|
||||||
nextShortName = ord('a')
|
|
||||||
shortNames = {}
|
|
||||||
|
|
||||||
common, vertex, fragment = [], [], []
|
|
||||||
attributes, uniforms, varyings = {}, {}, {}
|
|
||||||
block = None
|
|
||||||
for line in open(options.input, 'rU'):
|
|
||||||
if line.startswith('//!'):
|
|
||||||
m = re.match(r'//!\s+NAMESPACE=(\S+)\s*\Z', line)
|
|
||||||
if m:
|
|
||||||
context['namespace'] = m.group(1)
|
|
||||||
continue
|
|
||||||
m = re.match(r'//!\s+CLASS=(\S+)\s*\Z', line)
|
|
||||||
if m:
|
|
||||||
context['className'] = m.group(1)
|
|
||||||
continue
|
|
||||||
m = re.match(r'//!\s+COMMON\s*\Z', line)
|
|
||||||
if m:
|
|
||||||
block = common
|
|
||||||
continue
|
|
||||||
m = re.match(r'//!\s+VERTEX\s*\Z', line)
|
|
||||||
if m:
|
|
||||||
block = vertex
|
|
||||||
continue
|
|
||||||
m = re.match(r'//!\s+FRAGMENT\s*\Z', line)
|
|
||||||
if m:
|
|
||||||
block = fragment
|
|
||||||
continue
|
|
||||||
else:
|
|
||||||
if block is None:
|
|
||||||
assert line.rstrip() == ''
|
|
||||||
else:
|
|
||||||
block.append(line)
|
|
||||||
m = re.match(r'attribute\s+\S+\s+(\S+);\s*\Z', line)
|
|
||||||
if m:
|
|
||||||
attribute = m.group(1)
|
|
||||||
if attribute not in attributes:
|
|
||||||
shortName = chr(nextShortName)
|
|
||||||
nextShortName += 1
|
|
||||||
attributes[attribute] = {'originalName': attribute, 'shortName': shortName}
|
|
||||||
shortNames[attribute] = shortName
|
|
||||||
m = re.match(r'uniform\s+\S+\s+(\S+);\s*\Z', line)
|
|
||||||
if m:
|
|
||||||
uniform = m.group(1)
|
|
||||||
if uniform not in uniforms:
|
|
||||||
shortName = chr(nextShortName)
|
|
||||||
nextShortName += 1
|
|
||||||
uniforms[uniform] = {'originalName': uniform, 'shortName': shortName}
|
|
||||||
shortNames[uniform] = shortName
|
|
||||||
m = re.match(r'varying\s+\S+\s+(\S+);\s*\Z', line)
|
|
||||||
if m:
|
|
||||||
varying = m.group(1)
|
|
||||||
if varying not in varyings:
|
|
||||||
shortName = chr(nextShortName)
|
|
||||||
nextShortName += 1
|
|
||||||
shortNames[varying] = shortName
|
|
||||||
|
|
||||||
context['getOriginalFragmentSource'] = js_escape(''.join(common + fragment))
|
|
||||||
context['getOriginalVertexSource'] = js_escape(''.join(common + vertex))
|
|
||||||
context['getFragmentSource'] = glsl_compress(''.join(common + fragment), shortNames)
|
|
||||||
context['getVertexSource'] = glsl_compress(''.join(common + vertex), shortNames)
|
|
||||||
context['getAttributes'] = [attributes[a] for a in sorted(attributes.keys())]
|
|
||||||
context['getUniforms'] = [uniforms[u] for u in sorted(uniforms.keys())]
|
|
||||||
|
|
||||||
if options.output and options.output != '-':
|
|
||||||
output = open(options.output, 'wb')
|
|
||||||
else:
|
|
||||||
output = sys.stdout
|
|
||||||
json.dump(context, output)
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
sys.exit(main(sys.argv))
|
|
||||||
@@ -1,39 +0,0 @@
|
|||||||
import os
|
|
||||||
import re
|
|
||||||
import sys
|
|
||||||
|
|
||||||
|
|
||||||
def split_example_file(example, dst_dir):
|
|
||||||
lines = open(example, 'rU').readlines()
|
|
||||||
|
|
||||||
target_lines = []
|
|
||||||
target_require_lines = []
|
|
||||||
|
|
||||||
found_requires = False
|
|
||||||
found_code = False
|
|
||||||
for line in lines:
|
|
||||||
m = re.match(r'goog.require\(\'(.*)\'\);', line)
|
|
||||||
if m:
|
|
||||||
found_requires = True
|
|
||||||
target_require_lines.append(line)
|
|
||||||
elif found_requires:
|
|
||||||
if found_code or line not in ('\n', '\r\n'):
|
|
||||||
found_code = True
|
|
||||||
target_lines.append(line)
|
|
||||||
|
|
||||||
target = open(
|
|
||||||
os.path.join(dst_dir, os.path.basename(example)), 'wb')
|
|
||||||
target_require = open(
|
|
||||||
os.path.join(dst_dir, os.path.basename(example)
|
|
||||||
.replace('.js', '-require.js')),
|
|
||||||
'wb')
|
|
||||||
|
|
||||||
target.writelines(target_lines)
|
|
||||||
target.close()
|
|
||||||
|
|
||||||
target_require.writelines(target_require_lines)
|
|
||||||
target_require.close()
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
|
||||||
split_example_file(*sys.argv[1:])
|
|
||||||
14
build/README.txt
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
|
||||||
|
## HowTo: Build & deploy "Shrunk" Single File Library version of OpenLayers ##
|
||||||
|
|
||||||
|
* Build:
|
||||||
|
|
||||||
|
cd build
|
||||||
|
./build.py
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
* Upload the result to the server: e.g.
|
||||||
|
|
||||||
|
scp build/OpenLayers.js openlayers@openlayers.org:openlayers.org/htdocs/code/
|
||||||
|
|
||||||
|
|
||||||
50
build/build.py
Executable file
@@ -0,0 +1,50 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
import sys
|
||||||
|
sys.path.append("../tools")
|
||||||
|
import mergejs
|
||||||
|
|
||||||
|
have_compressor = None
|
||||||
|
try:
|
||||||
|
import jsmin
|
||||||
|
have_compressor = "jsmin"
|
||||||
|
except ImportError:
|
||||||
|
try:
|
||||||
|
import minimize
|
||||||
|
have_compressor = "minimize"
|
||||||
|
except Exception, E:
|
||||||
|
print E
|
||||||
|
pass
|
||||||
|
|
||||||
|
sourceDirectory = "../lib"
|
||||||
|
configFilename = "full.cfg"
|
||||||
|
outputFilename = "OpenLayers.js"
|
||||||
|
|
||||||
|
if len(sys.argv) > 1:
|
||||||
|
configFilename = sys.argv[1]
|
||||||
|
extension = configFilename[-4:]
|
||||||
|
|
||||||
|
if extension != ".cfg":
|
||||||
|
configFilename = sys.argv[1] + ".cfg"
|
||||||
|
|
||||||
|
if len(sys.argv) > 2:
|
||||||
|
outputFilename = sys.argv[2]
|
||||||
|
|
||||||
|
print "Merging libraries."
|
||||||
|
merged = mergejs.run(sourceDirectory, None, configFilename)
|
||||||
|
if have_compressor == "jsmin":
|
||||||
|
print "Compressing using jsmin."
|
||||||
|
minimized = jsmin.jsmin(merged)
|
||||||
|
elif have_compressor == "minimize":
|
||||||
|
print "Compressing using minimize."
|
||||||
|
minimized = minimize.minimize(merged)
|
||||||
|
else: # fallback
|
||||||
|
print "Not compressing."
|
||||||
|
minimized = merged
|
||||||
|
print "Adding license file."
|
||||||
|
minimized = file("license.txt").read() + minimized
|
||||||
|
|
||||||
|
print "Writing to %s." % outputFilename
|
||||||
|
file(outputFilename, "w").write(minimized)
|
||||||
|
|
||||||
|
print "Done."
|
||||||
25
build/buildUncompressed.py
Executable file
@@ -0,0 +1,25 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
import sys
|
||||||
|
sys.path.append("../tools")
|
||||||
|
|
||||||
|
import jsmin, mergejs
|
||||||
|
|
||||||
|
sourceDirectory = "../lib"
|
||||||
|
configFilename = "full.cfg"
|
||||||
|
outputFilename = "OpenLayers.js"
|
||||||
|
|
||||||
|
if len(sys.argv) > 1:
|
||||||
|
configFilename = sys.argv[1] + ".cfg"
|
||||||
|
if len(sys.argv) > 2:
|
||||||
|
outputFilename = sys.argv[2]
|
||||||
|
|
||||||
|
print "Merging libraries."
|
||||||
|
merged = mergejs.run(sourceDirectory, None, configFilename)
|
||||||
|
print "Adding license file."
|
||||||
|
merged = file("license.txt").read() + merged
|
||||||
|
|
||||||
|
print "Writing to %s." % outputFilename
|
||||||
|
file(outputFilename, "w").write(merged)
|
||||||
|
|
||||||
|
print "Done."
|
||||||
32
build/full.cfg
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
# This is the full build with all files: this includes the vector-related files
|
||||||
|
# like Renderers and Formats.
|
||||||
|
|
||||||
|
[first]
|
||||||
|
OpenLayers/SingleFile.js
|
||||||
|
OpenLayers.js
|
||||||
|
OpenLayers/BaseTypes.js
|
||||||
|
OpenLayers/BaseTypes/Class.js
|
||||||
|
OpenLayers/Util.js
|
||||||
|
Rico/Corner.js
|
||||||
|
|
||||||
|
[last]
|
||||||
|
|
||||||
|
[include]
|
||||||
|
|
||||||
|
[exclude]
|
||||||
|
Firebug/firebug.js
|
||||||
|
Firebug/firebugx.js
|
||||||
|
OpenLayers/Lang/ca.js
|
||||||
|
OpenLayers/Lang/cs-CZ.js
|
||||||
|
OpenLayers/Lang/da-DK.js
|
||||||
|
OpenLayers/Lang/de.js
|
||||||
|
OpenLayers/Lang/en-CA.js
|
||||||
|
OpenLayers/Lang/es.js
|
||||||
|
OpenLayers/Lang/fr.js
|
||||||
|
OpenLayers/Lang/it.js
|
||||||
|
OpenLayers/Lang/nb.js
|
||||||
|
OpenLayers/Lang/nl.js
|
||||||
|
OpenLayers/Lang/pt-BR.js
|
||||||
|
OpenLayers/Lang/sv-SE.js
|
||||||
|
OpenLayers/Lang/zh-TW.js
|
||||||
|
OpenLayers/Lang/zh-CN.js
|
||||||
68
build/library.cfg
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
# This file includes the OpenLayers code to create a build for everything that
|
||||||
|
# does not require vector support. build.py uses this profile if no other one
|
||||||
|
# is specified.
|
||||||
|
|
||||||
|
[first]
|
||||||
|
OpenLayers/SingleFile.js
|
||||||
|
OpenLayers.js
|
||||||
|
OpenLayers/BaseTypes.js
|
||||||
|
OpenLayers/BaseTypes/Class.js
|
||||||
|
OpenLayers/Util.js
|
||||||
|
Rico/Corner.js
|
||||||
|
|
||||||
|
[last]
|
||||||
|
|
||||||
|
[include]
|
||||||
|
|
||||||
|
[exclude]
|
||||||
|
Firebug/firebug.js
|
||||||
|
Firebug/firebugx.js
|
||||||
|
OpenLayers/Format/GeoRSS.js
|
||||||
|
OpenLayers/Format/GML.js
|
||||||
|
OpenLayers/Format/WKT.js
|
||||||
|
OpenLayers/Format/KML.js
|
||||||
|
OpenLayers/Format/WFS.js
|
||||||
|
OpenLayers/Format.js
|
||||||
|
OpenLayers/Handler/Path.js
|
||||||
|
OpenLayers/Handler/Point.js
|
||||||
|
OpenLayers/Handler/Polygon.js
|
||||||
|
OpenLayers/Handler/Select.js
|
||||||
|
OpenLayers/Geometry/Collection.js
|
||||||
|
OpenLayers/Geometry/Curve.js
|
||||||
|
OpenLayers/Geometry/LinearRing.js
|
||||||
|
OpenLayers/Geometry/LineString.js
|
||||||
|
OpenLayers/Geometry/MultiLineString.js
|
||||||
|
OpenLayers/Geometry/MultiPoint.js
|
||||||
|
OpenLayers/Geometry/MultiPolygon.js
|
||||||
|
OpenLayers/Geometry/Point.js
|
||||||
|
OpenLayers/Geometry/Polygon.js
|
||||||
|
OpenLayers/Geometry/Rectangle.js
|
||||||
|
OpenLayers/Geometry/Surface.js
|
||||||
|
OpenLayers/Geometry.js
|
||||||
|
OpenLayers/Layer/GML.js
|
||||||
|
OpenLayers/Layer/Vector.js
|
||||||
|
OpenLayers/Control/DrawFeature.js
|
||||||
|
OpenLayers/Control/EditingToolbar.js
|
||||||
|
OpenLayers/Control/SelectFeature.js
|
||||||
|
OpenLayers/Feature/Vector.js
|
||||||
|
OpenLayers/Renderer
|
||||||
|
OpenLayers/Renderer/Elements.js
|
||||||
|
OpenLayers/Renderer/SVG.js
|
||||||
|
OpenLayers/Renderer/VML.js
|
||||||
|
OpenLayers/Renderer.js
|
||||||
|
OpenLayers/Lang/ca.js
|
||||||
|
OpenLayers/Lang/cs-CZ.js
|
||||||
|
OpenLayers/Lang/da-DK.js
|
||||||
|
OpenLayers/Lang/de.js
|
||||||
|
OpenLayers/Lang/en-CA.js
|
||||||
|
OpenLayers/Lang/es.js
|
||||||
|
OpenLayers/Lang/fr.js
|
||||||
|
OpenLayers/Lang/it.js
|
||||||
|
OpenLayers/Lang/nb.js
|
||||||
|
OpenLayers/Lang/nl.js
|
||||||
|
OpenLayers/Lang/pt-BR.js
|
||||||
|
OpenLayers/Lang/sv-SE.js
|
||||||
|
OpenLayers/Lang/zh-TW.js
|
||||||
|
OpenLayers/Lang/zh-CN.js
|
||||||
|
|
||||||
|
|
||||||
92
build/license.txt
Normal file
@@ -0,0 +1,92 @@
|
|||||||
|
/*
|
||||||
|
|
||||||
|
OpenLayers.js -- OpenLayers Map Viewer Library
|
||||||
|
|
||||||
|
Copyright 2005-2008 MetaCarta, Inc., released under the Clear BSD license.
|
||||||
|
Please see http://svn.openlayers.org/trunk/openlayers/license.txt
|
||||||
|
for the full text of the license.
|
||||||
|
|
||||||
|
Includes compressed code under the following licenses:
|
||||||
|
|
||||||
|
(For uncompressed versions of the code used please see the
|
||||||
|
OpenLayers SVN repository: <http://openlayers.org/>)
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Contains portions of Prototype.js:
|
||||||
|
*
|
||||||
|
* Prototype JavaScript framework, version 1.4.0
|
||||||
|
* (c) 2005 Sam Stephenson <sam@conio.net>
|
||||||
|
*
|
||||||
|
* Prototype is freely distributable under the terms of an MIT-style license.
|
||||||
|
* For details, see the Prototype web site: http://prototype.conio.net/
|
||||||
|
*
|
||||||
|
*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* Contains portions of Rico <http://openrico.org/>
|
||||||
|
*
|
||||||
|
* Copyright 2005 Sabre Airline Solutions
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License"); you
|
||||||
|
* may not use this file except in compliance with the License. You
|
||||||
|
* may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
* implied. See the License for the specific language governing
|
||||||
|
* permissions and limitations under the License.
|
||||||
|
*
|
||||||
|
**/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains XMLHttpRequest.js <http://code.google.com/p/xmlhttprequest/>
|
||||||
|
* Copyright 2007 Sergey Ilinsky (http://www.ilinsky.com)
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Contains portions of Gears <http://code.google.com/apis/gears/>
|
||||||
|
*
|
||||||
|
* Copyright 2007, Google Inc.
|
||||||
|
*
|
||||||
|
* Redistribution and use in source and binary forms, with or without
|
||||||
|
* modification, are permitted provided that the following conditions are met:
|
||||||
|
*
|
||||||
|
* 1. Redistributions of source code must retain the above copyright notice,
|
||||||
|
* this list of conditions and the following disclaimer.
|
||||||
|
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
||||||
|
* this list of conditions and the following disclaimer in the documentation
|
||||||
|
* and/or other materials provided with the distribution.
|
||||||
|
* 3. Neither the name of Google Inc. nor the names of its contributors may be
|
||||||
|
* used to endorse or promote products derived from this software without
|
||||||
|
* specific prior written permission.
|
||||||
|
*
|
||||||
|
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||||
|
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||||
|
* EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||||
|
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||||
|
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||||
|
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||||
|
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||||
|
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*
|
||||||
|
* Sets up google.gears.*, which is *the only* supported way to access Gears.
|
||||||
|
*
|
||||||
|
* Circumvent this file at your own risk!
|
||||||
|
*
|
||||||
|
* In the future, Gears may automatically define google.gears.* without this
|
||||||
|
* file. Gears may use these objects to transparently fix bugs and compatibility
|
||||||
|
* issues. Applications that use the code below will continue to work seamlessly
|
||||||
|
* when that happens.
|
||||||
|
*/
|
||||||
22
build/lite.cfg
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# This file includes a small subset of OpenLayers code, designed to be
|
||||||
|
# integrated into another application. It includes only the Layer types
|
||||||
|
# neccesary to create tiled or untiled WMS, and does not include any Controls.
|
||||||
|
# This is the result of what was at the time called "Webmap.js" at the FOSS4G
|
||||||
|
# Web Mapping BOF.
|
||||||
|
|
||||||
|
[first]
|
||||||
|
OpenLayers/SingleFile.js
|
||||||
|
OpenLayers.js
|
||||||
|
OpenLayers/BaseTypes.js
|
||||||
|
OpenLayers/BaseTypes/Class.js
|
||||||
|
OpenLayers/Util.js
|
||||||
|
|
||||||
|
[last]
|
||||||
|
|
||||||
|
[include]
|
||||||
|
OpenLayers/Map.js
|
||||||
|
OpenLayers/Layer/WMS.js
|
||||||
|
|
||||||
|
[exclude]
|
||||||
|
|
||||||
|
|
||||||
@@ -1,353 +0,0 @@
|
|||||||
## Upgrade notes
|
|
||||||
|
|
||||||
### v3.11.0
|
|
||||||
|
|
||||||
#### `ol.format.KML` changes
|
|
||||||
|
|
||||||
KML icons are scaled 50% so that the rendering better matches Google Earth rendering.
|
|
||||||
|
|
||||||
If a KML placemark has a name and is a point, an `ol.style.Text` is created with the name displayed to the right of the icon (if there is an icon).
|
|
||||||
This can be controlled with the showPointNames option which defaults to true.
|
|
||||||
|
|
||||||
To disable rendering of the point names for placemarks, use the option:
|
|
||||||
new ol.format.KML({ showPointNames: false });
|
|
||||||
|
|
||||||
|
|
||||||
#### `ol.interaction.DragBox` and `ol.interaction.DragZoom` changes
|
|
||||||
|
|
||||||
Styling is no longer done with `ol.Style`, but with pure CSS. The `style` constructor option is no longer required, and no longer available. Instead, there is a `className` option for the CSS selector. The default for `ol.interaction.DragBox` is `ol-dragbox`, and `ol.interaction.DragZoom` uses `ol-dragzoom`. If you previously had
|
|
||||||
```js
|
|
||||||
new ol.interaction.DragZoom({
|
|
||||||
style: new ol.style.Style({
|
|
||||||
stroke: new ol.style.Stroke({
|
|
||||||
color: 'red',
|
|
||||||
width: 3
|
|
||||||
}),
|
|
||||||
fill: new ol.style.Fill({
|
|
||||||
color: [255, 255, 255, 0.4]
|
|
||||||
})
|
|
||||||
})
|
|
||||||
});
|
|
||||||
```
|
|
||||||
you'll now just need
|
|
||||||
```js
|
|
||||||
new ol.interaction.DragZoom();
|
|
||||||
```
|
|
||||||
but with additional css:
|
|
||||||
```css
|
|
||||||
.ol-dragzoom {
|
|
||||||
border-color: red;
|
|
||||||
border-width: 3px;
|
|
||||||
background-color: rgba(255,255,255,0.4);
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Removal of `ol.source.TileVector`
|
|
||||||
|
|
||||||
With the introduction of true vector tile support, `ol.source.TileVector` becomes obsolete. Change your code to use `ol.layer.VectorTile` and `ol.source.VectorTile` instead of `ol.layer.Vector` and `ol.source.TileVector`.
|
|
||||||
|
|
||||||
### v3.10.0
|
|
||||||
|
|
||||||
#### `ol.layer.Layer` changes
|
|
||||||
|
|
||||||
The experimental `setHue`, `setContrast`, `setBrightness`, `setSaturation`, and the corresponding getter methods have been removed. These properties only worked with the WebGL renderer. If are interested in applying color transforms, look for the `postcompose` event in the API docs. In addition, the `ol.source.Raster` source provides a way to create new raster data based on arbitrary transforms run on any number of input sources.
|
|
||||||
|
|
||||||
### v3.9.0
|
|
||||||
|
|
||||||
#### `ol.style.Circle` changes
|
|
||||||
|
|
||||||
The experimental `getAnchor`, `getOrigin`, and `getSize` methods have been removed. The anchor and origin of a circle symbolizer are not modifiable, so these properties should not need to be accessed. The radius and stroke width can be used to calculate the rendered size of a circle symbolizer if needed:
|
|
||||||
|
|
||||||
```js
|
|
||||||
// calculate rendered size of a circle symbolizer
|
|
||||||
var width = 2 * circle.getRadius();
|
|
||||||
if (circle.getStroke()) {
|
|
||||||
width += circle.getStroke().getWidth() + 1;
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
### v3.8.0
|
|
||||||
|
|
||||||
There should be nothing special required when upgrading from v3.7.0 to v3.8.0.
|
|
||||||
|
|
||||||
### v3.7.0
|
|
||||||
|
|
||||||
#### Removal of `ol.FeatureOverlay`
|
|
||||||
|
|
||||||
Instead of an `ol.FeatureOverlay`, we now use an `ol.layer.Vector` with an
|
|
||||||
`ol.source.Vector`. If you previously had:
|
|
||||||
```js
|
|
||||||
var featureOverlay = new ol.FeatureOverlay({
|
|
||||||
map: map,
|
|
||||||
style: overlayStyle
|
|
||||||
});
|
|
||||||
featureOverlay.addFeature(feature);
|
|
||||||
featureOverlay.removeFeature(feature);
|
|
||||||
var collection = featureOverlay.getFeatures();
|
|
||||||
```
|
|
||||||
you will have to change this to:
|
|
||||||
```js
|
|
||||||
var collection = new ol.Collection();
|
|
||||||
var featureOverlay = new ol.layer.Vector({
|
|
||||||
map: map,
|
|
||||||
source: new ol.source.Vector({
|
|
||||||
features: collection,
|
|
||||||
useSpatialIndex: false // optional, might improve performance
|
|
||||||
}),
|
|
||||||
style: overlayStyle,
|
|
||||||
updateWhileAnimating: true, // optional, for instant visual feedback
|
|
||||||
updateWhileInteracting: true // optional, for instant visual feedback
|
|
||||||
});
|
|
||||||
featureOverlay.getSource().addFeature(feature);
|
|
||||||
featureOverlay.getSource().removeFeature(feature);
|
|
||||||
```
|
|
||||||
|
|
||||||
With the removal of `ol.FeatureOverlay`, `zIndex` symbolizer properties of overlays are no longer stacked per map, but per layer/overlay. If you previously had multiple feature overlays where you controlled the rendering order of features by using `zIndex` symbolizer properties, you can now achieve the same rendering order only if all overlay features are on the same layer.
|
|
||||||
|
|
||||||
Note that `ol.FeatureOverlay#getFeatures()` returned an `{ol.Collection.<ol.Feature>}`, whereas `ol.source.Vector#getFeatures()` returns an `{Array.<ol.Feature>}`.
|
|
||||||
|
|
||||||
#### `ol.TileCoord` changes
|
|
||||||
|
|
||||||
Until now, the API exposed two different types of `ol.TileCoord` tile coordinates: internal ones that increase left to right and upward, and transformed ones that may increase downward, as defined by a transform function on the tile grid. With this change, the API now only exposes tile coordinates that increase left to right and upward.
|
|
||||||
|
|
||||||
Previously, tile grids created by OpenLayers either had their origin at the top-left or at the bottom-left corner of the extent. To make it easier for application developers to transform tile coordinates to the common XYZ tiling scheme, all tile grids that OpenLayers creates internally have their origin now at the top-left corner of the extent.
|
|
||||||
|
|
||||||
This change affects applications that configure a custom `tileUrlFunction` for an `ol.source.Tile`. Previously, the `tileUrlFunction` was called with rather unpredictable tile coordinates, depending on whether a tile coordinate transform took place before calling the `tileUrlFunction`. Now it is always called with OpenLayers tile coordinates. To transform these into the common XYZ tiling scheme, a custom `tileUrlFunction` has to change the `y` value (tile row) of the `ol.TileCoord`:
|
|
||||||
```js
|
|
||||||
function tileUrlFunction = function(tileCoord, pixelRatio, projection) {
|
|
||||||
var urlTemplate = '{z}/{x}/{y}';
|
|
||||||
return urlTemplate
|
|
||||||
.replace('{z}', tileCoord[0].toString())
|
|
||||||
.replace('{x}', tileCoord[1].toString())
|
|
||||||
.replace('{y}', (-tileCoord[2] - 1).toString());
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
The `ol.tilegrid.TileGrid#createTileCoordTransform()` function which could be used to get the tile grid's tile coordinate transform function has been removed. This function was confusing and should no longer be needed now that application developers get tile coordinates in a known layout.
|
|
||||||
|
|
||||||
The code snippets below show how your application code needs to be changed:
|
|
||||||
|
|
||||||
Old application code (with `ol.tilegrid.TileGrid#createTileCoordTransform()`):
|
|
||||||
```js
|
|
||||||
var transform = source.getTileGrid().createTileCoordTransform();
|
|
||||||
var tileUrlFunction = function(tileCoord, pixelRatio, projection) {
|
|
||||||
tileCoord = transform(tileCoord, projection);
|
|
||||||
return 'http://mytiles.com/' +
|
|
||||||
tileCoord[0] + '/' + tileCoord[1] + '/' + tileCoord[2] + '.png';
|
|
||||||
};
|
|
||||||
```
|
|
||||||
Old application code (with custom `y` transform):
|
|
||||||
```js
|
|
||||||
var tileUrlFunction = function(tileCoord, pixelRatio, projection) {
|
|
||||||
var z = tileCoord[0];
|
|
||||||
var yFromBottom = tileCoord[2];
|
|
||||||
var resolution = tileGrid.getResolution(z);
|
|
||||||
var tileHeight = ol.size.toSize(tileSize)[1];
|
|
||||||
var matrixHeight =
|
|
||||||
Math.floor(ol.extent.getHeight(extent) / tileHeight / resolution);
|
|
||||||
return 'http://mytiles.com/' +
|
|
||||||
tileCoord[0] + '/' + tileCoord[1] + '/' +
|
|
||||||
(matrixHeight - yFromBottom - 1) + '.png';
|
|
||||||
|
|
||||||
};
|
|
||||||
```
|
|
||||||
New application code (simple -y - 1 transform):
|
|
||||||
```js
|
|
||||||
var tileUrlFunction = function(tileCoord, pixelRatio, projection) {
|
|
||||||
return 'http://mytiles.com/' +
|
|
||||||
tileCoord[0] + '/' + tileCoord[1] + '/' + (-tileCoord[2] - 1) + '.png';
|
|
||||||
};
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Removal of `ol.tilegrid.Zoomify`
|
|
||||||
|
|
||||||
The replacement of `ol.tilegrid.Zoomify` is a plain `ol.tilegrid.TileGrid`, configured with `extent`, `origin` and `resolutions`. If the `size` passed to the `ol.source.Zoomify` source is `[width, height]`, then the extent for the tile grid will be `[0, -height, width, 0]`, and the origin will be `[0, 0]`.
|
|
||||||
|
|
||||||
#### Replace `ol.View.fitExtent()` and `ol.View.fitGeometry()` with `ol.View.fit()`
|
|
||||||
* This combines two previously distinct functions into one more flexible call which takes either a geometry or an extent.
|
|
||||||
* Rename all calls to `fitExtent` and `fitGeometry` to `fit`.
|
|
||||||
|
|
||||||
#### Change to `ol.interaction.Modify`
|
|
||||||
|
|
||||||
When single clicking a line or boundary within the `pixelTolerance`, a vertex is now created.
|
|
||||||
|
|
||||||
### v3.6.0
|
|
||||||
|
|
||||||
#### `ol.interaction.Draw` changes
|
|
||||||
|
|
||||||
* The `minPointsPerRing` config option has been renamed to `minPoints`. It is now also available for linestring drawing, not only for polygons.
|
|
||||||
* The `ol.DrawEvent` and `ol.DrawEventType` types were renamed to `ol.interaction.DrawEvent` and `ol.interaction.DrawEventType`. This has an impact on your code only if your code is compiled together with ol3.
|
|
||||||
|
|
||||||
#### `ol.tilegrid` changes
|
|
||||||
|
|
||||||
* The `ol.tilegrid.XYZ` constructor has been replaced by a static `ol.tilegrid.createXYZ()` function. The `ol.tilegrid.createXYZ()` function takes the same arguments as the previous `ol.tilegrid.XYZ` constructor, but returns an `ol.tilegrid.TileGrid` instance.
|
|
||||||
* The internal tile coordinate scheme for XYZ sources has been changed. Previously, the `y` of tile coordinates was transformed to the coordinates used by sources by calculating `-y-1`. Now, it is transformed by calculating `height-y-1`, where height is the number of rows of the tile grid at the zoom level of the tile coordinate.
|
|
||||||
* The `widths` constructor option of `ol.tilegrid.TileGrid` and subclasses is no longer available, and it is no longer necessary to get proper wrapping at the 180° meridian. However, for `ol.tilegrid.WMTS`, there is a new option `sizes`, where each entry is an `ol.Size` with the `width` ('TileMatrixWidth' in WMTS capabilities) as first and the `height` ('TileMatrixHeight') as second entry of the array. For other tile grids, users can
|
|
||||||
now specify an `extent` instead of `widths`. These settings are used to restrict the range of tiles that sources will request.
|
|
||||||
* For `ol.source.TileWMS`, the default value of `warpX` used to be `undefined`, meaning that WMS requests with out-of-extent tile BBOXes would be sent. Now `wrapX` can only be `true` or `false`, and the new default is `true`. No application code changes should be required, but the resulting WMS requests for out-of-extent tiles will no longer use out-of-extent BBOXes, but ones that are shifted to real-world coordinates.
|
|
||||||
|
|
||||||
### v3.5.0
|
|
||||||
|
|
||||||
#### `ol.Object` and `bindTo`
|
|
||||||
|
|
||||||
* The following experimental methods have been removed from `ol.Object`: `bindTo`, `unbind`, and `unbindAll`. If you want to get notification about `ol.Object` property changes, you can listen for the `'propertychange'` event (e.g. `object.on('propertychange', listener)`). Two-way binding can be set up at the application level using property change listeners. See [#3472](https://github.com/openlayers/ol3/pull/3472) for details on the change.
|
|
||||||
|
|
||||||
* The experimental `ol.dom.Input` component has been removed. If you need to synchronize the state of a dom Input element with an `ol.Object`, this can be accomplished using listeners for change events. For example, you might bind the state of a checkbox type input with a layer's visibility like this:
|
|
||||||
|
|
||||||
```js
|
|
||||||
var layer = new ol.layer.Tile();
|
|
||||||
var checkbox = document.querySelector('#checkbox');
|
|
||||||
|
|
||||||
checkbox.addEventListener('change', function() {
|
|
||||||
var checked = this.checked;
|
|
||||||
if (checked !== layer.getVisible()) {
|
|
||||||
layer.setVisible(checked);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
layer.on('change:visible', function() {
|
|
||||||
var visible = this.getVisible();
|
|
||||||
if (visible !== checkbox.checked) {
|
|
||||||
checkbox.checked = visible;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
#### New Vector API
|
|
||||||
|
|
||||||
* The following experimental vector classes have been removed: `ol.source.GeoJSON`, `ol.source.GML`, `ol.source.GPX`, `ol.source.IGC`, `ol.source.KML`, `ol.source.OSMXML`, and `ol.source.TopoJSON`. You now will use `ol.source.Vector` instead.
|
|
||||||
|
|
||||||
For example, if you used `ol.source.GeoJSON` as follows:
|
|
||||||
|
|
||||||
```js
|
|
||||||
var source = new ol.source.GeoJSON({
|
|
||||||
url: 'features.json',
|
|
||||||
projection: 'EPSG:3857'
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
you will need to change your code to:
|
|
||||||
|
|
||||||
```js
|
|
||||||
var source = new ol.source.Vector({
|
|
||||||
url: 'features.json',
|
|
||||||
format: new ol.format.GeoJSON()
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
See http://openlayers.org/en/master/examples/vector-layer.html for a real example.
|
|
||||||
|
|
||||||
Note that you no longer need to set a `projection` on the source!
|
|
||||||
|
|
||||||
Previously the vector data was loaded at source construction time, and, if the data projection and the source projection were not the same, the vector data was transformed to the source projection before being inserted (as features) into the source.
|
|
||||||
|
|
||||||
The vector data is now loaded at render time, when the view projection is known. And the vector data is transformed to the view projection if the data projection and the source projection are not the same.
|
|
||||||
|
|
||||||
If you still want to "eagerly" load the source you will use something like this:
|
|
||||||
|
|
||||||
```js
|
|
||||||
var source = new ol.source.Vector();
|
|
||||||
$.ajax('features.json').then(function(response) {
|
|
||||||
var geojsonFormat = new ol.format.GeoJSON();
|
|
||||||
var features = geojsonFormat.readFeatures(response,
|
|
||||||
{featureProjection: 'EPSG:3857'});
|
|
||||||
source.addFeatures(features);
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
The above code uses jQuery to send an Ajax request, but you can obviously use any Ajax library.
|
|
||||||
|
|
||||||
See http://openlayers.org/en/master/examples/igc.html for a real example.
|
|
||||||
|
|
||||||
* Note about KML
|
|
||||||
|
|
||||||
If you used `ol.source.KML`'s `extractStyles` or `defaultStyle` options, you will now have to set these options on `ol.format.KML` instead. For example, if you used:
|
|
||||||
|
|
||||||
```js
|
|
||||||
var source = new ol.source.KML({
|
|
||||||
url: 'features.kml',
|
|
||||||
extractStyles: false,
|
|
||||||
projection: 'EPSG:3857'
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
you will now use:
|
|
||||||
|
|
||||||
```js
|
|
||||||
var source = new ol.source.Vector({
|
|
||||||
url: 'features.kml',
|
|
||||||
format: new ol.format.KML({
|
|
||||||
extractStyles: false
|
|
||||||
})
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
* The `ol.source.ServerVector` class has been removed. If you used it, for example as follows:
|
|
||||||
|
|
||||||
```js
|
|
||||||
var source = new ol.source.ServerVector({
|
|
||||||
format: new ol.format.GeoJSON(),
|
|
||||||
loader: function(extent, resolution, projection) {
|
|
||||||
var url = …;
|
|
||||||
$.ajax(url).then(function(response) {
|
|
||||||
source.addFeatures(source.readFeatures(response));
|
|
||||||
});
|
|
||||||
},
|
|
||||||
strategy: ol.loadingstrategy.bbox,
|
|
||||||
projection: 'EPSG:3857'
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
you will need to change your code to:
|
|
||||||
|
|
||||||
```js
|
|
||||||
var source = new ol.source.Vector({
|
|
||||||
loader: function(extent, resolution, projection) {
|
|
||||||
var url = …;
|
|
||||||
$.ajax(url).then(function(response) {
|
|
||||||
var format = new ol.format.GeoJSON();
|
|
||||||
var features = format.readFeatures(response,
|
|
||||||
{featureProjection: projection});
|
|
||||||
source.addFeatures(features);
|
|
||||||
});
|
|
||||||
},
|
|
||||||
strategy: ol.loadingstrategy.bbox
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
See http://openlayers.org/en/master/examples/vector-osm.html for a real example.
|
|
||||||
|
|
||||||
* The experimental `ol.loadingstrategy.createTile` function has been renamed to `ol.loadingstrategy.tile`. The signature of the function hasn't changed. See http://openlayers.org/en/master/examples/vector-osm.html for an example.
|
|
||||||
|
|
||||||
#### Change to `ol.style.Icon`
|
|
||||||
|
|
||||||
* When manually loading an image for `ol.style.Icon`, the image size should now be set
|
|
||||||
with the `imgSize` option and not with `size`. `size` is supposed to be used for the
|
|
||||||
size of a sub-rectangle in an image sprite.
|
|
||||||
|
|
||||||
#### Support for non-square tiles
|
|
||||||
|
|
||||||
The return value of `ol.tilegrid.TileGrid#getTileSize()` will now be an `ol.Size` array instead of a number if non-square tiles (i.e. an `ol.Size` array instead of a number as `tilsSize`) are used. To always get an `ol.Size`, the new `ol.size.toSize()` was added.
|
|
||||||
|
|
||||||
#### Change to `ol.interaction.Draw`
|
|
||||||
|
|
||||||
When finishing a draw, the `drawend` event is now dispatched before the feature is inserted to either the source or the collection. This change allows application code to finish setting up the feature.
|
|
||||||
|
|
||||||
#### Misc.
|
|
||||||
|
|
||||||
If you compile your application together with the library and use the `ol.feature.FeatureStyleFunction` type annotation (this should be extremely rare), the type is now named `ol.FeatureStyleFunction`.
|
|
||||||
|
|
||||||
### v3.4.0
|
|
||||||
|
|
||||||
There should be nothing special required when upgrading from v3.3.0 to v3.4.0.
|
|
||||||
|
|
||||||
### v3.3.0
|
|
||||||
|
|
||||||
* The `ol.events.condition.mouseMove` function was replaced by `ol.events.condition.pointerMove` (see [#3281](https://github.com/openlayers/ol3/pull/3281)). For example, if you use `ol.events.condition.mouseMove` as the condition in a `Select` interaction then you now need to use `ol.events.condition.pointerMove`:
|
|
||||||
|
|
||||||
```js
|
|
||||||
var selectInteraction = new ol.interaction.Select({
|
|
||||||
condition: ol.events.condition.pointerMove
|
|
||||||
// …
|
|
||||||
});
|
|
||||||
```
|
|
||||||
@@ -1,234 +0,0 @@
|
|||||||
# 3.1.0
|
|
||||||
|
|
||||||
## Summary
|
|
||||||
|
|
||||||
The 3.1.0 release includes a whopping 214 merged pull requests since 3.0.0. Of note, the WebGL renderer [now supports point rendering](https://github.com/openlayers/ol3/pull/2967). You can use [UTFGrids for interaction](https://github.com/openlayers/ol3/pull/3015)! Styles can now specify [alternate geometries for rendering](https://github.com/openlayers/ol3/pull/3010). Library builds [can now be loaded](https://github.com/openlayers/ol3/pull/3039) with module loaders like Browserify or RequireJS. You can now symbolize point features with stars, squares, enneadecagons, or [any other regular(ish) polygon](https://github.com/openlayers/ol3/pull/2706). See the full list of [changes](#changes) below.
|
|
||||||
|
|
||||||
## Upgrade notes
|
|
||||||
|
|
||||||
The 3.1.0 release maintains a backwards-compatible API with the 3.0.0 release, so upgrades should be painless. Some special considerations below.
|
|
||||||
|
|
||||||
* If you are using a `ol.source.ImageStatic`, you no longer need to provide an `imageSize` option if you don't want any special scaling on your image (see [#2796](https://github.com/openlayers/ol3/pull/2796)).
|
|
||||||
|
|
||||||
* Instead of calling `obj.unByKey(key)` you can now call `ol.Observable.unByKey(key)` (see [#2794](https://github.com/openlayers/ol3/pull/2794)).
|
|
||||||
|
|
||||||
* If you were using `format.writeFeatures(features)`, note that this method returns a string for all feature formats. We considered the previous behavior a bug (see [#3003](https://github.com/openlayers/ol3/pull/3003)).
|
|
||||||
|
|
||||||
* The `obj.dispatchChangeEvent()` method is now spelled `obj.changed()`. This method is still unstable (see [#2684](https://github.com/openlayers/ol3/pull/2684)).
|
|
||||||
|
|
||||||
## Changes
|
|
||||||
|
|
||||||
* [#3076](https://github.com/openlayers/ol3/pull/3076) - Add script to standardize changelog creation. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3074](https://github.com/openlayers/ol3/pull/3074) - Remove misplaced function annotation. ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3075](https://github.com/openlayers/ol3/pull/3075) - Remove unneeded undefined from ol.proj.ProjectionLike definitions (r=@tschaub) ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3071](https://github.com/openlayers/ol3/pull/3071) - Add task for publishing to npm. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3070](https://github.com/openlayers/ol3/pull/3070) - Define goog and assign to global when generating UMD debug builds. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3068](https://github.com/openlayers/ol3/pull/3068) - Update pre-release version. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3039](https://github.com/openlayers/ol3/pull/3039) - Support for UMD builds. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3038](https://github.com/openlayers/ol3/pull/3038) - Update attribution CSS #2803 ([@acanimal](https://github.com/acanimal))
|
|
||||||
* [#3061](https://github.com/openlayers/ol3/pull/3061) - Add a renderBuffer option to ol.layer.Vector ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3048](https://github.com/openlayers/ol3/pull/3048) - Add a drag-features example ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3060](https://github.com/openlayers/ol3/pull/3060) - Update closure-library version ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3058](https://github.com/openlayers/ol3/pull/3058) - Use an API function to extend the extent ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3010](https://github.com/openlayers/ol3/pull/3010) - Allow styles to override feature geometries ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3056](https://github.com/openlayers/ol3/pull/3056) - Reuse previousExtent_ local variable ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3055](https://github.com/openlayers/ol3/pull/3055) - ol.tilecoord.createOrUpdate: add 'opt_' prefix to optional param ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3044](https://github.com/openlayers/ol3/pull/3044) - Mark Image style constructor properties `@api` ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#3052](https://github.com/openlayers/ol3/pull/3052) - Add a testcase for parsing GML feature with only boundedBy ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3051](https://github.com/openlayers/ol3/pull/3051) - Remove // NOCOMPILE from vector-wfs ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2699](https://github.com/openlayers/ol3/pull/2699) - No need for featureNS and featureType to be quoted ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3047](https://github.com/openlayers/ol3/pull/3047) - Move description above annotation to avoid JSDoc warnings. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2996](https://github.com/openlayers/ol3/pull/2996) - Add getter functions for points and angle in ol.style.RegularShape ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3046](https://github.com/openlayers/ol3/pull/3046) - Need exportable constructor for constructor options in olx ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3043](https://github.com/openlayers/ol3/pull/3043) - Use // NOCOMPILE for vector-wfs ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3042](https://github.com/openlayers/ol3/pull/3042) - Print example name in check-examples exception ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#3032](https://github.com/openlayers/ol3/pull/3032) - Extension points for custom controls and interactions ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3033](https://github.com/openlayers/ol3/pull/3033) - Allow custom mousemove conditions for Select interaction ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3040](https://github.com/openlayers/ol3/pull/3040) - Transform the coordinates in place ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3036](https://github.com/openlayers/ol3/pull/3036) - Respect geometry stride in modify interaction ([@tonio](https://github.com/tonio))
|
|
||||||
* [#3020](https://github.com/openlayers/ol3/pull/3020) - Correct error message from generate-info.js. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3037](https://github.com/openlayers/ol3/pull/3037) - Implement rotation for ol.style.RegularShape ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3015](https://github.com/openlayers/ol3/pull/3015) - UTFGrid Support ([@klokantech](https://github.com/klokantech))
|
|
||||||
* [#3012](https://github.com/openlayers/ol3/pull/3012) - Failing tests in IE9 ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3029](https://github.com/openlayers/ol3/pull/3029) - Update closure compiler and library ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3031](https://github.com/openlayers/ol3/pull/3031) - Add missing maxZoom property in olx.view.FitGeometryOptions ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3028](https://github.com/openlayers/ol3/pull/3028) - ol.format.WFS cleanup ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3024](https://github.com/openlayers/ol3/pull/3024) - Add missing gmlFormat to olx.format.WFSOptions ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3023](https://github.com/openlayers/ol3/pull/3023) - Change loader function return type ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3021](https://github.com/openlayers/ol3/pull/3021) - Add missing properties in olx.control.AttributionOptions typedef ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3013](https://github.com/openlayers/ol3/pull/3013) - Improve vector source clear() performance ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#3017](https://github.com/openlayers/ol3/pull/3017) - Use writeFeatures instead of writeFeaturesNode in GPX and KML example (r=@elemoine) ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3014](https://github.com/openlayers/ol3/pull/3014) - Simplify hit detection code ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3006](https://github.com/openlayers/ol3/pull/3006) - gml3.js and gml2.js don't follow file naming conventions ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3003](https://github.com/openlayers/ol3/pull/3003) - The writeFeatures method should always return a string (r=@elemoine) ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3011](https://github.com/openlayers/ol3/pull/3011) - opt_options may not be defined, use options ([@pagameba](https://github.com/pagameba))
|
|
||||||
* [#3009](https://github.com/openlayers/ol3/pull/3009) - Fix hit detection bug ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3002](https://github.com/openlayers/ol3/pull/3002) - Passing options to RegularShape is mandatory ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2967](https://github.com/openlayers/ol3/pull/2967) - Add support for drawing points with WebGL ([@camptocamp](https://github.com/camptocamp))
|
|
||||||
* [#2701](https://github.com/openlayers/ol3/pull/2701) - Writing GeoJSON does not respect the feature's geometryName ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3000](https://github.com/openlayers/ol3/pull/3000) - Explain that return of ol.color.asArray should not be modified ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#2997](https://github.com/openlayers/ol3/pull/2997) - Use new demo GeoServer location ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#2976](https://github.com/openlayers/ol3/pull/2976) - Add an example to show off ol.style.RegularShape ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#2992](https://github.com/openlayers/ol3/pull/2992) - Add support for finding features at a given coordinates for vector tiles - fixes ([@pgiraud](https://github.com/pgiraud))
|
|
||||||
* [#2987](https://github.com/openlayers/ol3/pull/2987) - Image layer renderers use source projection if given and equivalent ([@kartverket](https://github.com/kartverket))
|
|
||||||
* [#2975](https://github.com/openlayers/ol3/pull/2975) - Use offsetX and offsetY if available ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2973](https://github.com/openlayers/ol3/pull/2973) - Making GetTileCoordFor methods public avaible ([@s093294](https://github.com/s093294))
|
|
||||||
* [#2986](https://github.com/openlayers/ol3/pull/2986) - Add support for finding features at a given coordinates for vector tiles ([@pgiraud](https://github.com/pgiraud))
|
|
||||||
* [#2937](https://github.com/openlayers/ol3/pull/2937) - Clip layer rendering to limited extent. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2971](https://github.com/openlayers/ol3/pull/2971) - Two ol.source.TileVector fixes ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2988](https://github.com/openlayers/ol3/pull/2988) - Correct olx.style.RegularShapeOptions definition (r=@elemoine) ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#2981](https://github.com/openlayers/ol3/pull/2981) - Use lineDash in ol.style.Circle's and ol.style.RegularShape's stroke (r=@fredj,@elemoine) ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#2982](https://github.com/openlayers/ol3/pull/2982) - Allow radius1 as an alias for radius in ol.style.RegularShape ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#2980](https://github.com/openlayers/ol3/pull/2980) - Export ol.source.TileVector#getFeatures in built mode ([@pgiraud](https://github.com/pgiraud))
|
|
||||||
* [#2979](https://github.com/openlayers/ol3/pull/2979) - Support OGC srs urns without an EPSG database version ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#2978](https://github.com/openlayers/ol3/pull/2978) - Fix zoom levels for the MapQuest Street layer ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#2889](https://github.com/openlayers/ol3/pull/2889) - Add GetFeatureInfo format ([@fgravin](https://github.com/fgravin))
|
|
||||||
* [#2965](https://github.com/openlayers/ol3/pull/2965) - Fix pan with select interaction in mousemove mode. ([@tonio](https://github.com/tonio))
|
|
||||||
* [#2960](https://github.com/openlayers/ol3/pull/2960) - LayerGroup extent should be used if extent not set on child layer ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#2956](https://github.com/openlayers/ol3/pull/2956) - Revert "Remove mousewheel event name workaround" ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2959](https://github.com/openlayers/ol3/pull/2959) - Fix typo in selector ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#2895](https://github.com/openlayers/ol3/pull/2895) - Move font-family customization to layout.css ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2896](https://github.com/openlayers/ol3/pull/2896) - Remove duplicated style parameter ([@kalinbas](https://github.com/kalinbas))
|
|
||||||
* [#2938](https://github.com/openlayers/ol3/pull/2938) - Additional image static docs. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2939](https://github.com/openlayers/ol3/pull/2939) - Make stability checkbox sticky. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2949](https://github.com/openlayers/ol3/pull/2949) - Add ol.ext to hosted dir ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2943](https://github.com/openlayers/ol3/pull/2943) - Mark applyTransform api stable ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2936](https://github.com/openlayers/ol3/pull/2936) - Fix unselection of selected features ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#2935](https://github.com/openlayers/ol3/pull/2935) - Fix jsdoc comment ([@geosense](https://github.com/geosense))
|
|
||||||
* [#2933](https://github.com/openlayers/ol3/pull/2933) - Fix compile warning ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2931](https://github.com/openlayers/ol3/pull/2931) - Improvement to view docs ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2906](https://github.com/openlayers/ol3/pull/2906) - Assume a latitude, longitude order for Polyline format ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2927](https://github.com/openlayers/ol3/pull/2927) - Make it possible to programmatically finish drawing ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2928](https://github.com/openlayers/ol3/pull/2928) - Do not rename handleMapBrowserEvent internally ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2924](https://github.com/openlayers/ol3/pull/2924) - Readability rearangement in canvasmaprenderer.js ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#2911](https://github.com/openlayers/ol3/pull/2911) - List events fired in the navigation. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2921](https://github.com/openlayers/ol3/pull/2921) - Small feature overlay optimization ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#2897](https://github.com/openlayers/ol3/pull/2897) - Remove pointerup listener on controls ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2912](https://github.com/openlayers/ol3/pull/2912) - jQuery externs update ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2888](https://github.com/openlayers/ol3/pull/2888) - Element boundedBy must not be set as geometry field on GML reading ([@fgravin](https://github.com/fgravin))
|
|
||||||
* [#2903](https://github.com/openlayers/ol3/pull/2903) - Improved docs for icon options ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2900](https://github.com/openlayers/ol3/pull/2900) - Allow build.js task to add header. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2893](https://github.com/openlayers/ol3/pull/2893) - Don't pass an object to goog.dom.createDom for the class name ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2781](https://github.com/openlayers/ol3/pull/2781) - Use a standard title attribute for the control buttons ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2852](https://github.com/openlayers/ol3/pull/2852) - Add missing space between class names ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2891](https://github.com/openlayers/ol3/pull/2891) - Introduce a load function for image sources ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#2885](https://github.com/openlayers/ol3/pull/2885) - Add wrapX option to TileJSON source ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2890](https://github.com/openlayers/ol3/pull/2890) - Use correct layer property names ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2887](https://github.com/openlayers/ol3/pull/2887) - Explicitly pass coordinate dimension before transforming. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2886](https://github.com/openlayers/ol3/pull/2886) - Use ternary notation ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2869](https://github.com/openlayers/ol3/pull/2869) - Export useful xml functions ([@tonio](https://github.com/tonio))
|
|
||||||
* [#2884](https://github.com/openlayers/ol3/pull/2884) - Make WKT methods throw errors instead of calling a method that throws. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2746](https://github.com/openlayers/ol3/pull/2746) - Add versioning for GML format ([@fgravin](https://github.com/fgravin))
|
|
||||||
* [#2882](https://github.com/openlayers/ol3/pull/2882) - Allow olx.source.WMTSOptions#requestEncoding to be a string ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2881](https://github.com/openlayers/ol3/pull/2881) - Add default requestEncoding in documentation ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2877](https://github.com/openlayers/ol3/pull/2877) - Remove FIXME in src/ol/structs/rbush.js ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2870](https://github.com/openlayers/ol3/pull/2870) - Use bulk-insertion for addFeatures ([@tsauerwein](https://github.com/tsauerwein))
|
|
||||||
* [#2856](https://github.com/openlayers/ol3/pull/2856) - Allow layer source to be set. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2875](https://github.com/openlayers/ol3/pull/2875) - Avoid modifying `map.logos_` with each frame. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2874](https://github.com/openlayers/ol3/pull/2874) - Avoid shrinking logos. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2872](https://github.com/openlayers/ol3/pull/2872) - Remove the beforepropertychange event from ol.Object ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2868](https://github.com/openlayers/ol3/pull/2868) - Remove doc about dispatching events. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2871](https://github.com/openlayers/ol3/pull/2871) - Make `npm install` a dependency of node based targets. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2867](https://github.com/openlayers/ol3/pull/2867) - Support for importing CommonJS style modules (like rbush). ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#2865](https://github.com/openlayers/ol3/pull/2865) - Add old value to property change events ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2866](https://github.com/openlayers/ol3/pull/2866) - Cluster source calls loadFeatures on vector source ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2864](https://github.com/openlayers/ol3/pull/2864) - Avoid mixed content in Bing Maps (r=@elemoine) ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#2855](https://github.com/openlayers/ol3/pull/2855) - Move touchstart preventDefault to ol.renderer.dom.Map ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2690](https://github.com/openlayers/ol3/pull/2690) - Vector rendering with the DOM renderer ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#2859](https://github.com/openlayers/ol3/pull/2859) - Document exportable vector source symbols. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2857](https://github.com/openlayers/ol3/pull/2857) - Update the OSM attribution. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2847](https://github.com/openlayers/ol3/pull/2847) - Constrain center in zoomify example ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2838](https://github.com/openlayers/ol3/pull/2838) - ol.source.WMTS now passes tileClass option to ol.source.TileImage ([@mike-mcgann](https://github.com/mike-mcgann))
|
|
||||||
* [#2821](https://github.com/openlayers/ol3/pull/2821) - Add ol.geom.Polygon.fromExtent ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2835](https://github.com/openlayers/ol3/pull/2835) - Use correct Stamen URL for SSL. ([@j16sdiz](https://github.com/j16sdiz))
|
|
||||||
* [#2839](https://github.com/openlayers/ol3/pull/2839) - Dependency updates and new package name. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2840](https://github.com/openlayers/ol3/pull/2840) - Fewer point resolution tests. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2836](https://github.com/openlayers/ol3/pull/2836) - Give priority to feature's style instead of source's style ([@oterral](https://github.com/oterral))
|
|
||||||
* [#2834](https://github.com/openlayers/ol3/pull/2834) - Use ADVANCED instead of ADVANCED_OPTIMIZATIONS ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2833](https://github.com/openlayers/ol3/pull/2833) - Avoid too many files open with graceful-fs@3.0.3. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2829](https://github.com/openlayers/ol3/pull/2829) - Zoom slider refactor. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2757](https://github.com/openlayers/ol3/pull/2757) - Clear the canvas on layer extent changes. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2796](https://github.com/openlayers/ol3/pull/2796) - Determine image size on load. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2825](https://github.com/openlayers/ol3/pull/2825) - Change comments for examples_star_json build target ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2822](https://github.com/openlayers/ol3/pull/2822) - Remove obsolete comment ([@gingerik](https://github.com/gingerik))
|
|
||||||
* [#2769](https://github.com/openlayers/ol3/pull/2769) - OverviewMap control ([@adube](https://github.com/adube))
|
|
||||||
* [#2820](https://github.com/openlayers/ol3/pull/2820) - Add parsing of LabelStyle in KML format ([@oterral](https://github.com/oterral))
|
|
||||||
* [#2819](https://github.com/openlayers/ol3/pull/2819) - Improvements to the xyz-esri-4326-512 example ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2743](https://github.com/openlayers/ol3/pull/2743) - Handle ol.interaction.Draw activation/deactivation ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2816](https://github.com/openlayers/ol3/pull/2816) - Exit on check-examples failure ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#2794](https://github.com/openlayers/ol3/pull/2794) - Add ol.Observable.unByKey ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2815](https://github.com/openlayers/ol3/pull/2815) - Fix jquery.min.js path in xyz-esri-4326-512 example ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2756](https://github.com/openlayers/ol3/pull/2756) - Add an example for using an Esri 512x512 tile server in EPSG:4326 (r=@elemoine) ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#2814](https://github.com/openlayers/ol3/pull/2814) - Add missing whitespaces in CSS calc ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2811](https://github.com/openlayers/ol3/pull/2811) - Remove defaultProjection and object from typedef ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2779](https://github.com/openlayers/ol3/pull/2779) - Update jQuery to 1.9.1 ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2810](https://github.com/openlayers/ol3/pull/2810) - Remove unused properties from olx.source.TileVectorOptions ([@pagameba](https://github.com/pagameba))
|
|
||||||
* [#2808](https://github.com/openlayers/ol3/pull/2808) - Remove reprojectTo option from olx.source.OSMXMLOptions ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2809](https://github.com/openlayers/ol3/pull/2809) - Miscellaneous controls cleanups ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2805](https://github.com/openlayers/ol3/pull/2805) - Enable subclassing Interaction in public API ([@sweco-sebhar](https://github.com/sweco-sebhar))
|
|
||||||
* [#2798](https://github.com/openlayers/ol3/pull/2798) - Update closure-util to version 1.0.0 ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2785](https://github.com/openlayers/ol3/pull/2785) - Use goog.* types in externs ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#2795](https://github.com/openlayers/ol3/pull/2795) - Externs ([@gingerik](https://github.com/gingerik))
|
|
||||||
* [#2792](https://github.com/openlayers/ol3/pull/2792) - Use valid mediatype for GPX export. ([@pgiraud](https://github.com/pgiraud))
|
|
||||||
* [#2784](https://github.com/openlayers/ol3/pull/2784) - Add 'tooltip'-tag to KML example. ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#2782](https://github.com/openlayers/ol3/pull/2782) - Hide the rotate control when the rotation is 0 ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2774](https://github.com/openlayers/ol3/pull/2774) - Remove unused distinctFeatures object in ol.interaction.Modify#handlePointerDown ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2771](https://github.com/openlayers/ol3/pull/2771) - Allow package to be published in npm registry. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2773](https://github.com/openlayers/ol3/pull/2773) - Type-related changes to ol.style.Image ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2751](https://github.com/openlayers/ol3/pull/2751) - Export constructors and options of ol.source.Source children ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#2772](https://github.com/openlayers/ol3/pull/2772) - Rename updatefeature event to changefeature ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2766](https://github.com/openlayers/ol3/pull/2766) - Make interaction "active" an ol.Object property ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2765](https://github.com/openlayers/ol3/pull/2765) - Treat unknown opt types as Object in ol externs ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2759](https://github.com/openlayers/ol3/pull/2759) - Fix test failures. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2762](https://github.com/openlayers/ol3/pull/2762) - Report test failures to the console. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2768](https://github.com/openlayers/ol3/pull/2768) - Write the function name correctly in the doc. ([@xamgreen](https://github.com/xamgreen))
|
|
||||||
* [#2764](https://github.com/openlayers/ol3/pull/2764) - Remove rtree example ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2763](https://github.com/openlayers/ol3/pull/2763) - Miscellaneous coding style and typo fixes ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2758](https://github.com/openlayers/ol3/pull/2758) - Correctly generate child tile ranges for XYZ tiles. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2734](https://github.com/openlayers/ol3/pull/2734) - Add maxZoom option to BingMaps ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2752](https://github.com/openlayers/ol3/pull/2752) - Call loadFeatures from ol.source.ImageVector ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2658](https://github.com/openlayers/ol3/pull/2658) - Set inherited values when parsing a GetCapabilities ([@oterral](https://github.com/oterral))
|
|
||||||
* [#2750](https://github.com/openlayers/ol3/pull/2750) - Export ol.layer.Base ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2749](https://github.com/openlayers/ol3/pull/2749) - Export ol.source.Source ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2742](https://github.com/openlayers/ol3/pull/2742) - Dispatch an 'updatefeature' from the vector source ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2747](https://github.com/openlayers/ol3/pull/2747) - Fix incorrect web address. ([@lazaruslarue](https://github.com/lazaruslarue))
|
|
||||||
* [#2745](https://github.com/openlayers/ol3/pull/2745) - DragBox Interaction: getGeometry return type can be ol.geom.Polygon (r=@fredj) ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#2744](https://github.com/openlayers/ol3/pull/2744) - Fix ol.Feature 'change' event documentation ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2741](https://github.com/openlayers/ol3/pull/2741) - issue with reading scientific notation coordinates in ol.format.GML (r=@fredj) ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#2739](https://github.com/openlayers/ol3/pull/2739) - Revert "Function circular renamed to createCircularOnSphere" ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2616](https://github.com/openlayers/ol3/pull/2616) - Target for attribution links differs between maps ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2740](https://github.com/openlayers/ol3/pull/2740) - Make interactions activable and deactivable ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2727](https://github.com/openlayers/ol3/pull/2727) - Rename ol.geom.Polygon#circular to createCircularOnSphere ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2730](https://github.com/openlayers/ol3/pull/2730) - Do not call toLowerCase when forming a change:property event ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2728](https://github.com/openlayers/ol3/pull/2728) - Mark `ol.extent.getIntersection` as stable. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#2726](https://github.com/openlayers/ol3/pull/2726) - Make ol.Feature#setStyle accept null ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2724](https://github.com/openlayers/ol3/pull/2724) - Error when compiling individual example ([@fredj](https://github.com/fredj))
|
|
||||||
* [#1959](https://github.com/openlayers/ol3/pull/1959) - Add a feature box selection example ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2722](https://github.com/openlayers/ol3/pull/2722) - Make ol.Map#setView do not accept undefined ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2696](https://github.com/openlayers/ol3/pull/2696) - Consistent circle transform. ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#2717](https://github.com/openlayers/ol3/pull/2717) - Change the control visibility by using css class ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2715](https://github.com/openlayers/ol3/pull/2715) - Add an EPSG:3857 map to Tissot example ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2714](https://github.com/openlayers/ol3/pull/2714) - Set the opacity directly to element.style.opacity ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2647](https://github.com/openlayers/ol3/pull/2647) - Upgrade closure library version ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2549](https://github.com/openlayers/ol3/pull/2549) - Use goog.array.ASSUME_NATIVE_FUNCTIONS define ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2711](https://github.com/openlayers/ol3/pull/2711) - Remove Google Maps example ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#2684](https://github.com/openlayers/ol3/pull/2684) - Rename ol.Observable#dispatchChangeEvent() to #changed() ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#2678](https://github.com/openlayers/ol3/pull/2678) - Mutable symbolizer properties for styles ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#2568](https://github.com/openlayers/ol3/pull/2568) - re-implement auto-configure code for ol.format.GML (r=@ahocevar) ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#2704](https://github.com/openlayers/ol3/pull/2704) - Use pool thread for calling bin/check-example.js. ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#2698](https://github.com/openlayers/ol3/pull/2698) - StaticVector is not an abstract base class ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#2702](https://github.com/openlayers/ol3/pull/2702) - Add vector layer in export-map example ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2687](https://github.com/openlayers/ol3/pull/2687) - Use ol.LEGACY_IE_SUPPORT and ol.IS_LEGACY_IE define ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2675](https://github.com/openlayers/ol3/pull/2675) - Remove undefined from ol.Map#getLayers return type ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2692](https://github.com/openlayers/ol3/pull/2692) - Unset z-index in overlay example ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2681](https://github.com/openlayers/ol3/pull/2681) - Make tileSize a config option for ol.source.XYZ ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#2534](https://github.com/openlayers/ol3/pull/2534) - Document ol.geom.Polygon#getLinearRing function ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2677](https://github.com/openlayers/ol3/pull/2677) - Add TextStyle offsets getters to API. ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#2676](https://github.com/openlayers/ol3/pull/2676) - ol.FeatureOverlay: use the feature style if defined ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2656](https://github.com/openlayers/ol3/pull/2656) - Set ol.layer.Image#getSource return type to ol.source.Image ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2651](https://github.com/openlayers/ol3/pull/2651) - ol.layer.Vector.getSource return type specialisation. ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#2669](https://github.com/openlayers/ol3/pull/2669) - Revert "snapshot" ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2663](https://github.com/openlayers/ol3/pull/2663) - Set tracking property to false on geolocation error ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2662](https://github.com/openlayers/ol3/pull/2662) - Delegate transformation in ol.source.FormatVector#readFeatures to `ol.format.*` ([@gingerik](https://github.com/gingerik))
|
|
||||||
* [#2447](https://github.com/openlayers/ol3/pull/2447) - Correct documentation typo. ([@lazaruslarue](https://github.com/lazaruslarue))
|
|
||||||
* [#2660](https://github.com/openlayers/ol3/pull/2660) - New domain in the build header ([@elemoine](https://github.com/elemoine))
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
# 3.1.0
|
|
||||||
|
|
||||||
## Summary
|
|
||||||
|
|
||||||
This is a patch release to fix an issue with the select interaction in the 3.1.0 release.
|
|
||||||
|
|
||||||
## Changes
|
|
||||||
|
|
||||||
* [#3082](https://github.com/openlayers/ol3/pull/3082) - Correct arguments for forEachGeometryAtPixel. ([@tschaub](https://github.com/tschaub))
|
|
||||||
@@ -1,93 +0,0 @@
|
|||||||
# v3.10.0
|
|
||||||
|
|
||||||
|
|
||||||
## Summary
|
|
||||||
|
|
||||||
The v3.10.0 release includes features and fixes from 66 pull requests since the v3.9.0 release. New features and improvements include:
|
|
||||||
|
|
||||||
* Full touch gesture support for the Microsoft Edge browser.
|
|
||||||
* Improved API docs - required constructor options are now marked as such.
|
|
||||||
* Text styles (vector labels) now work with defaults instead of failing when only a label text is set.
|
|
||||||
* Write support for GML3 features with multiple geometries
|
|
||||||
|
|
||||||
See the complete list below for details. And see the following notes to know how to upgrade from v3.9.0 to v3.10.0.
|
|
||||||
|
|
||||||
|
|
||||||
## Upgrade notes
|
|
||||||
|
|
||||||
#### `ol.layer.Layer` changes
|
|
||||||
|
|
||||||
The experimental `setHue`, `setContrast`, `setBrightness`, `setSaturation`, and the corresponding getter methods have been removed. These properties only worked with the WebGL renderer. If you are interested in applying color transforms, look for the `postcompose` event in the API docs. In addition, the `ol.source.Raster` source provides a way to create new raster data based on arbitrary transforms run on any number of input sources.
|
|
||||||
|
|
||||||
#### Removal of legacy Internet Explorer support
|
|
||||||
|
|
||||||
If you are building an appliction that supports Internet Explorer 8 or older, you'll need to use ES5 shims to make OpenLayers work. As before, support for such old browsers is very basic, and we recommend to not support them.
|
|
||||||
|
|
||||||
|
|
||||||
## New features and fixes
|
|
||||||
|
|
||||||
* [#4237](https://github.com/openlayers/ol3/pull/4237) - #3328: GML3 - Writing features with multiple geometries ([@awaterme](https://github.com/awaterme))
|
|
||||||
* [#4218](https://github.com/openlayers/ol3/pull/4218) - Add 'getLayer()' method to 'ol.interaction.Select' ([@jonataswalker](https://github.com/jonataswalker))
|
|
||||||
* [#4036](https://github.com/openlayers/ol3/pull/4036) - Fix modify interaction event order ([@alvinlindstam](https://github.com/alvinlindstam))
|
|
||||||
* [#4036](https://github.com/openlayers/ol3/pull/4036) - Fix modify interaction event order ([@alvinlindstam](https://github.com/alvinlindstam))
|
|
||||||
* [#4116](https://github.com/openlayers/ol3/pull/4116) - Make ol.control.OverviewMap's view configurable ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#4234](https://github.com/openlayers/ol3/pull/4234) - Support OGC WKT proj4 def.units and def.to_meter ([@tbarsballe](https://github.com/tbarsballe))
|
|
||||||
* [#4224](https://github.com/openlayers/ol3/pull/4224) - Don't transform the angle into degrees to rotate the element ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4231](https://github.com/openlayers/ol3/pull/4231) - Revert "Merge pull request #4217 from ThomasG77/clipboardjs-replacement" ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#4217](https://github.com/openlayers/ol3/pull/4217) - Replace ZeroClipboard with Clipboard.js to remove flash dependency ([@ThomasG77](https://github.com/ThomasG77))
|
|
||||||
* [#4223](https://github.com/openlayers/ol3/pull/4223) - Remove goog.fx.easing ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4222](https://github.com/openlayers/ol3/pull/4222) - Remove unnecessary cast ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4209](https://github.com/openlayers/ol3/pull/4209) - Remove goog.string.remove ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#4207](https://github.com/openlayers/ol3/pull/4207) - Remove goog.string.startsWith ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#4208](https://github.com/openlayers/ol3/pull/4208) - Remove goog.string.trim() ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#4216](https://github.com/openlayers/ol3/pull/4216) - Fix canvas replay which broke with 31a68e2 ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#4202](https://github.com/openlayers/ol3/pull/4202) - Remove use of goog.dom.appendChild ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4205](https://github.com/openlayers/ol3/pull/4205) - Minor cleanup ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4203](https://github.com/openlayers/ol3/pull/4203) - Cosmetic changes to example html / css ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#4184](https://github.com/openlayers/ol3/pull/4184) - Adjust iframe's position of GetFeatureInfo examples ([@jonataswalker](https://github.com/jonataswalker))
|
|
||||||
* [#4192](https://github.com/openlayers/ol3/pull/4192) - Remove use of goog.isNull in favor of simple truthy checks ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#4187](https://github.com/openlayers/ol3/pull/4187) - Fix {-y} template calculation for custom (TMS) tile grids ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#4176](https://github.com/openlayers/ol3/pull/4176) - Remove use of goog.isDefAndNotNull().
|
|
||||||
([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#4200](https://github.com/openlayers/ol3/pull/4200) - Do not use goog.object.get ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#4198](https://github.com/openlayers/ol3/pull/4198) - Improve ol.control.Rotate.prototype.resetNorth_ performance ([@denilsonsa](https://github.com/denilsonsa))
|
|
||||||
* [#4197](https://github.com/openlayers/ol3/pull/4197) - Remove blur action on MOUSEOUT on Zoom Out button ([@denilsonsa](https://github.com/denilsonsa))
|
|
||||||
* [#4195](https://github.com/openlayers/ol3/pull/4195) - #4171: Prefer current layout as default on MultiLineString.setLineStrings() ([@awaterme](https://github.com/awaterme))
|
|
||||||
* [#4172](https://github.com/openlayers/ol3/pull/4172) - #4171: Prefer current layout as default on Multipolygon.setPolygons() ([@awaterme](https://github.com/awaterme))
|
|
||||||
* [#4190](https://github.com/openlayers/ol3/pull/4190) - Remove use of goog.functions.constant ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#4188](https://github.com/openlayers/ol3/pull/4188) - Remove use of goog.object.getKeys ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4189](https://github.com/openlayers/ol3/pull/4189) - Replace goog.nullFunction with ol.nullFunction ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#4165](https://github.com/openlayers/ol3/pull/4165) - Use ECMAScript 5.1 Array functions instead of goog.array ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4181](https://github.com/openlayers/ol3/pull/4181) - Remove use of goog.array.contains ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4162](https://github.com/openlayers/ol3/pull/4162) - Remove ol.LEGACY_IE_SUPPORT ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4174](https://github.com/openlayers/ol3/pull/4174) - Remove hue, saturation, contrast, and brightness as layer properties. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#4183](https://github.com/openlayers/ol3/pull/4183) - Remove @api on getHitDetectionFramebuffer ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#4179](https://github.com/openlayers/ol3/pull/4179) - Use Date.now() instead of goog.now() ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#4175](https://github.com/openlayers/ol3/pull/4175) - Remove use of goog.math.clamp(). ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#4173](https://github.com/openlayers/ol3/pull/4173) - Only animate when resolution is about to be changed ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#4129](https://github.com/openlayers/ol3/pull/4129) - Remove use of goog.isDef. ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#4168](https://github.com/openlayers/ol3/pull/4168) - Tile preload example wording (fixes #4147) ([@wlerner](https://github.com/wlerner))
|
|
||||||
* [#4167](https://github.com/openlayers/ol3/pull/4167) - Remove externs in externs/closure-compiler.js ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4166](https://github.com/openlayers/ol3/pull/4166) - Use version 20150920 of Closure Compiler ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#4159](https://github.com/openlayers/ol3/pull/4159) - Remove use of goog.object.containsKey ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4157](https://github.com/openlayers/ol3/pull/4157) - Fix typo in doc ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#4138](https://github.com/openlayers/ol3/pull/4138) - Enhanced documentation for ol.style.Text ([@ekargee](https://github.com/ekargee))
|
|
||||||
* [#4151](https://github.com/openlayers/ol3/pull/4151) - Remove bogus assertion ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#4110](https://github.com/openlayers/ol3/pull/4110) - Minor cleanups ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4156](https://github.com/openlayers/ol3/pull/4156) - Rename drag-features example to custom-interactions ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#4150](https://github.com/openlayers/ol3/pull/4150) - Remove use of goog.object.remove ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4145](https://github.com/openlayers/ol3/pull/4145) - API method for simplifying geometries. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#4153](https://github.com/openlayers/ol3/pull/4153) - Add a "features" option to ol.interaction.Select ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#4144](https://github.com/openlayers/ol3/pull/4144) - Set context.fillStyle to a string ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#4149](https://github.com/openlayers/ol3/pull/4149) - Remove use of goog.array.isEmpty ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4139](https://github.com/openlayers/ol3/pull/4139) - Add turf.js and JSTS example ([@tsauerwein](https://github.com/tsauerwein))
|
|
||||||
* [#4136](https://github.com/openlayers/ol3/pull/4136) - Fix the 'click-to-fork' link in contributer notes ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#4132](https://github.com/openlayers/ol3/pull/4132) - Update quickstart tutorial ([@tsauerwein](https://github.com/tsauerwein))
|
|
||||||
* [#4111](https://github.com/openlayers/ol3/pull/4111) - Use a blackish default for filling texts ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#4120](https://github.com/openlayers/ol3/pull/4120) - Remove invalid link to featureOverlay in API doc ([@kalbermattenm](https://github.com/kalbermattenm))
|
|
||||||
* [#4117](https://github.com/openlayers/ol3/pull/4117) - forEachFeatureAtPixel shouldn't fail if layer has no source ([@pgiraud](https://github.com/pgiraud))
|
|
||||||
* [#4106](https://github.com/openlayers/ol3/pull/4106) - Focus to search field on page load ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#4079](https://github.com/openlayers/ol3/pull/4079) - Automatically mark required options in API-docs ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#4108](https://github.com/openlayers/ol3/pull/4108) - Add missing CSSProperties.prototype.touchAction extern ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4107](https://github.com/openlayers/ol3/pull/4107) - Prevent page zoom on IE Edge ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3969](https://github.com/openlayers/ol3/pull/3969) - Add an option to use the mouse's location as an anchor when zooming ([@samuellapointe](https://github.com/samuellapointe))
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# v3.10.1
|
|
||||||
|
|
||||||
## Summary
|
|
||||||
|
|
||||||
This is a patch release that fixes a regression causing text styles with a fill but no stroke to not be rendered.
|
|
||||||
|
|
||||||
* [#4242](https://github.com/openlayers/ol3/pull/4242) - Fix a drawText regression introduced with 31a68e2 ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
@@ -1,86 +0,0 @@
|
|||||||
# 3.2.0
|
|
||||||
|
|
||||||
## Summary
|
|
||||||
|
|
||||||
The 3.1.0 release includes 70 merged pull requests since 3.1.0. Of note, the KML format [now parses `NetworkingLink` tags](https://github.com/openlayers/ol3/pull/3171). The [measure example](http://openlayers.org/en/v3.2.0/examples/measure.html) was [reworked](https://github.com/openlayers/ol3/pull/3206) to display measurements and help messages while drawing. A WMTS GetCapabilities format was [added](https://github.com/openlayers/ol3/pull/3026). The WebGL renderer [now supports feature hit detection](https://github.com/openlayers/ol3/pull/3065) (on point features). And you can now [detect](https://github.com/openlayers/ol3/pull/3172) features/colored pixels on image and tile layers! See the full list of [changes](#changes) below.
|
|
||||||
|
|
||||||
## Upgrade notes
|
|
||||||
|
|
||||||
The 3.2.0 release maintains a backwards-compatible API with the 3.1.0 release, so upgrades should be painless. Some special considerations below.
|
|
||||||
|
|
||||||
* You should not call `view.setRotation` with `undefined`, to reset the view rotation to `0` then use `view.setRotation(0)` (see [#3176](https://github.com/openlayers/ol3/pull/3176)).
|
|
||||||
|
|
||||||
* If you use `$(map.getViewport()).on('mousemove')` to detect features when the mouse is hovered on the map, you should now rely on the `pointermove` map event type and check in the `pointermove` listener that the `dragging` event property is `false` (see [#3190](https://github.com/openlayers/ol3/pull/3190)).
|
|
||||||
|
|
||||||
## Changes
|
|
||||||
|
|
||||||
* [#3171](https://github.com/openlayers/ol3/pull/3171) - KML: Parsing of NetworkLink tag ([@oterral](https://github.com/oterral))
|
|
||||||
* [#3209](https://github.com/openlayers/ol3/pull/3209) - Coding style fixes ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3208](https://github.com/openlayers/ol3/pull/3208) - Add setters and getters for imageLoadFunction ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3019](https://github.com/openlayers/ol3/pull/3019) - Add option to allow Select interaction logic to select overlapping features ([@bjornharrtell](https://github.com/bjornharrtell))
|
|
||||||
* [#3206](https://github.com/openlayers/ol3/pull/3206) - Add tooltip to show measure + help message while drawing ([@pgiraud](https://github.com/pgiraud))
|
|
||||||
* [#3205](https://github.com/openlayers/ol3/pull/3205) - Use ol.extent.createOrUpdateFromCoordinate ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3026](https://github.com/openlayers/ol3/pull/3026) - Add support of reading WMTS Get Cap document ([@htulipe](https://github.com/htulipe))
|
|
||||||
* [#3201](https://github.com/openlayers/ol3/pull/3201) - Pass on opt_fast to parent clear function in ol.source.ServerVector (r=@elemoine,@gberaudo) ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3199](https://github.com/openlayers/ol3/pull/3199) - Minor jsdoc fixes ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3059](https://github.com/openlayers/ol3/pull/3059) - Cache the buffered extent value ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3196](https://github.com/openlayers/ol3/pull/3196) - Remove unnecessary newlines ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3099](https://github.com/openlayers/ol3/pull/3099) - Fix up parsing of OGR GML with ol.format.GML ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3195](https://github.com/openlayers/ol3/pull/3195) - Coding style ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3192](https://github.com/openlayers/ol3/pull/3192) - Add "url" option to ol.source.MapQuest ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3172](https://github.com/openlayers/ol3/pull/3172) - Introduce forEachLayerAtPixel ([@tsauerwein](https://github.com/tsauerwein))
|
|
||||||
* [#3178](https://github.com/openlayers/ol3/pull/3178) - GeoJSON externs fixes ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3179](https://github.com/openlayers/ol3/pull/3179) - Disallow undefined values for ol.layer.Base ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3161](https://github.com/openlayers/ol3/pull/3161) - Doc fix. writeFeaturesNode receives an array of Feature ([@3x0dv5](https://github.com/3x0dv5))
|
|
||||||
* [#3169](https://github.com/openlayers/ol3/pull/3169) - Fix default icon style in kml format ([@oterral](https://github.com/oterral))
|
|
||||||
* [#3190](https://github.com/openlayers/ol3/pull/3190) - Introduce `dragging` flag for MapBrowserEvent ([@tsauerwein](https://github.com/tsauerwein))
|
|
||||||
* [#3135](https://github.com/openlayers/ol3/pull/3135) - Make changing the label of ZoomToExtent/FullScreen control consistent ([@tsauerwein](https://github.com/tsauerwein))
|
|
||||||
* [#3186](https://github.com/openlayers/ol3/pull/3186) - Take the pixel ratio into account when clipping the layer ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3183](https://github.com/openlayers/ol3/pull/3183) - Allow other params than 'mode' in example page query string. ([@htulipe](https://github.com/htulipe))
|
|
||||||
* [#2791](https://github.com/openlayers/ol3/pull/2791) - Re enable rotation button transition ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3180](https://github.com/openlayers/ol3/pull/3180) - Add a getMap function to ol.FeatureOverlay (r=@ahocevar) ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3176](https://github.com/openlayers/ol3/pull/3176) - Disallowed undefined rotation value ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3177](https://github.com/openlayers/ol3/pull/3177) - Add example showing how to style polygon vertices ([@tsauerwein](https://github.com/tsauerwein))
|
|
||||||
* [#3174](https://github.com/openlayers/ol3/pull/3174) - Use view.getRotation or view.getResolution instead of view.getState ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3170](https://github.com/openlayers/ol3/pull/3170) - Coding style ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3108](https://github.com/openlayers/ol3/pull/3108) - Support skipping features in the WebGL renderer ([@tsauerwein](https://github.com/tsauerwein))
|
|
||||||
* [#3163](https://github.com/openlayers/ol3/pull/3163) - Use the layerStatesArray property from the frameState ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3159](https://github.com/openlayers/ol3/pull/3159) - Don't pass specific options to the parent constructor ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3066](https://github.com/openlayers/ol3/pull/3066) - Introduce hasFeatureAtPixel ([@tsauerwein](https://github.com/tsauerwein))
|
|
||||||
* [#3065](https://github.com/openlayers/ol3/pull/3065) - Add hit-detection support for WebGL ([@tsauerwein](https://github.com/tsauerwein))
|
|
||||||
* [#3128](https://github.com/openlayers/ol3/pull/3128) - Allow rendering of feature when download of icon failed ([@oterral](https://github.com/oterral))
|
|
||||||
* [#3156](https://github.com/openlayers/ol3/pull/3156) - Move readProjectionFrom* functions to the base classes ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3107](https://github.com/openlayers/ol3/pull/3107) - Also listen on loading images ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3153](https://github.com/openlayers/ol3/pull/3153) - Add missing GeoJSONFeature#bbox property ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3154](https://github.com/openlayers/ol3/pull/3154) - Remove unnecessary newlines ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3146](https://github.com/openlayers/ol3/pull/3146) - Enable tests for ol.geom.flat.reverse ([@icholy](https://github.com/icholy))
|
|
||||||
* [#3152](https://github.com/openlayers/ol3/pull/3152) - Update closure-library and closure-util version ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3145](https://github.com/openlayers/ol3/pull/3145) - Add wrapX option to source.OSM and source.BingMaps ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3139](https://github.com/openlayers/ol3/pull/3139) - Add ol.control.Control#setTarget ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3144](https://github.com/openlayers/ol3/pull/3144) - Update CONTRIBUTING style guide with recent guidelines ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3136](https://github.com/openlayers/ol3/pull/3136) - Use array.length = 0 instead of goog.array.clear ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3140](https://github.com/openlayers/ol3/pull/3140) - Avoid use of goog.array.clone with arrays. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3122](https://github.com/openlayers/ol3/pull/3122) - Revert "Use offsetX and offsetY if available" ([@fredj](https://github.com/fredj))
|
|
||||||
* [#2385](https://github.com/openlayers/ol3/pull/2385) - Option to update vector layers while animating ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3129](https://github.com/openlayers/ol3/pull/3129) - Only update the rbush item if the extent has changed ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3117](https://github.com/openlayers/ol3/pull/3117) - Add pixelRatio support for DOM vector renderer ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3124](https://github.com/openlayers/ol3/pull/3124) - Add a space between scale -value and -unit ([@sirtet](https://github.com/sirtet))
|
|
||||||
* [#3130](https://github.com/openlayers/ol3/pull/3130) - Document default value ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3105](https://github.com/openlayers/ol3/pull/3105) - ol.geom.Geometry#getExtent re-factoring ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3118](https://github.com/openlayers/ol3/pull/3118) - Bugfix: "Cannot read property 'firstElementChild' of null" (WFS) ([@naturalatlas](https://github.com/naturalatlas))
|
|
||||||
* [#3114](https://github.com/openlayers/ol3/pull/3114) - Specify node version in CONTRIBUTING.md ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3106](https://github.com/openlayers/ol3/pull/3106) - Don't pass specific options to the parent constructor ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3110](https://github.com/openlayers/ol3/pull/3110) - Use svg instead of png to get better image quality ([@PeterDaveHello](https://github.com/PeterDaveHello))
|
|
||||||
* [#2707](https://github.com/openlayers/ol3/pull/2707) - Generate source map of minified ol.js ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#3104](https://github.com/openlayers/ol3/pull/3104) - Don't pass renderBuffer option to the parent constructor ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3096](https://github.com/openlayers/ol3/pull/3096) - popup example cleanup / simplification ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3072](https://github.com/openlayers/ol3/pull/3072) - Optimize canvas hit detection by rendering features in a limited extent. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3101](https://github.com/openlayers/ol3/pull/3101) - Use bracket notation instead of goog.object functions. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3079](https://github.com/openlayers/ol3/pull/3079) - Exclude source files from docs. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3100](https://github.com/openlayers/ol3/pull/3100) - Assert that ol.layer.Tile#getPreload is always set ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3084](https://github.com/openlayers/ol3/pull/3084) - Changes from the v3.1.x branch. ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#3094](https://github.com/openlayers/ol3/pull/3094) - Remove AUTHORS.md. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3089](https://github.com/openlayers/ol3/pull/3089) - Fixed URL link for test README ([@mike-mcgann](https://github.com/mike-mcgann))
|
|
||||||
* [#2894](https://github.com/openlayers/ol3/pull/2894) - Simplify CSS code in custom-controls example ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3085](https://github.com/openlayers/ol3/pull/3085) - Fixed documentation typo for return value of ol.proj.Projection.isGlobal(). ([@mike-mcgann](https://github.com/mike-mcgann))
|
|
||||||
* [#3073](https://github.com/openlayers/ol3/pull/3073) - Make map's deviceOptions map options ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
# 3.2.1
|
|
||||||
|
|
||||||
## Summary
|
|
||||||
|
|
||||||
This is a patch release that fixes a regression with the select interaction in the [3.2.0 release](https://github.com/openlayers/ol3/releases/tag/v3.2.0).
|
|
||||||
|
|
||||||
## Changes
|
|
||||||
|
|
||||||
* [#3236](https://github.com/openlayers/ol3/pull/3236) - Select the uppermost feature. ([@tschaub](https://github.com/tschaub))
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
## Upgrade notes
|
|
||||||
|
|
||||||
* The `ol.events.condition.mouseMove` function was replaced by `ol.events.condition.pointerMove` (see [#3281](https://github.com/openlayers/ol3/pull/3281)). For example, if you use `ol.events.condition.mouseMove` as the condition in a `Select` interaction then you now need to use `ol.events.condition.pointerMove`:
|
|
||||||
|
|
||||||
```js
|
|
||||||
var selectInteraction = new ol.interaction.Select({
|
|
||||||
condition: ol.events.condition.pointerMove
|
|
||||||
// …
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
## Overview of all changes
|
|
||||||
|
|
||||||
* [#3263](https://github.com/openlayers/ol3/pull/3263) - Support ArcGIS Rest Services ([@cwgrant](https://github.com/cwgrant))
|
|
||||||
* [#3295](https://github.com/openlayers/ol3/pull/3295) - Add RESTful to WMTS GetCapabilities optionsFromCapabilities ([@sarametz](https://github.com/sarametz))
|
|
||||||
* [#3304](https://github.com/openlayers/ol3/pull/3304) - Remove scale line inner padding ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3296](https://github.com/openlayers/ol3/pull/3296) - Add upgrade-notes.md file ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3303](https://github.com/openlayers/ol3/pull/3303) - Add constant for us-ft units ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3018](https://github.com/openlayers/ol3/pull/3018) - Add SelectEvent to interaction ([@bjornharrtell](https://github.com/bjornharrtell))
|
|
||||||
* [#3301](https://github.com/openlayers/ol3/pull/3301) - Select interaction unit tests ([@bjornharrtell](https://github.com/bjornharrtell))
|
|
||||||
* [#3298](https://github.com/openlayers/ol3/pull/3298) - Make ol.source.Source inherit from ol.Object ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3297](https://github.com/openlayers/ol3/pull/3297) - Add getters to ol.source.WMTS ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3281](https://github.com/openlayers/ol3/pull/3281) - Fix mouseMove event type comparison for IE10-11, pointermove ([@adube](https://github.com/adube))
|
|
||||||
* [#3293](https://github.com/openlayers/ol3/pull/3293) - Add missing opacity option for ol.style.IconOptions ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3284](https://github.com/openlayers/ol3/pull/3284) - Fix jsdoc type for arrays of listening keys ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3278](https://github.com/openlayers/ol3/pull/3278) - Add goog.provide for ol.DrawEventType ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3272](https://github.com/openlayers/ol3/pull/3272) - Added getter function to return the wrapped source within the cluster ([@acanimal](https://github.com/acanimal))
|
|
||||||
* [#3275](https://github.com/openlayers/ol3/pull/3275) - Add ol.layer.Heatmap#blur getter and setter ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3142](https://github.com/openlayers/ol3/pull/3142) - WMTS Get Cap document with updated WMTS.optionsFromCapabilities function ([@sarametz](https://github.com/sarametz))
|
|
||||||
* [#3271](https://github.com/openlayers/ol3/pull/3271) - [wip] Fix misplaced comment blocks ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3273](https://github.com/openlayers/ol3/pull/3273) - Remove unused createGetTileIfLoadedFunction function. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3270](https://github.com/openlayers/ol3/pull/3270) - Make ol.Overlay autoPan default to false ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3268](https://github.com/openlayers/ol3/pull/3268) - Fix autoPan in examples with ol.Overlay on hover ([@tsauerwein](https://github.com/tsauerwein))
|
|
||||||
* [#3256](https://github.com/openlayers/ol3/pull/3256) - Add autoPan option to ol.Overlay ([@tsauerwein](https://github.com/tsauerwein))
|
|
||||||
* [#3261](https://github.com/openlayers/ol3/pull/3261) - Fix forEachCorner extent, add TopLeft ([@adube](https://github.com/adube))
|
|
||||||
* [#3260](https://github.com/openlayers/ol3/pull/3260) - Remove unused goog.require ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3246](https://github.com/openlayers/ol3/pull/3246) - Avoid creating unnecessary images in tile layers. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3254](https://github.com/openlayers/ol3/pull/3254) - Use lineCap, lineJoin and miterLimit stroke properties in RegularShape ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3252](https://github.com/openlayers/ol3/pull/3252) - Avoid leaking global listenerSpy. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3248](https://github.com/openlayers/ol3/pull/3248) - Add tile loading events to image tile sources. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3240](https://github.com/openlayers/ol3/pull/3240) - Changes from the v3.2.x branch. ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#3233](https://github.com/openlayers/ol3/pull/3233) - Four small fixes. ([@stweil](https://github.com/stweil))
|
|
||||||
* [#3232](https://github.com/openlayers/ol3/pull/3232) - Fix typos found by codespell. ([@stweil](https://github.com/stweil))
|
|
||||||
* [#3231](https://github.com/openlayers/ol3/pull/3231) - Make ol.layer.Heatmap#radius configurable ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3225](https://github.com/openlayers/ol3/pull/3225) - Respect attributions passed to TileJSON source. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3223](https://github.com/openlayers/ol3/pull/3223) - Resize the canvas when the tile size changes. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3224](https://github.com/openlayers/ol3/pull/3224) - Provide the ability to get the layer name from a MapQuest source ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3222](https://github.com/openlayers/ol3/pull/3222) - Add geodesic option for measure ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3221](https://github.com/openlayers/ol3/pull/3221) - Select the uppermost feature ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3211](https://github.com/openlayers/ol3/pull/3211) - Bing https logo fix. ([@photostu](https://github.com/photostu))
|
|
||||||
* [#3215](https://github.com/openlayers/ol3/pull/3215) - Allow reuse of layer rendering code without creating a map. ([@tschaub](https://github.com/tschaub))
|
|
||||||
@@ -1,43 +0,0 @@
|
|||||||
## Overview of all changes
|
|
||||||
|
|
||||||
* [#3383](https://github.com/openlayers/ol3/pull/3383) - GML3 tests time out in unit tests ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3401](https://github.com/openlayers/ol3/pull/3401) - Allow GeoJSON to be serialized according to the right-hand rule. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3403](https://github.com/openlayers/ol3/pull/3403) - Remove unused goog.require ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3362](https://github.com/openlayers/ol3/pull/3362) - Configure proj4 options and transforms upon construction ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3394](https://github.com/openlayers/ol3/pull/3394) - Fix fullscreen pseudo CSS class name ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3399](https://github.com/openlayers/ol3/pull/3399) - Clarify when widths need to be configured on a tile grid ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3398](https://github.com/openlayers/ol3/pull/3398) - Make sure that the return value of wrapX() is stable ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3396](https://github.com/openlayers/ol3/pull/3396) - Move the compare function out of ol.interaction.Modify.handleDownEvent_ ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3395](https://github.com/openlayers/ol3/pull/3395) - ol.Interaction.Modify fixes ([@fperucic](https://github.com/fperucic))
|
|
||||||
* [#3387](https://github.com/openlayers/ol3/pull/3387) - Add wrapX option for ol.source.WMTS ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3393](https://github.com/openlayers/ol3/pull/3393) - Remove unused define ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3392](https://github.com/openlayers/ol3/pull/3392) - Fix switching class name of full-screen control ([@tsauerwein](https://github.com/tsauerwein))
|
|
||||||
* [#3391](https://github.com/openlayers/ol3/pull/3391) - Minor code cleanup ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3388](https://github.com/openlayers/ol3/pull/3388) - Add new geometry layout option for polyline format ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3385](https://github.com/openlayers/ol3/pull/3385) - Fix ol.tilegrid.TileGrid#getZForResolution ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3377](https://github.com/openlayers/ol3/pull/3377) - Support wrapX for attributions ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3382](https://github.com/openlayers/ol3/pull/3382) - Create github source links ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3376](https://github.com/openlayers/ol3/pull/3376) - Add ol.source.Tile support for wrapping around the x-axis ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3378](https://github.com/openlayers/ol3/pull/3378) - Clarify where to ask questions ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3380](https://github.com/openlayers/ol3/pull/3380) - Test the GeoJSON layout ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3360](https://github.com/openlayers/ol3/pull/3360) - Don't unlisten image twice when disposing an ol.ImageTile ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3361](https://github.com/openlayers/ol3/pull/3361) - Listen on localhost to avoid phantomjs browsing 0.0.0.0 ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3365](https://github.com/openlayers/ol3/pull/3365) - Better docs for #getPointResolution ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3363](https://github.com/openlayers/ol3/pull/3363) - New ol.proj features ([@bill-chadwick](https://github.com/bill-chadwick))
|
|
||||||
* [#3305](https://github.com/openlayers/ol3/pull/3305) - Add image loading events to image sources (r=@ahocevar,@elemoine) ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3343](https://github.com/openlayers/ol3/pull/3343) - Line arrows example ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3354](https://github.com/openlayers/ol3/pull/3354) - Mark ol.format.GeoJSON#writeFeature(s) option param optional ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3346](https://github.com/openlayers/ol3/pull/3346) - Set the 'properties' member to null if the feature has not properties ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3344](https://github.com/openlayers/ol3/pull/3344) - Minor code cleanup ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3237](https://github.com/openlayers/ol3/pull/3237) - Add circles to Draw interaction. ([@Morgul](https://github.com/Morgul))
|
|
||||||
* [#2691](https://github.com/openlayers/ol3/pull/2691) - Add will-change CSS properties ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3336](https://github.com/openlayers/ol3/pull/3336) - Use ol.Map#getTargetElement function ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3335](https://github.com/openlayers/ol3/pull/3335) - Update rbush to version 1.3.5 ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3322](https://github.com/openlayers/ol3/pull/3322) - Remove unneeded map.isDef call ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3327](https://github.com/openlayers/ol3/pull/3327) - Add css to dist directory ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3324](https://github.com/openlayers/ol3/pull/3324) - Add interface definition for ol.SelectEvent ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3315](https://github.com/openlayers/ol3/pull/3315) - Fix Tissot indicatrix example description ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3312](https://github.com/openlayers/ol3/pull/3312) - Fix HiDPI support for ArcGIS REST ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#2910](https://github.com/openlayers/ol3/pull/2910) - Support multiple featureTpes in GML parser ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3309](https://github.com/openlayers/ol3/pull/3309) - Fix select event always reporting as multi select ([@bjornharrtell](https://github.com/bjornharrtell))
|
|
||||||
* [#3307](https://github.com/openlayers/ol3/pull/3307) - Handle all non-degree units in ol.control.ScaleLine ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
@@ -1,289 +0,0 @@
|
|||||||
# v3.5.0
|
|
||||||
|
|
||||||
## Summary
|
|
||||||
|
|
||||||
The 3.5.0 release includes features and fixes from a whopping 129 pull requests since 3.4.0. This release removes a number of "experimental" features from the API, so take a close look at the notes below when upgrading.
|
|
||||||
|
|
||||||
## Upgrade notes
|
|
||||||
|
|
||||||
### `ol.Object` and `bindTo`
|
|
||||||
|
|
||||||
* The following experimental methods have been removed from `ol.Object`: `bindTo`, `unbind`, and `unbindAll`. If you want to get notification about `ol.Object` property changes, you can listen for the `'propertychange'` event (e.g. `object.on('propertychange', listener)`). Two-way binding can be set up at the application level using property change listeners. See [#3472](https://github.com/openlayers/ol3/pull/3472) for details on the change.
|
|
||||||
|
|
||||||
* The experimental `ol.dom.Input` component has been removed. If you need to synchronize the state of a dom Input element with an `ol.Object`, this can be accomplished using listeners for change events. For example, you might bind the state of a checkbox type input with a layer's visibility like this:
|
|
||||||
|
|
||||||
```js
|
|
||||||
var layer = new ol.layer.Tile();
|
|
||||||
var checkbox = document.querySelector('#checkbox');
|
|
||||||
|
|
||||||
checkbox.addEventListener('change', function() {
|
|
||||||
var checked = this.checked;
|
|
||||||
if (checked !== layer.getVisible()) {
|
|
||||||
layer.setVisible(checked);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
layer.on('change:visible', function() {
|
|
||||||
var visible = this.getVisible();
|
|
||||||
if (visible !== checkbox.checked) {
|
|
||||||
checkbox.checked = visible;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
### New Vector API
|
|
||||||
|
|
||||||
* The following experimental vector classes have been removed: `ol.source.GeoJSON`, `ol.source.GML`, `ol.source.GPX`, `ol.source.IGC`, `ol.source.KML`, `ol.source.OSMXML`, and `ol.source.TopoJSON`. You now will use `ol.source.Vector` instead.
|
|
||||||
|
|
||||||
For example, if you used `ol.source.GeoJSON` as follows:
|
|
||||||
|
|
||||||
```js
|
|
||||||
var source = new ol.source.GeoJSON({
|
|
||||||
url: 'features.json',
|
|
||||||
projection: 'EPSG:3857'
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
you will need to change your code to:
|
|
||||||
|
|
||||||
```js
|
|
||||||
var source = new ol.source.Vector({
|
|
||||||
url: 'features.json',
|
|
||||||
format: new ol.format.GeoJSON()
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
See http://openlayers.org/en/master/examples/vector-layer.html for a real example.
|
|
||||||
|
|
||||||
Note that you no longer need to set a `projection` on the source!
|
|
||||||
|
|
||||||
Previously the vector data was loaded at source construction time, and, if the data projection and the source projection were not the same, the vector data was transformed to the source projection before being inserted (as features) into the source.
|
|
||||||
|
|
||||||
The vector data is now loaded at render time, when the view projection is known. And the vector data is transformed to the view projection if the data projection and the source projection are not the same.
|
|
||||||
|
|
||||||
If you still want to "eagerly" load the source you will use something like this:
|
|
||||||
|
|
||||||
```js
|
|
||||||
var source = new ol.source.Vector();
|
|
||||||
$.ajax('features.json').then(function(response) {
|
|
||||||
var geojsonFormat = new ol.format.GeoJSON();
|
|
||||||
var features = geojsonFormat.readFeatures(response,
|
|
||||||
{featureProjection: 'EPSG:3857'});
|
|
||||||
source.addFeatures(features);
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
The above code uses jQuery to send an Ajax request, but you can obviously use any Ajax library.
|
|
||||||
|
|
||||||
See http://openlayers.org/en/master/examples/igc.html for a real example.
|
|
||||||
|
|
||||||
* Note about KML
|
|
||||||
|
|
||||||
If you used `ol.source.KML`'s `extractStyles` or `defaultStyle` options, you will now have to set these options on `ol.format.KML` instead. For example, if you used:
|
|
||||||
|
|
||||||
```js
|
|
||||||
var source = new ol.source.KML({
|
|
||||||
url: 'features.kml',
|
|
||||||
extractStyles: false,
|
|
||||||
projection: 'EPSG:3857'
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
you will now use:
|
|
||||||
|
|
||||||
```js
|
|
||||||
var source = new ol.source.Vector({
|
|
||||||
url: 'features.kml',
|
|
||||||
format: new ol.format.KML({
|
|
||||||
extractStyles: false
|
|
||||||
})
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
* The `ol.source.ServerVector` class has been removed. If you used it, for example as follows:
|
|
||||||
|
|
||||||
```js
|
|
||||||
var source = new ol.source.ServerVector({
|
|
||||||
format: new ol.format.GeoJSON(),
|
|
||||||
loader: function(extent, resolution, projection) {
|
|
||||||
var url = …;
|
|
||||||
$.ajax(url).then(function(response) {
|
|
||||||
source.addFeatures(source.readFeatures(response));
|
|
||||||
});
|
|
||||||
},
|
|
||||||
strategy: ol.loadingstrategy.bbox,
|
|
||||||
projection: 'EPSG:3857'
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
you will need to change your code to:
|
|
||||||
|
|
||||||
```js
|
|
||||||
var source = new ol.source.Vector({
|
|
||||||
loader: function(extent, resolution, projection) {
|
|
||||||
var url = …;
|
|
||||||
$.ajax(url).then(function(response) {
|
|
||||||
var format = new ol.format.GeoJSON();
|
|
||||||
var features = format.readFeatures(response,
|
|
||||||
{featureProjection: projection});
|
|
||||||
source.addFeatures(features);
|
|
||||||
});
|
|
||||||
},
|
|
||||||
strategy: ol.loadingstrategy.bbox
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
See http://openlayers.org/en/master/examples/vector-osm.html for a real example.
|
|
||||||
|
|
||||||
* The experimental `ol.loadingstrategy.createTile` function has been renamed to `ol.loadingstrategy.tile`. The signature of the function hasn't changed. See http://openlayers.org/en/master/examples/vector-osm.html for an example.
|
|
||||||
|
|
||||||
### Change to `ol.style.Icon`
|
|
||||||
|
|
||||||
* When manually loading an image for `ol.style.Icon`, the image size should now be set
|
|
||||||
with the `imgSize` option and not with `size`. `size` is supposed to be used for the
|
|
||||||
size of a sub-rectangle in an image sprite.
|
|
||||||
|
|
||||||
### Support for non-square tiles
|
|
||||||
|
|
||||||
The return value of `ol.tilegrid.TileGrid#getTileSize()` will now be an `ol.Size` array instead of a number if non-square tiles (i.e. an `ol.Size` array instead of a number as `tilsSize`) are used. To always get an `ol.Size`, the new `ol.size.toSize()` was added.
|
|
||||||
|
|
||||||
### Change to `ol.interaction.Draw`
|
|
||||||
|
|
||||||
When finishing a draw, the `drawend` event is now dispatched before the feature is inserted to either the source or the collection. This change allows application code to finish setting up the feature.
|
|
||||||
|
|
||||||
### Misc.
|
|
||||||
|
|
||||||
If you compile your application together with the library and use the `ol.feature.FeatureStyleFunction` type annotation (this should be extremely rare), the type is now named `ol.FeatureStyleFunction`.
|
|
||||||
|
|
||||||
## New features and fixes
|
|
||||||
|
|
||||||
* [#3646](https://github.com/openlayers/ol3/pull/3646) - Use graceful-fs in place of fs ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3645](https://github.com/openlayers/ol3/pull/3645) - Fix test-coverage.js script ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3640](https://github.com/openlayers/ol3/pull/3640) - Make make fail on requires and whitespace errors ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3644](https://github.com/openlayers/ol3/pull/3644) - added altclick select to selectfeatures example ([@t27](https://github.com/t27))
|
|
||||||
* [#3612](https://github.com/openlayers/ol3/pull/3612) - Add ol.source.WMTS#getUrls and getRequestEncoding ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3616](https://github.com/openlayers/ol3/pull/3616) - Add support for freehand drawing to the Draw interaction ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3634](https://github.com/openlayers/ol3/pull/3634) - Remove unused local variable ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3629](https://github.com/openlayers/ol3/pull/3629) - Problems with XYZ coordinates in snap interaction ([@tsauerwein](https://github.com/tsauerwein))
|
|
||||||
* [#3633](https://github.com/openlayers/ol3/pull/3633) - Add a Makefile section to .editorconfig ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3632](https://github.com/openlayers/ol3/pull/3632) - Make host-examples target copy index.js ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3631](https://github.com/openlayers/ol3/pull/3631) - Restore Modify interaction constructor test ([@bjornharrtell](https://github.com/bjornharrtell))
|
|
||||||
* [#3630](https://github.com/openlayers/ol3/pull/3630) - Initial tests for Modify interaction vertex creation ([@bjornharrtell](https://github.com/bjornharrtell))
|
|
||||||
* [#3527](https://github.com/openlayers/ol3/pull/3527) - Replace pake with make? ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3624](https://github.com/openlayers/ol3/pull/3624) - Add a one sentence summary for several exportable symbols ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3623](https://github.com/openlayers/ol3/pull/3623) - ol3 overwrites WMS format_options instead of extending them. ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3621](https://github.com/openlayers/ol3/pull/3621) - Fix typo in documentation comment ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#3614](https://github.com/openlayers/ol3/pull/3614) - GML2 parser does not parse all features ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3619](https://github.com/openlayers/ol3/pull/3619) - Add a one sentence summary for ol.geom.* exportable symbols ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3618](https://github.com/openlayers/ol3/pull/3618) - Replace non-breaking space (U+00A0) with regular space (U+0020). ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3617](https://github.com/openlayers/ol3/pull/3617) - Add ol.size.hasArea. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3597](https://github.com/openlayers/ol3/pull/3597) - Remove dead link in api doc ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3613](https://github.com/openlayers/ol3/pull/3613) - Add a one sentence summary for ol.interaction* exportable symbols ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3611](https://github.com/openlayers/ol3/pull/3611) - Improve error handling in Esri JSON format ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3560](https://github.com/openlayers/ol3/pull/3560) - Add an example showing how to create a permalink ([@tsauerwein](https://github.com/tsauerwein))
|
|
||||||
* [#3571](https://github.com/openlayers/ol3/pull/3571) - Add wrapX support for vector layers (canvas renderer only) ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3605](https://github.com/openlayers/ol3/pull/3605) - vector-esri-edit.html uses non api method ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3602](https://github.com/openlayers/ol3/pull/3602) - Rename ol.feature.FeatureStyleFunction to ol.FeatureStyleFunction. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3604](https://github.com/openlayers/ol3/pull/3604) - Add charset so that zoom out button shows correctly ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3603](https://github.com/openlayers/ol3/pull/3603) - Reformat upgrade-notes.md ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3599](https://github.com/openlayers/ol3/pull/3599) - Improve docs for source.Vector options ([@probins](https://github.com/probins))
|
|
||||||
* [#3598](https://github.com/openlayers/ol3/pull/3598) - Remove unnecessary entry in `.gitignore`. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3595](https://github.com/openlayers/ol3/pull/3595) - Add featureloader.jsdoc ([@probins](https://github.com/probins))
|
|
||||||
* [#3593](https://github.com/openlayers/ol3/pull/3593) - Add /examples/index.js to .gitignore ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3592](https://github.com/openlayers/ol3/pull/3592) - Remove reference to binding in Collection docs ([@probins](https://github.com/probins))
|
|
||||||
* [#3591](https://github.com/openlayers/ol3/pull/3591) - Only draw the layer if visible and inside the resolution range ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3528](https://github.com/openlayers/ol3/pull/3528) - Fix memory leak when removing layers from ol.layer.Group ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3549](https://github.com/openlayers/ol3/pull/3549) - Move ol.*_DURATION const to a constructor option ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3587](https://github.com/openlayers/ol3/pull/3587) - Handle left/right segment intersections for top/bottom spans. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3516](https://github.com/openlayers/ol3/pull/3516) - Remove ol.format.BinaryFeature. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3586](https://github.com/openlayers/ol3/pull/3586) - Simplify dragAndDropInteraction in examples. ([@probins](https://github.com/probins))
|
|
||||||
* [#3555](https://github.com/openlayers/ol3/pull/3555) - Esri JSON support ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3583](https://github.com/openlayers/ol3/pull/3583) - Add a one sentence summary for ol.proj.* and ol.layer.* exportable symbols ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3581](https://github.com/openlayers/ol3/pull/3581) - Always show links to related API documentation. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3582](https://github.com/openlayers/ol3/pull/3582) - Index what the examples require. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3580](https://github.com/openlayers/ol3/pull/3580) - Add a one sentence summary for ol.source.* exportable symbols ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3551](https://github.com/openlayers/ol3/pull/3551) - Automatically add links to API-docs in examples ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3575](https://github.com/openlayers/ol3/pull/3575) - Check proj equivalence by code. ([@nd0ut](https://github.com/nd0ut))
|
|
||||||
* [#3579](https://github.com/openlayers/ol3/pull/3579) - Use HTTPS were available. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3558](https://github.com/openlayers/ol3/pull/3558) - Example sources in examples dir and built examples in build/examples. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3550](https://github.com/openlayers/ol3/pull/3550) - Reduce differences between the rendering test runner and the standard test runner. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3576](https://github.com/openlayers/ol3/pull/3576) - Add KML options related note the upgrade notes ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3573](https://github.com/openlayers/ol3/pull/3573) - Modify draw interaction dispatch order ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#3572](https://github.com/openlayers/ol3/pull/3572) - Do not return a null tileSize ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3570](https://github.com/openlayers/ol3/pull/3570) - Add missing @api ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#3569](https://github.com/openlayers/ol3/pull/3569) - Fix link to Bootstrap documentation ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3559](https://github.com/openlayers/ol3/pull/3559) - Add support for non-square tiles ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3568](https://github.com/openlayers/ol3/pull/3568) - Move extractStyles option to ol.format.KML ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3562](https://github.com/openlayers/ol3/pull/3562) - Simplify .ol-zoomslider and .ol-overviewmap CSS ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3565](https://github.com/openlayers/ol3/pull/3565) - Move extractStyles option to ol.format.KML ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3523](https://github.com/openlayers/ol3/pull/3523) - Update proj4 version to 2.3.6 ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3556](https://github.com/openlayers/ol3/pull/3556) - Minor TileUTFGrid error fix ([@klokantech](https://github.com/klokantech))
|
|
||||||
* [#3557](https://github.com/openlayers/ol3/pull/3557) - Update FastClick externs to version 1.0.6 ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3517](https://github.com/openlayers/ol3/pull/3517) - Add tests for previously untested classes ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3548](https://github.com/openlayers/ol3/pull/3548) - Write the error stack instead of the error itself. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3542](https://github.com/openlayers/ol3/pull/3542) - Generate example index and rebuild examples on source changes. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3530](https://github.com/openlayers/ol3/pull/3530) - external resources not correctly in inline source of example ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3448](https://github.com/openlayers/ol3/pull/3448) - Fix WebGL image layer rendering on retina displays ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3544](https://github.com/openlayers/ol3/pull/3544) - Update comments about remaining GeoJSON work. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3531](https://github.com/openlayers/ol3/pull/3531) - Fix PointerEventHandler exception with Overlay containing SVG and IE9 ([@mantonovic](https://github.com/mantonovic))
|
|
||||||
* [#3521](https://github.com/openlayers/ol3/pull/3521) - Remove goog.isDefAndNotNull test on ol.layer.Group#getLayers result ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3481](https://github.com/openlayers/ol3/pull/3481) - Proposal for a simpler vector API ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3472](https://github.com/openlayers/ol3/pull/3472) - Remove the experimental bindTo method from ol.Object. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3505](https://github.com/openlayers/ol3/pull/3505) - Add a Create Custom Builds tutorial ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3513](https://github.com/openlayers/ol3/pull/3513) - Remove layerGroup.setLayers(null) test ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3511](https://github.com/openlayers/ol3/pull/3511) - Add goog.provide's ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3509](https://github.com/openlayers/ol3/pull/3509) - Dispatch change event even when geometry is set to null ([@pgiraud](https://github.com/pgiraud))
|
|
||||||
* [#3510](https://github.com/openlayers/ol3/pull/3510) - Use sinon.spy to ensure change event is dispatched ([@pgiraud](https://github.com/pgiraud))
|
|
||||||
* [#3504](https://github.com/openlayers/ol3/pull/3504) - Rework build-examples.js task. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3470](https://github.com/openlayers/ol3/pull/3470) - Add rendering tests ([@tsauerwein](https://github.com/tsauerwein))
|
|
||||||
* [#3413](https://github.com/openlayers/ol3/pull/3413) - Add support for generic external modules with Browserify ([@tsauerwein](https://github.com/tsauerwein))
|
|
||||||
* [#3503](https://github.com/openlayers/ol3/pull/3503) - Use vector source instead of feature overlay in snap example. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3495](https://github.com/openlayers/ol3/pull/3495) - Initial basic project setup tutorial ([@bjornharrtell](https://github.com/bjornharrtell))
|
|
||||||
* [#3488](https://github.com/openlayers/ol3/pull/3488) - Add docs for exportable symbols. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3441](https://github.com/openlayers/ol3/pull/3441) - Add a "Compile Application and OpenLayers 3 Together" tutorial ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3499](https://github.com/openlayers/ol3/pull/3499) - Update to closure-util 1.4.0 ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3494](https://github.com/openlayers/ol3/pull/3494) - Mark VectorContext @api ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#3409](https://github.com/openlayers/ol3/pull/3409) - AssertionError in WMTS.optionsFromCapabilities. ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3493](https://github.com/openlayers/ol3/pull/3493) - Add image loading events to ol.source.ImageStatic ([@tsauerwein](https://github.com/tsauerwein))
|
|
||||||
* [#3490](https://github.com/openlayers/ol3/pull/3490) - Add .editorconfig and instructions on its use. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3489](https://github.com/openlayers/ol3/pull/3489) - Use an abstract base class instead of IVectorContext. ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#3483](https://github.com/openlayers/ol3/pull/3483) - Clarify view.setRotation docs ([@tsauerwein](https://github.com/tsauerwein))
|
|
||||||
* [#3485](https://github.com/openlayers/ol3/pull/3485) - build.py graceful interrupt ([@malaretv](https://github.com/malaretv))
|
|
||||||
* [#3484](https://github.com/openlayers/ol3/pull/3484) - Make sure we copy the example css if it exists ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3462](https://github.com/openlayers/ol3/pull/3462) - Remove ol.format.GMLBase from the API ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3445](https://github.com/openlayers/ol3/pull/3445) - Start a FAQ document. ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3468](https://github.com/openlayers/ol3/pull/3468) - Use the coveralls executable. ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3415](https://github.com/openlayers/ol3/pull/3415) - Stable Only unchecked by default. ([@malaretv](https://github.com/malaretv))
|
|
||||||
* [#3420](https://github.com/openlayers/ol3/pull/3420) - Unregister viewport size listener on setTarget(null) ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3456](https://github.com/openlayers/ol3/pull/3456) - Updated menu on the JSDOC template (non-responsive) ([@klokan](https://github.com/klokan))
|
|
||||||
* [#3475](https://github.com/openlayers/ol3/pull/3475) - Template examples ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#3455](https://github.com/openlayers/ol3/pull/3455) - Fix pre-loaded icons images for WebGL ([@tsauerwein](https://github.com/tsauerwein))
|
|
||||||
* [#3473](https://github.com/openlayers/ol3/pull/3473) - Add more tests for ol.coordinate. ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3464](https://github.com/openlayers/ol3/pull/3464) - Mark more of the API stable. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3469](https://github.com/openlayers/ol3/pull/3469) - Update README. ([@malaretv](https://github.com/malaretv))
|
|
||||||
* [#3467](https://github.com/openlayers/ol3/pull/3467) - Update the coveralls badge. ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#3466](https://github.com/openlayers/ol3/pull/3466) - Include coveralls code-coverage badge in README. ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3457](https://github.com/openlayers/ol3/pull/3457) - Integrate istanbul for test coverage ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3446](https://github.com/openlayers/ol3/pull/3446) - Add updateWhileInteracting to olx.layer.VectorOptions ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3438](https://github.com/openlayers/ol3/pull/3438) - Parser documentation and XML readme ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#3449](https://github.com/openlayers/ol3/pull/3449) - Fix assertion message ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#3440](https://github.com/openlayers/ol3/pull/3440) - Add fromLonLat and toLonLat convenience functions ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3423](https://github.com/openlayers/ol3/pull/3423) - Parse extrude and altitude mode ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#3431](https://github.com/openlayers/ol3/pull/3431) - Better typing ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3436](https://github.com/openlayers/ol3/pull/3436) - Mention readme.md files as help for contributors ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3433](https://github.com/openlayers/ol3/pull/3433) - Add missing goog.provide/goog.require ol.source.TileEvent ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3422](https://github.com/openlayers/ol3/pull/3422) - Fix Select behavior when multi is false ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3428](https://github.com/openlayers/ol3/pull/3428) - Reorder assertions and variable declarations. ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3414](https://github.com/openlayers/ol3/pull/3414) - Add missing ol.style.AtlasManager goog.require ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3429](https://github.com/openlayers/ol3/pull/3429) - Adding missing provide for SelectFilterFunction ([@pgiraud](https://github.com/pgiraud))
|
|
||||||
* [#3426](https://github.com/openlayers/ol3/pull/3426) - Add assertion messages for all assertion statements ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3425](https://github.com/openlayers/ol3/pull/3425) - Fix typo in ol.js ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3424](https://github.com/openlayers/ol3/pull/3424) - Remove `@api` annotation from `ol.WEBGL_MAX_TEXTURE_SIZE`. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3419](https://github.com/openlayers/ol3/pull/3419) - Remove describe.only ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3417](https://github.com/openlayers/ol3/pull/3417) - ol.interaction.Snap extent fix ([@fperucic](https://github.com/fperucic))
|
|
||||||
* [#3410](https://github.com/openlayers/ol3/pull/3410) - Add ol.Object.unset() method ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#3402](https://github.com/openlayers/ol3/pull/3402) - Add "filter" option to Select interaction ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3416](https://github.com/openlayers/ol3/pull/3416) - Remove unnecessary typecasts in examples ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3411](https://github.com/openlayers/ol3/pull/3411) - Listen for a 'change:geometry' event ([@fperucic](https://github.com/fperucic))
|
|
||||||
* [#3109](https://github.com/openlayers/ol3/pull/3109) - Snap feature ([@fperucic](https://github.com/fperucic))
|
|
||||||
* [#3407](https://github.com/openlayers/ol3/pull/3407) - Add v3.4.0 empty section to upgrade notes ([@bartvde](https://github.com/bartvde))
|
|
||||||
@@ -1,64 +0,0 @@
|
|||||||
# v3.6.0
|
|
||||||
|
|
||||||
## Summary
|
|
||||||
|
|
||||||
The v3.6.0 release includes features and fixes from 40 pull requests since v3.5.0. To simplify the code base, there were some changes to "experimental" features. Please follow the upgrade notes to make your applications work with the latest release.
|
|
||||||
|
|
||||||
## Upgrade notes
|
|
||||||
|
|
||||||
### `ol.interaction.Draw` changes
|
|
||||||
|
|
||||||
* The `minPointsPerRing` config option has been renamed to `minPoints`. It is now also available for linestring drawing, not only for polygons.
|
|
||||||
* The `ol.DrawEvent` and `ol.DrawEventType` types were renamed to `ol.interaction.DrawEvent` and `ol.interaction.DrawEventType`. This has an impact on your code only if your code is compiled together with ol3.
|
|
||||||
|
|
||||||
### `ol.tilegrid` changes
|
|
||||||
|
|
||||||
* The `ol.tilegrid.XYZ` constructor has been replaced by a static `ol.tilegrid.createXYZ()` function. The `ol.tilegrid.createXYZ()` function takes the same arguments as the previous `ol.tilegrid.XYZ` constructor, but returns an `ol.tilegrid.TileGrid` instance.
|
|
||||||
* The internal tile coordinate scheme for XYZ sources has been changed. Previously, the `y` of tile coordinates was transformed to the coordinates used by sources by calculating `-y-1`. Now, it is transformed by calculating `height-y-1`, where height is the number of rows of the tile grid at the zoom level of the tile coordinate.
|
|
||||||
* The `widths` constructor option of `ol.tilegrid.TileGrid` and subclasses is no longer available, and it is no longer necessary to get proper wrapping at the 180° meridian. However, for `ol.tilegrid.WMTS`, there is a new option `sizes`, where each entry is an `ol.Size` with the `width` ('TileMatrixWidth' in WMTS capabilities) as first and the `height` ('TileMatrixHeight') as second entry of the array. For other tile grids, users can
|
|
||||||
now specify an `extent` instead of `widths`. These settings are used to restrict the range of tiles that sources will request.
|
|
||||||
* For `ol.source.TileWMS`, the default value of `warpX` used to be `undefined`, meaning that WMS requests with out-of-extent tile BBOXes would be sent. Now `wrapX` can only be `true` or `false`, and the new default is `true`. No application code changes should be required, but the resulting WMS requests for out-of-extent tiles will no longer use out-of-extent BBOXes, but ones that are shifted to real-world coordinates.
|
|
||||||
|
|
||||||
## New features and fixes
|
|
||||||
|
|
||||||
* [#3764](https://github.com/openlayers/ol3/pull/3764) - Add tests and implementation for intersectsExtent (ol.geom.Geometry) ([@alvinlindstam](https://github.com/alvinlindstam))
|
|
||||||
* [#3757](https://github.com/openlayers/ol3/pull/3757) - Add mapBrowserEvent as a member of ol.SelectEvent ([@bjornharrtell](https://github.com/bjornharrtell))
|
|
||||||
* [#3759](https://github.com/openlayers/ol3/pull/3759) - Mark tilegrid.createTileCoordTransform() @api ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#3747](https://github.com/openlayers/ol3/pull/3747) - Make tileCoordTransform a member again ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3751](https://github.com/openlayers/ol3/pull/3751) - Do not rely on remote services for tests ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3749](https://github.com/openlayers/ol3/pull/3749) - Fix typo in API docs ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3739](https://github.com/openlayers/ol3/pull/3739) - Simplify detection of scientific notation in WKT format ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3741](https://github.com/openlayers/ol3/pull/3741) - Enhance docs of arguments and return values of callbacks / filters ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3740](https://github.com/openlayers/ol3/pull/3740) - Add @fires to select interaction ([@probins](https://github.com/probins))
|
|
||||||
* [#3738](https://github.com/openlayers/ol3/pull/3738) - Improve doucmentation for ol.TileUrlFunctionType ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3736](https://github.com/openlayers/ol3/pull/3736) - Fix invalid example HTML markup ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3735](https://github.com/openlayers/ol3/pull/3735) - Snap example: remove featureoverlay from tags ([@probins](https://github.com/probins))
|
|
||||||
* [#3732](https://github.com/openlayers/ol3/pull/3732) - Add a method to bind button bluring on mouseout/focusout ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3659](https://github.com/openlayers/ol3/pull/3659) - Revert "Implement ol.renderer.Layer#forEachFeatureAtCoordinate" ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3683](https://github.com/openlayers/ol3/pull/3683) - Improve Map docs for layers and layergroups ([@probins](https://github.com/probins))
|
|
||||||
* [#3720](https://github.com/openlayers/ol3/pull/3720) - Add missing goog.provides in drawinteraction.js ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3725](https://github.com/openlayers/ol3/pull/3725) - Document default value for olx.interaction.ModifyOptions#pixelTolerance ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3722](https://github.com/openlayers/ol3/pull/3722) - Use the correct TileCoord transform function ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3692](https://github.com/openlayers/ol3/pull/3692) - Updates for building on Windows using Cygwin. ([@bill-chadwick](https://github.com/bill-chadwick))
|
|
||||||
* [#3718](https://github.com/openlayers/ol3/pull/3718) - Add a assertion for renderOrder ([@tsauerwein](https://github.com/tsauerwein))
|
|
||||||
* [#3711](https://github.com/openlayers/ol3/pull/3711) - Fix and test ol.color.blend ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3673](https://github.com/openlayers/ol3/pull/3673) - More control over ol.interaction.Draw, to allow e.g. square drawing ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3710](https://github.com/openlayers/ol3/pull/3710) - Add more tests for ol.extent ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3709](https://github.com/openlayers/ol3/pull/3709) - vector-wfs example does not work in JSFiddle ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3699](https://github.com/openlayers/ol3/pull/3699) - Add support for scientific notation to WKT format ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3696](https://github.com/openlayers/ol3/pull/3696) - Add an example for various blend modes ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3697](https://github.com/openlayers/ol3/pull/3697) - Use a valid SPDX license expression ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3694](https://github.com/openlayers/ol3/pull/3694) - Correct typo in upgrade-notes ([@probins](https://github.com/probins))
|
|
||||||
* [#3693](https://github.com/openlayers/ol3/pull/3693) - Fix ol.extent.containsExtent documentation ([@tremby](https://github.com/tremby))
|
|
||||||
* [#3689](https://github.com/openlayers/ol3/pull/3689) - Fix WMTS.optionsFromCapabilities if no OperationsMetadata section ([@probins](https://github.com/probins))
|
|
||||||
* [#3688](https://github.com/openlayers/ol3/pull/3688) - Add two missing properties to extern of WebGLContextAttributes ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3682](https://github.com/openlayers/ol3/pull/3682) - Add a note about using the collection in addLayer ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3649](https://github.com/openlayers/ol3/pull/3649) - More specific regex in serve.js ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3677](https://github.com/openlayers/ol3/pull/3677) - Add metadata to examples, ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3672](https://github.com/openlayers/ol3/pull/3672) - Add link to FAQ-document and fix internal links ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3665](https://github.com/openlayers/ol3/pull/3665) - Add proj4js and projection definition files to example resources ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3662](https://github.com/openlayers/ol3/pull/3662) - Clarify docs for renderBuffer option ([@tsauerwein](https://github.com/tsauerwein))
|
|
||||||
* [#3664](https://github.com/openlayers/ol3/pull/3664) - Link to download page. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3639](https://github.com/openlayers/ol3/pull/3639) - Add extent support to ol.tilegrid.TileGrid ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3663](https://github.com/openlayers/ol3/pull/3663) - Readme should not include the version number. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3637](https://github.com/openlayers/ol3/pull/3637) - Implement ol.renderer.Layer#forEachFeatureAtCoordinate ([@fredj](https://github.com/fredj))
|
|
||||||
@@ -1,152 +0,0 @@
|
|||||||
# v3.7.0
|
|
||||||
|
|
||||||
## Summary
|
|
||||||
|
|
||||||
The v3.7.0 release includes features and fixes from 43 pull requests since v3.6.0. To simplify the code base, there were some changes to "experimental" features. Please follow the upgrade notes to make your applications work with the latest release.
|
|
||||||
|
|
||||||
## Upgrade notes
|
|
||||||
|
|
||||||
#### Removal of `ol.FeatureOverlay`
|
|
||||||
|
|
||||||
Instead of an `ol.FeatureOverlay`, we now use an `ol.layer.Vector` with an
|
|
||||||
`ol.source.Vector`. If you previously had:
|
|
||||||
```js
|
|
||||||
var featureOverlay = new ol.FeatureOverlay({
|
|
||||||
map: map,
|
|
||||||
style: overlayStyle
|
|
||||||
});
|
|
||||||
featureOverlay.addFeature(feature);
|
|
||||||
featureOverlay.removeFeature(feature);
|
|
||||||
var collection = featureOverlay.getFeatures();
|
|
||||||
```
|
|
||||||
you will have to change this to:
|
|
||||||
```js
|
|
||||||
var collection = new ol.Collection();
|
|
||||||
var featureOverlay = new ol.layer.Vector({
|
|
||||||
map: map,
|
|
||||||
source: new ol.source.Vector({
|
|
||||||
features: collection,
|
|
||||||
useSpatialIndex: false // optional, might improve performance
|
|
||||||
}),
|
|
||||||
style: overlayStyle,
|
|
||||||
updateWhileAnimating: true, // optional, for instant visual feedback
|
|
||||||
updateWhileInteracting: true // optional, for instant visual feedback
|
|
||||||
});
|
|
||||||
featureOverlay.getSource().addFeature(feature);
|
|
||||||
featureOverlay.getSource().removeFeature(feature);
|
|
||||||
```
|
|
||||||
|
|
||||||
With the removal of `ol.FeatureOverlay`, `zIndex` symbolizer properties of overlays are no longer stacked per map, but per layer/overlay. If you previously had multiple feature overlays where you controlled the rendering order of features by using `zIndex` symbolizer properties, you can now achieve the same rendering order only if all overlay features are on the same layer.
|
|
||||||
|
|
||||||
Note that `ol.FeatureOverlay#getFeatures()` returned an `{ol.Collection.<ol.Feature>}`, whereas `ol.source.Vector#getFeatures()` returns an `{Array.<ol.Feature>}`.
|
|
||||||
|
|
||||||
#### `ol.TileCoord` changes
|
|
||||||
|
|
||||||
Until now, the API exposed two different types of `ol.TileCoord` tile coordinates: internal ones that increase left to right and upward, and transformed ones that may increase downward, as defined by a transform function on the tile grid. With this change, the API now only exposes tile coordinates that increase left to right and upward.
|
|
||||||
|
|
||||||
Previously, tile grids created by OpenLayers either had their origin at the top-left or at the bottom-left corner of the extent. To make it easier for application developers to transform tile coordinates to the common XYZ tiling scheme, all tile grids that OpenLayers creates internally have their origin now at the top-left corner of the extent.
|
|
||||||
|
|
||||||
This change affects applications that configure a custom `tileUrlFunction` for an `ol.source.Tile`. Previously, the `tileUrlFunction` was called with rather unpredictable tile coordinates, depending on whether a tile coordinate transform took place before calling the `tileUrlFunction`. Now it is always called with OpenLayers tile coordinates. To transform these into the common XYZ tiling scheme, a custom `tileUrlFunction` has to change the `y` value (tile row) of the `ol.TileCoord`:
|
|
||||||
```js
|
|
||||||
function tileUrlFunction = function(tileCoord, pixelRatio, projection) {
|
|
||||||
var urlTemplate = '{z}/{x}/{y}';
|
|
||||||
return urlTemplate
|
|
||||||
.replace('{z}', tileCoord[0].toString())
|
|
||||||
.replace('{x}', tileCoord[1].toString())
|
|
||||||
.replace('{y}', (-tileCoord[2] - 1).toString());
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
The `ol.tilegrid.TileGrid#createTileCoordTransform()` function which could be used to get the tile grid's tile coordinate transform function has been removed. This function was confusing and should no longer be needed now that application developers get tile coordinates in a known layout.
|
|
||||||
|
|
||||||
The code snippets below show how your application code needs to be changed:
|
|
||||||
|
|
||||||
Old application code (with `ol.tilegrid.TileGrid#createTileCoordTransform()`):
|
|
||||||
```js
|
|
||||||
var transform = source.getTileGrid().createTileCoordTransform();
|
|
||||||
var tileUrlFunction = function(tileCoord, pixelRatio, projection) {
|
|
||||||
tileCoord = transform(tileCoord, projection);
|
|
||||||
return 'http://mytiles.com/' +
|
|
||||||
tileCoord[0] + '/' + tileCoord[1] + '/' + tileCoord[2] + '.png';
|
|
||||||
};
|
|
||||||
```
|
|
||||||
Old application code (with custom `y` transform):
|
|
||||||
```js
|
|
||||||
var tileUrlFunction = function(tileCoord, pixelRatio, projection) {
|
|
||||||
var z = tileCoord[0];
|
|
||||||
var yFromBottom = tileCoord[2];
|
|
||||||
var resolution = tileGrid.getResolution(z);
|
|
||||||
var tileHeight = ol.size.toSize(tileSize)[1];
|
|
||||||
var matrixHeight =
|
|
||||||
Math.floor(ol.extent.getHeight(extent) / tileHeight / resolution);
|
|
||||||
return 'http://mytiles.com/' +
|
|
||||||
tileCoord[0] + '/' + tileCoord[1] + '/' +
|
|
||||||
(matrixHeight - yFromBottom - 1) + '.png';
|
|
||||||
|
|
||||||
};
|
|
||||||
```
|
|
||||||
New application code (simple -y - 1 transform):
|
|
||||||
```js
|
|
||||||
var tileUrlFunction = function(tileCoord, pixelRatio, projection) {
|
|
||||||
return 'http://mytiles.com/' +
|
|
||||||
tileCoord[0] + '/' + tileCoord[1] + '/' + (-tileCoord[2] - 1) + '.png';
|
|
||||||
};
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Removal of `ol.tilegrid.Zoomify`
|
|
||||||
|
|
||||||
The replacement of `ol.tilegrid.Zoomify` is a plain `ol.tilegrid.TileGrid`, configured with `extent`, `origin` and `resolutions`. If the `size` passed to the `ol.source.Zoomify` source is `[width, height]`, then the extent for the tile grid will be `[0, -height, width, 0]`, and the origin will be `[0, 0]`.
|
|
||||||
|
|
||||||
#### Replace `ol.View.fitExtent()` and `ol.View.fitGeometry()` with `ol.View.fit()`
|
|
||||||
* This combines two previously distinct functions into one more flexible call which takes either a geometry or an extent.
|
|
||||||
* Rename all calls to `fitExtent` and `fitGeometry` to `fit`.
|
|
||||||
|
|
||||||
#### Change to `ol.interaction.Modify`
|
|
||||||
|
|
||||||
When single clicking a line or boundary within the `pixelTolerance`, a vertex is now created.
|
|
||||||
|
|
||||||
## New features and fixes
|
|
||||||
|
|
||||||
* [#3867](https://github.com/openlayers/ol3/pull/3867) - Do not require projection extent for x-wrapping tile sources ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3635](https://github.com/openlayers/ol3/pull/3635) - Create vertex on boundary single click ([@bjornharrtell](https://github.com/bjornharrtell))
|
|
||||||
* [#3806](https://github.com/openlayers/ol3/pull/3806) - Do not clip canvas for vector layers when wrapping the world ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3461](https://github.com/openlayers/ol3/pull/3461) - High level Modify interaction events ([@bjornharrtell](https://github.com/bjornharrtell))
|
|
||||||
* [#3865](https://github.com/openlayers/ol3/pull/3865) - ol.View#fit() ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3864](https://github.com/openlayers/ol3/pull/3864) - Check projection.canWrapX() before wrapping tiles ([@klokantech](https://github.com/klokantech))
|
|
||||||
* [#3863](https://github.com/openlayers/ol3/pull/3863) - Handle CDATA in attribute parsing for GML format ([@nhambletCCRI](https://github.com/nhambletCCRI))
|
|
||||||
* [#3860](https://github.com/openlayers/ol3/pull/3860) - Update example layout. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3861](https://github.com/openlayers/ol3/pull/3861) - Don't force 'dom' renderer ([@openlayers](https://github.com/openlayers))
|
|
||||||
* [#3855](https://github.com/openlayers/ol3/pull/3855) - Adding an example with WMTS tiles from IGN Geoportail ([@pgiraud](https://github.com/pgiraud))
|
|
||||||
* [#3856](https://github.com/openlayers/ol3/pull/3856) - ol.source.TileVector(): bind success function of tileLoadFunction to source ([@plepe](https://github.com/plepe))
|
|
||||||
* [#3848](https://github.com/openlayers/ol3/pull/3848) - Check for exports before define. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3845](https://github.com/openlayers/ol3/pull/3845) - Prevent null array to be passed to an ol.Collection ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3849](https://github.com/openlayers/ol3/pull/3849) - Pad min. and sec. with leading zeros in DMS notation ([@pgiraud](https://github.com/pgiraud))
|
|
||||||
* [#3842](https://github.com/openlayers/ol3/pull/3842) - Adding a feature-animation example ([@pgiraud](https://github.com/pgiraud))
|
|
||||||
* [#3833](https://github.com/openlayers/ol3/pull/3833) - Enable use of custom XHR loader for TileVector sources ([@bjornharrtell](https://github.com/bjornharrtell))
|
|
||||||
* [#3834](https://github.com/openlayers/ol3/pull/3834) - ArcGIS tiled example broken in Chrome ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3829](https://github.com/openlayers/ol3/pull/3829) - incorrect assert message ([@kzr-pzr](https://github.com/kzr-pzr))
|
|
||||||
* [#3828](https://github.com/openlayers/ol3/pull/3828) - Fix typo in upgrade notes ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3826](https://github.com/openlayers/ol3/pull/3826) - Allow custom tileGrid in ol.source.XYZ ([@klokantech](https://github.com/klokantech))
|
|
||||||
* [#3815](https://github.com/openlayers/ol3/pull/3815) - Simplify tilegrid API and internals ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3820](https://github.com/openlayers/ol3/pull/3820) - Make unmanaged vector layers behave more like ol.FeatureOverlay ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3822](https://github.com/openlayers/ol3/pull/3822) - Correct docs for updateWhileInteracting ([@probins](https://github.com/probins))
|
|
||||||
* [#3818](https://github.com/openlayers/ol3/pull/3818) - Make geometry.transform api stable again. ([@probins](https://github.com/probins))
|
|
||||||
* [#3801](https://github.com/openlayers/ol3/pull/3801) - Respect the tile grid's extent in ol.source.TileVector ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3810](https://github.com/openlayers/ol3/pull/3810) - Improve TileGrid documentation and examples ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3808](https://github.com/openlayers/ol3/pull/3808) - Correct typo in OverlayOptions ([@probins](https://github.com/probins))
|
|
||||||
* [#3766](https://github.com/openlayers/ol3/pull/3766) - Add a clickTolerance option to the Draw interaction ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3804](https://github.com/openlayers/ol3/pull/3804) - Remove sentence that was only meant for WMTS tile grids ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3800](https://github.com/openlayers/ol3/pull/3800) - Remove further references to FeatureOverlay ([@probins](https://github.com/probins))
|
|
||||||
* [#3780](https://github.com/openlayers/ol3/pull/3780) - Only expose transformed tile coordinates to the API ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3793](https://github.com/openlayers/ol3/pull/3793) - Use 'managed' instead of 'unmanaged' in LayerState ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3792](https://github.com/openlayers/ol3/pull/3792) - Link to correct layer base class ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3791](https://github.com/openlayers/ol3/pull/3791) - Remove docs referring to removed feature overlay ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#3790](https://github.com/openlayers/ol3/pull/3790) - Remove unnecessary quotes around object keys ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3787](https://github.com/openlayers/ol3/pull/3787) - Add 'unmanaged' to ol.layer.LayerState ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3784](https://github.com/openlayers/ol3/pull/3784) - Always write the GeoJSONFeature geometry property ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3783](https://github.com/openlayers/ol3/pull/3783) - Fix broken wmts-hidpi example ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3782](https://github.com/openlayers/ol3/pull/3782) - Fix assert documentation typo ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#3758](https://github.com/openlayers/ol3/pull/3758) - Removal of ol.FeatureOverlay ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3775](https://github.com/openlayers/ol3/pull/3775) - Add ol-touch but keep ol-viewport className. ([@pgiraud](https://github.com/pgiraud))
|
|
||||||
* [#3713](https://github.com/openlayers/ol3/pull/3713) - Add missing propertyNames member for olx.format.WFSWriteGetFeatureOptions ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#3763](https://github.com/openlayers/ol3/pull/3763) - Standardise draw/modify descriptions ([@probins](https://github.com/probins))
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
# v3.8.0
|
|
||||||
|
|
||||||
## Summary
|
|
||||||
|
|
||||||
The v3.8.0 release includes features and fixes from 33 pull requests since v3.7.0. While summer vacations have slowed the pace of development a bit this month, there are some nice improvements in this release. See the complete list below for details.
|
|
||||||
|
|
||||||
## New features and fixes
|
|
||||||
|
|
||||||
* [#3957](https://github.com/openlayers/ol3/pull/3957) - Properly handle vertex deletion with multiple features. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3954](https://github.com/openlayers/ol3/pull/3954) - Remove ol.control.Control.bindMouseOutFocusOutBlur function. ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3214](https://github.com/openlayers/ol3/pull/3214) - Pixel manipulation with raster sources. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3946](https://github.com/openlayers/ol3/pull/3946) - Fix vertex deletion for Modify interaction on mobile devices. ([@Turbo87](https://github.com/Turbo87))
|
|
||||||
* [#3910](https://github.com/openlayers/ol3/pull/3910) - Do not provide an AMD environment to ol.ext modules. ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3934](https://github.com/openlayers/ol3/pull/3934) - Fix `drawstart` and `drawend` events when drawing a point ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3774](https://github.com/openlayers/ol3/pull/3774) - Measure tooltips touchdevice ([@pgiraud](https://github.com/pgiraud))
|
|
||||||
* [#3949](https://github.com/openlayers/ol3/pull/3949) - Remove count argument from `called` function ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3950](https://github.com/openlayers/ol3/pull/3950) - Remove reference to vbarray.js ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3947](https://github.com/openlayers/ol3/pull/3947) - Clarify documentation of Image source ratio option. ([@alvinlindstam](https://github.com/alvinlindstam))
|
|
||||||
* [#3920](https://github.com/openlayers/ol3/pull/3920) - Remove use_types_for_optimization from custom build tutorial. ([@probins](https://github.com/probins))
|
|
||||||
* [#3922](https://github.com/openlayers/ol3/pull/3922) - Document {?-?} pattern in expandUrl ([@probins](https://github.com/probins))
|
|
||||||
* [#3921](https://github.com/openlayers/ol3/pull/3921) - Cache node_modules on Travis. ([@bjornharrtell](https://github.com/bjornharrtell))
|
|
||||||
* [#3942](https://github.com/openlayers/ol3/pull/3942) - Fix WMTS TileMatrixSet lookup by SRS identifier ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3945](https://github.com/openlayers/ol3/pull/3945) - Simplify icon example and show popup at clicked position ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3930](https://github.com/openlayers/ol3/pull/3930) - Use goog.functions.identity instead of goog.identityFunction ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3929](https://github.com/openlayers/ol3/pull/3929) - Expand description for XYZ source ([@probins](https://github.com/probins))
|
|
||||||
* [#3933](https://github.com/openlayers/ol3/pull/3933) - Snap center to pixel to avoid floating point issues ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3932](https://github.com/openlayers/ol3/pull/3932) - SnapOptions: Fix typo in pixelTolerance JSDoc ([@Turbo87](https://github.com/Turbo87))
|
|
||||||
* [#3931](https://github.com/openlayers/ol3/pull/3931) - Remove unused htmlparser2 package ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3912](https://github.com/openlayers/ol3/pull/3912) - Fix the event type fired by goog.fx.Dragger ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3871](https://github.com/openlayers/ol3/pull/3871) - Document change events properly ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3906](https://github.com/openlayers/ol3/pull/3906) - Clear features properly when there is no spatial index ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3896](https://github.com/openlayers/ol3/pull/3896) - Fire WebGL precompose event in same sequence as other renderers ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3359](https://github.com/openlayers/ol3/pull/3359) - Enable deep clone of MultiPolygon. ([@Kenny806](https://github.com/Kenny806))
|
|
||||||
* [#3895](https://github.com/openlayers/ol3/pull/3895) - Rework the tile queue for multiple queues. ([@aisaacs](https://github.com/aisaacs))
|
|
||||||
* [#3894](https://github.com/openlayers/ol3/pull/3894) - Install Python dependencies without sudo. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3824](https://github.com/openlayers/ol3/pull/3824) - Improve docs for interaction.Select. ([@probins](https://github.com/probins))
|
|
||||||
* [#3884](https://github.com/openlayers/ol3/pull/3884) - Provide a debug loader for the library. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3883](https://github.com/openlayers/ol3/pull/3883) - Ignore layer filter for unmanaged layers ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3859](https://github.com/openlayers/ol3/pull/3859) - Add in crossOrigin option ([@llambanna](https://github.com/llambanna))
|
|
||||||
* [#3873](https://github.com/openlayers/ol3/pull/3873) - Correct minor typo in modifyinteraction ([@probins](https://github.com/probins))
|
|
||||||
* [#3872](https://github.com/openlayers/ol3/pull/3872) - Correct event notations in ol.Feature ([@probins](https://github.com/probins))
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# v3.8.1
|
|
||||||
|
|
||||||
## Summary
|
|
||||||
|
|
||||||
This is a patch release that updates the URL for builds shown in the examples. Details below.
|
|
||||||
|
|
||||||
* [#3970](https://github.com/openlayers/ol3/pull/3970) - Pull builds from openlayers.org. ([@tschaub](https://github.com/tschaub))
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
# v3.8.2
|
|
||||||
|
|
||||||
## Summary
|
|
||||||
|
|
||||||
This is a patch release that corrects the URL for builds shown in the examples. Details below.
|
|
||||||
|
|
||||||
* [#3979](https://github.com/openlayers/ol3/pull/3979) - Fix URLs for openlayers.org resources. ([@tschaub](https://github.com/tschaub))
|
|
||||||
@@ -1,91 +0,0 @@
|
|||||||
# v3.9.0
|
|
||||||
|
|
||||||
## Summary
|
|
||||||
|
|
||||||
The v3.9.0 release includes features and fixes from 62 pull requests since the v3.8.2 release. New features include:
|
|
||||||
|
|
||||||
* [#3986](https://github.com/openlayers/ol3/pull/3986) - Modify 'url' option of ol.source.Vector to accept a function ([@alvinlindstam](https://github.com/alvinlindstam))
|
|
||||||
* [#4069](https://github.com/openlayers/ol3/pull/4069) - Add Z-index to layers ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#4044](https://github.com/openlayers/ol3/pull/4044) - Add ol.interaction.Draw#continueDrawing ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#4008](https://github.com/openlayers/ol3/pull/4008) - Add a Translate interaction ([@elemoine](https://github.com/elemoine))
|
|
||||||
|
|
||||||
See the complete list below for details. And see the following notes to know how to upgrade from v3.8.x to v3.9.0.
|
|
||||||
|
|
||||||
## Upgrade notes
|
|
||||||
|
|
||||||
#### `ol.style.Circle` changes
|
|
||||||
|
|
||||||
The experimental `getAnchor`, `getOrigin`, and `getSize` methods have been removed. The anchor and origin of a circle symbolizer are not modifiable, so these properties should not need to be accessed. The radius and stroke width can be used to calculate the rendered size of a circle symbolizer if needed:
|
|
||||||
|
|
||||||
```js
|
|
||||||
// calculate rendered size of a circle symbolizer
|
|
||||||
var width = 2 * circle.getRadius();
|
|
||||||
if (circle.getStroke()) {
|
|
||||||
width += circle.getStroke().getWidth() + 1;
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
## New features and fixes
|
|
||||||
|
|
||||||
* [#4055](https://github.com/openlayers/ol3/pull/4055) - Improve graticule perf ([@fgravin](https://github.com/fgravin))
|
|
||||||
* [#4088](https://github.com/openlayers/ol3/pull/4088) - Update jshint to v2.8.0 ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4089](https://github.com/openlayers/ol3/pull/4089) - SelectEventType in ol.interaction namespace ([@pgiraud](https://github.com/pgiraud))
|
|
||||||
* [#4095](https://github.com/openlayers/ol3/pull/4095) - Zoom to the extent of the drag box. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#4084](https://github.com/openlayers/ol3/pull/4084) - Fewer circle exports. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#4094](https://github.com/openlayers/ol3/pull/4094) - Allow source.setAttributions() to be exported. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#4096](https://github.com/openlayers/ol3/pull/4096) - Reinstate inheritdoc to fix #4082 ([@bjornharrtell](https://github.com/bjornharrtell))
|
|
||||||
* [#4091](https://github.com/openlayers/ol3/pull/4091) - Remove unused ol.renderer.webgl.Map.DEFAULT_COLOR_VALUES_ ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4092](https://github.com/openlayers/ol3/pull/4092) - Minor coding style fixes ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4083](https://github.com/openlayers/ol3/pull/4083) - Add API descriptions. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#4078](https://github.com/openlayers/ol3/pull/4078) - Enable all the compiler checks ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4085](https://github.com/openlayers/ol3/pull/4085) - Parse nested document tag ([@oterral](https://github.com/oterral))
|
|
||||||
* [#4060](https://github.com/openlayers/ol3/pull/4060) - Remove unnecessary cast ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4064](https://github.com/openlayers/ol3/pull/4064) - Use a private variable to cache the default style array ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4081](https://github.com/openlayers/ol3/pull/4081) - Update link to workshop. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#4062](https://github.com/openlayers/ol3/pull/4062) - Remove ol.xml.makeParsersNS and use ol.xml.makeStructureNS instead ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3986](https://github.com/openlayers/ol3/pull/3986) - Modify 'url' option of ol.source.Vector to accept a function ([@alvinlindstam](https://github.com/alvinlindstam))
|
|
||||||
* [#4077](https://github.com/openlayers/ol3/pull/4077) - Add missing const jsdoc annotation ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4080](https://github.com/openlayers/ol3/pull/4080) - Remove unused goog.require in examples ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4041](https://github.com/openlayers/ol3/pull/4041) - Fix custom build issue ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#4059](https://github.com/openlayers/ol3/pull/4059) - Clarify drag interaction example to inform about ol.interaction.Translate ([@alvinlindstam](https://github.com/alvinlindstam))
|
|
||||||
* [#4069](https://github.com/openlayers/ol3/pull/4069) - Add Z-index to layers ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#4076](https://github.com/openlayers/ol3/pull/4076) - Add assertion for required option 'code' on ol.proj.Projection ([@weskamm](https://github.com/weskamm))
|
|
||||||
* [#4075](https://github.com/openlayers/ol3/pull/4075) - setOpacity of Image undefined ([@bartvde](https://github.com/bartvde))
|
|
||||||
* [#4044](https://github.com/openlayers/ol3/pull/4044) - Add ol.interaction.Draw#continueDrawing ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#4073](https://github.com/openlayers/ol3/pull/4073) - Better type definition ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4072](https://github.com/openlayers/ol3/pull/4072) - Update to closure-util 1.7.0 ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#4070](https://github.com/openlayers/ol3/pull/4070) - Make the debug server work regardless of the current working directory. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#4067](https://github.com/openlayers/ol3/pull/4067) - Fix bootstrap class name in examples ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4050](https://github.com/openlayers/ol3/pull/4050) - Use view.getRotation and view.getResolution instead of view.getState ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4051](https://github.com/openlayers/ol3/pull/4051) - Move wrench node package to devDependencies ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4047](https://github.com/openlayers/ol3/pull/4047) - Remove pystache dependency ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4027](https://github.com/openlayers/ol3/pull/4027) - closure-compiler v20150729 compatibility ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4040](https://github.com/openlayers/ol3/pull/4040) - Better docs for ol.ENABLE_[WEBGL|CANVAS|DOM] ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#4032](https://github.com/openlayers/ol3/pull/4032) - Improve ol.Overlay extensibility ([@gberaudo](https://github.com/gberaudo))
|
|
||||||
* [#4037](https://github.com/openlayers/ol3/pull/4037) - Don't install python packages in before_install ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4028](https://github.com/openlayers/ol3/pull/4028) - Update to closure-util 1.6 ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#4014](https://github.com/openlayers/ol3/pull/4014) - Remove deprecated checkStructDictInheritance ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3987](https://github.com/openlayers/ol3/pull/3987) - Remove unnecessary cast ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4035](https://github.com/openlayers/ol3/pull/4035) - Remove unused sphere and ellipsoid methods. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#4031](https://github.com/openlayers/ol3/pull/4031) - Fixing size of popup ([@pgiraud](https://github.com/pgiraud))
|
|
||||||
* [#4023](https://github.com/openlayers/ol3/pull/4023) - Render map when layer.setMap(map) called ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#4026](https://github.com/openlayers/ol3/pull/4026) - Fix Font Awesome CSS class in examples ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4024](https://github.com/openlayers/ol3/pull/4024) - Correct documentation for ol.FeatureStyleFunction ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#4011](https://github.com/openlayers/ol3/pull/4011) - Make Modify interaction listen to feature changes ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3917](https://github.com/openlayers/ol3/pull/3917) - Resolved issue with cluster source reloading ([@cmiles74](https://github.com/cmiles74))
|
|
||||||
* [#4015](https://github.com/openlayers/ol3/pull/4015) - Add a getUrls Method to ol.source.XYZ ([@weskamm](https://github.com/weskamm))
|
|
||||||
* [#4019](https://github.com/openlayers/ol3/pull/4019) - Simplify .editorconfig file ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#4002](https://github.com/openlayers/ol3/pull/4002) - Update closure-library to latest commit ([@fredj](https://github.com/fredj))
|
|
||||||
* [#4018](https://github.com/openlayers/ol3/pull/4018) - Fix rotate buttons in animation example ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#4013](https://github.com/openlayers/ol3/pull/4013) - Use a more recent version of marked ([@marcjansen](https://github.com/marcjansen))
|
|
||||||
* [#4017](https://github.com/openlayers/ol3/pull/4017) - Do not overwrite projections in the registry simply by using `new ol.proj.Projection()` ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#4008](https://github.com/openlayers/ol3/pull/4008) - Add a Translate interaction ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3230](https://github.com/openlayers/ol3/pull/3230) - Add stroke to default editing style for geometry collections ([@pgiraud](https://github.com/pgiraud))
|
|
||||||
* [#4007](https://github.com/openlayers/ol3/pull/4007) - Do not use Function.prototype.bind in examples ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#4006](https://github.com/openlayers/ol3/pull/4006) - Fix typo (vegetaion -> vegetation) ([@elemoine](https://github.com/elemoine))
|
|
||||||
* [#3993](https://github.com/openlayers/ol3/pull/3993) - Replace base symbols with overridden ones when generating info.json ([@ahocevar](https://github.com/ahocevar))
|
|
||||||
* [#3992](https://github.com/openlayers/ol3/pull/3992) - Fix typo in Makefile ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3989](https://github.com/openlayers/ol3/pull/3989) - Handle JSONP errors in ol.source.TileJSON ([@fredj](https://github.com/fredj))
|
|
||||||
* [#3983](https://github.com/openlayers/ol3/pull/3983) - Remove doc footer with timestamp. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3984](https://github.com/openlayers/ol3/pull/3984) - Style source control links in examples. ([@tschaub](https://github.com/tschaub))
|
|
||||||
* [#3982](https://github.com/openlayers/ol3/pull/3982) - Rebuild examples if package.json changes. ([@tschaub](https://github.com/tschaub))
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"library_url": "https://github.com/google/closure-library/archive/5b25e65.zip"
|
|
||||||
}
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
{
|
|
||||||
"exports": [],
|
|
||||||
"src": [
|
|
||||||
"src/**/*.js",
|
|
||||||
"build/ol.ext/*.js",
|
|
||||||
"build/examples/{{id}}.js"
|
|
||||||
],
|
|
||||||
"compile": {
|
|
||||||
"js": [
|
|
||||||
"externs/olx.js",
|
|
||||||
"externs/oli.js"
|
|
||||||
],
|
|
||||||
"externs": [
|
|
||||||
"externs/bingmaps.js",
|
|
||||||
"externs/bootstrap.js",
|
|
||||||
"externs/closure-compiler.js",
|
|
||||||
"externs/esrijson.js",
|
|
||||||
"externs/example.js",
|
|
||||||
"externs/fastclick.js",
|
|
||||||
"externs/geojson.js",
|
|
||||||
"externs/jquery-1.9.js",
|
|
||||||
"externs/proj4js.js",
|
|
||||||
"externs/tilejson.js",
|
|
||||||
"externs/topojson.js"
|
|
||||||
],
|
|
||||||
"define": [
|
|
||||||
"goog.array.ASSUME_NATIVE_FUNCTIONS=true",
|
|
||||||
"goog.dom.ASSUME_STANDARDS_MODE=true",
|
|
||||||
"goog.json.USE_NATIVE_JSON=true",
|
|
||||||
"goog.DEBUG=false"
|
|
||||||
],
|
|
||||||
"jscomp_error": [
|
|
||||||
"*"
|
|
||||||
],
|
|
||||||
"jscomp_off": [
|
|
||||||
"useOfGoogBase",
|
|
||||||
"unnecessaryCasts",
|
|
||||||
"lintChecks",
|
|
||||||
"missingProvide",
|
|
||||||
"unknownDefines"
|
|
||||||
],
|
|
||||||
"extra_annotation_name": [
|
|
||||||
"api", "observable"
|
|
||||||
],
|
|
||||||
"compilation_level": "ADVANCED",
|
|
||||||
"warning_level": "VERBOSE",
|
|
||||||
"output_wrapper": "(function(){%output%})();",
|
|
||||||
"use_types_for_optimization": true,
|
|
||||||
"manage_closure_dependencies": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
{
|
|
||||||
"exports": [],
|
|
||||||
"src": [
|
|
||||||
"src/**/*.js",
|
|
||||||
"build/ol.ext/*.js",
|
|
||||||
"build/compiled-examples/all.js"
|
|
||||||
],
|
|
||||||
"compile": {
|
|
||||||
"js": [
|
|
||||||
"externs/olx.js",
|
|
||||||
"externs/oli.js"
|
|
||||||
],
|
|
||||||
"externs": [
|
|
||||||
"externs/bingmaps.js",
|
|
||||||
"externs/bootstrap.js",
|
|
||||||
"externs/closure-compiler.js",
|
|
||||||
"externs/esrijson.js",
|
|
||||||
"externs/example.js",
|
|
||||||
"externs/fastclick.js",
|
|
||||||
"externs/geojson.js",
|
|
||||||
"externs/jquery-1.9.js",
|
|
||||||
"externs/proj4js.js",
|
|
||||||
"externs/tilejson.js",
|
|
||||||
"externs/topojson.js"
|
|
||||||
],
|
|
||||||
"define": [
|
|
||||||
"goog.array.ASSUME_NATIVE_FUNCTIONS=true",
|
|
||||||
"goog.dom.ASSUME_STANDARDS_MODE=true",
|
|
||||||
"goog.json.USE_NATIVE_JSON=true",
|
|
||||||
"goog.DEBUG=false"
|
|
||||||
],
|
|
||||||
"jscomp_error": [
|
|
||||||
"*"
|
|
||||||
],
|
|
||||||
"jscomp_off": [
|
|
||||||
"useOfGoogBase",
|
|
||||||
"unnecessaryCasts",
|
|
||||||
"lintChecks"
|
|
||||||
],
|
|
||||||
"extra_annotation_name": [
|
|
||||||
"api", "observable"
|
|
||||||
],
|
|
||||||
"compilation_level": "ADVANCED",
|
|
||||||
"warning_level": "VERBOSE",
|
|
||||||
"output_wrapper": "(function(){%output%})();",
|
|
||||||
"use_types_for_optimization": true,
|
|
||||||
"manage_closure_dependencies": true
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{{{ contents }}}
|
|
||||||
@@ -1,87 +0,0 @@
|
|||||||
<!doctype html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
|
||||||
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
|
|
||||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css" type="text/css">
|
|
||||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" type="text/css">
|
|
||||||
<link rel="stylesheet" href="./resources/prism/prism.css" type="text/css">
|
|
||||||
<link rel="stylesheet" href="../css/ol.css" type="text/css">
|
|
||||||
<link rel="stylesheet" href="./resources/layout.css" type="text/css">
|
|
||||||
{{{ extraHead.local }}}
|
|
||||||
{{{ css.tag }}}
|
|
||||||
<script src="./resources/zeroclipboard/ZeroClipboard.min.js"></script>
|
|
||||||
<title>{{ title }}</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<header class="navbar" role="navigation">
|
|
||||||
<div class="container" id="navbar-inner-container">
|
|
||||||
<a class="navbar-brand" href="./"><img src="./resources/logo-70x70.png"> OpenLayers 3 Examples</a>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<div class="container-fluid">
|
|
||||||
|
|
||||||
{{{ contents }}}
|
|
||||||
|
|
||||||
<div class="row-fluid">
|
|
||||||
<div class="span12">
|
|
||||||
<h4 id="title">{{ title }}</h4>
|
|
||||||
<p id="shortdesc">{{ shortdesc }}</p>
|
|
||||||
<div id="docs">{{ md docs }}</div>
|
|
||||||
<div id="tags">{{ tags }}</div>
|
|
||||||
<div id="api-links">Related API documentation: {{{ js.apiHtml }}}</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="row-fluid">
|
|
||||||
<div id="source-controls">
|
|
||||||
<a id="copy-button"><i class="fa fa-clipboard"></i> Copy</a>
|
|
||||||
<a id="jsfiddle-button"><i class="fa fa-jsfiddle"></i> Edit</a>
|
|
||||||
</div>
|
|
||||||
<form method="POST" id="jsfiddle-form" target="_blank" action="http://jsfiddle.net/api/post/jquery/1.11.0/">
|
|
||||||
<textarea class="hidden" name="js">{{ js.source }}</textarea>
|
|
||||||
<textarea class="hidden" name="css">{{ css.source }}</textarea>
|
|
||||||
<textarea class="hidden" name="html">{{ contents }}</textarea>
|
|
||||||
<input type="hidden" name="wrap" value="l">
|
|
||||||
<input type="hidden" name="resources" value="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css,https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js,http://openlayers.org/en/v{{ olVersion }}/css/ol.css,http://openlayers.org/en/v{{ olVersion }}/build/ol.js{{ extraResources }}">
|
|
||||||
</form>
|
|
||||||
<pre><code id="example-source" class="language-markup"><!DOCTYPE html>
|
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>{{ title }}</title>
|
|
||||||
<script src="https://code.jquery.com/jquery-1.11.2.min.js"></script>
|
|
||||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
|
|
||||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
|
|
||||||
<link rel="stylesheet" href="http://openlayers.org/en/v{{ olVersion }}/css/ol.css" type="text/css">
|
|
||||||
<script src="http://openlayers.org/en/v{{ olVersion }}/build/ol.js"></script>
|
|
||||||
{{ extraHead.remote }}
|
|
||||||
{{#if css.source}}
|
|
||||||
<style>
|
|
||||||
{{ css.source }}
|
|
||||||
</style>
|
|
||||||
{{/if}}
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="container-fluid">
|
|
||||||
|
|
||||||
{{ contents }}
|
|
||||||
</div>
|
|
||||||
<script>
|
|
||||||
{{ js.source }}
|
|
||||||
</script>
|
|
||||||
</body>
|
|
||||||
</html></code></pre>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script src="https://code.jquery.com/jquery-1.11.2.min.js"></script>
|
|
||||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
|
|
||||||
<script src="./resources/common.js"></script>
|
|
||||||
<script src="./resources/prism/prism.min.js"></script>
|
|
||||||
{{{ js.tag }}}
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
This folder contains example templates. These templates are used to build the examples in the `examples/` folder. The resulting examples are written to the `build/examples` folder.
|
|
||||||
|
|
||||||
Although the main purpose of these examples is to demonstrate how to use the API, they also serve other purposes in the development cycle, and so are not exactly as they would be in normal application code:
|
|
||||||
|
|
||||||
* every time the library changes, they are compiled together with the library as a basic check that they remain in sync with the library
|
|
||||||
|
|
||||||
* they use a special loader script to enable defining at run time which build mode (raw/debug/advanced) to use
|
|
||||||
|
|
||||||
To enable this, examples have the following, not needed in application code:
|
|
||||||
|
|
||||||
* each html file loads `loader.js`; application code would not need this, but would instead load the appropriate library build file, either a hosted version or a custom build
|
|
||||||
|
|
||||||
* each js file starts with `goog.require` functions, used by the compiler; application code would only have these if the code is to be compiled together with the library and/or Closure library
|
|
||||||
|
|
||||||
* some js files use type definitions (comments with @type tags); these are also used by the compiler, and are only needed if the code is to be compiled together with the library
|
|
||||||
|
|
||||||
* html files load `resources/common.js` and some scripts use `common.getRendererFromQueryString()` to set the map renderer; application code would not need these
|
|
||||||
|
|
||||||
* in addition, examples use Twitter Bootstrap and jQuery; this is of course not a requirement - you may use whichever presentation/helper libraries you wish
|
|
||||||
|
|
||||||
At the bottom of each example generated in the `build/examples` folder, a modified version of its source code is shown. That modified version can be run standalone and is usually used as starting point for users to extend examples into their own application.
|
|
||||||
@@ -1,41 +0,0 @@
|
|||||||
{
|
|
||||||
"opts": {
|
|
||||||
"recurse": true,
|
|
||||||
"template": "config/jsdoc/api/template"
|
|
||||||
},
|
|
||||||
"tags": {
|
|
||||||
"allowUnknownTags": true
|
|
||||||
},
|
|
||||||
"source": {
|
|
||||||
"includePattern": ".+\\.js(doc)?$",
|
|
||||||
"excludePattern": "(^|\\/|\\\\)_",
|
|
||||||
"include": [
|
|
||||||
"src",
|
|
||||||
"externs/oli.js",
|
|
||||||
"externs/olx.js"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"plugins": [
|
|
||||||
"node_modules/jsdoc-fork/plugins/markdown",
|
|
||||||
"config/jsdoc/api/plugins/inheritdoc",
|
|
||||||
"config/jsdoc/api/plugins/typedefs",
|
|
||||||
"config/jsdoc/api/plugins/events",
|
|
||||||
"config/jsdoc/api/plugins/observable",
|
|
||||||
"config/jsdoc/api/plugins/api"
|
|
||||||
],
|
|
||||||
"markdown": {
|
|
||||||
"parser": "gfm"
|
|
||||||
},
|
|
||||||
"stability": {
|
|
||||||
"levels": ["deprecated","experimental","unstable","stable","frozen","locked"]
|
|
||||||
},
|
|
||||||
"templates": {
|
|
||||||
"cleverLinks": true,
|
|
||||||
"monospaceLinks": true,
|
|
||||||
"default": {
|
|
||||||
"outputSourceFiles": false
|
|
||||||
},
|
|
||||||
"applicationName": "OpenLayers 3"
|
|
||||||
},
|
|
||||||
"jsVersion": 180
|
|
||||||
}
|
|
||||||
@@ -1,39 +0,0 @@
|
|||||||
<table><tr>
|
|
||||||
<th width="33.3%">Map</th><th width="33.3%">View</th><th width="33.3%">Layers</th>
|
|
||||||
</tr><tr>
|
|
||||||
<td><p>A [map](ol.Map.html) is made of [layers](ol.layer.html), a [view](ol.View.html) to visualize them, [interactions](ol.interaction.html) to modify map content and [controls](ol.control.html) with UI components.</p>
|
|
||||||
[Overview](ol.Map.html)<br>
|
|
||||||
[Creation](ol.Map.html#Map)<br>
|
|
||||||
[Events](ol.MapBrowserEvent.html)</td>
|
|
||||||
<td><p>The view manages the visual parameters of the map view, like resolution or rotation.</p>
|
|
||||||
[ol.View](ol.View.html) with center, projection, resolution and rotation</td>
|
|
||||||
<td><p>Layers are lightweight containers that get their data from [sources](ol.source.html).</p>
|
|
||||||
[ol.layer.Tile](ol.layer.Tile.html)<br>
|
|
||||||
[ol.layer.Image](ol.layer.Image.html)<br>
|
|
||||||
[ol.layer.Vector](ol.layer.Vector.html)</td>
|
|
||||||
</tr><tr>
|
|
||||||
<th>Controls</th><th>Interactions</th><th>Sources and formats</th>
|
|
||||||
</tr><tr>
|
|
||||||
<td>[Map default controls](ol.control.html#defaults)<br>
|
|
||||||
[All controls](ol.control.html)
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
[Map default interactions](ol.interaction.html#defaults)<br>
|
|
||||||
Interactions for [vector features](ol.Feature.html)
|
|
||||||
<ul><li>[ol.interaction.Select](ol.interaction.Select.html)</li>
|
|
||||||
<li>[ol.interaction.Draw](ol.interaction.Draw.html)</li>
|
|
||||||
<li>[ol.interaction.Modify](ol.interaction.Modify.html)</li></ul>
|
|
||||||
[All interactions](ol.interaction.html)</td>
|
|
||||||
<td>[Tile sources](ol.source.Tile.html) for [ol.layer.Tile](ol.layer.Tile.html)
|
|
||||||
<br>[Image sources](ol.source.Image.html) for [ol.layer.Image](ol.layer.Image.html)
|
|
||||||
<br>[Vector sources](ol.source.Vector.html) for [ol.layer.Vector](ol.layer.Vector.html)
|
|
||||||
<br>[Formats](ol.format.Feature.html) for reading/writing vector data
|
|
||||||
<br>[ol.format.WMSCapabilities](ol.format.WMSCapabilities.html)</td></tr>
|
|
||||||
<tr><th>Projections</th><th>Observable objects</th><th>Other components</th></tr>
|
|
||||||
<tr><td><p>All coordinates and extents need to be provided in view projection (default: EPSG:3857). To transform, use [ol.proj.transform()](ol.proj.html#transform) and [ol.proj.transformExtent()](ol.proj.html#transformExtent).</p>
|
|
||||||
[ol.proj](ol.proj.html)</td>
|
|
||||||
<td><p>Changes to all [ol.Objects](ol.Object.html) can observed by calling the [object.on('propertychange')](ol.Object.html#on) method. Listeners receive an [ol.ObjectEvent](ol.ObjectEvent.html) with information on the changed property and old value.</p>
|
|
||||||
<td>[ol.DeviceOrientation](ol.DeviceOrientation.html)<br>
|
|
||||||
[ol.Geolocation](ol.Geolocation.html)<br>
|
|
||||||
[ol.Overlay](ol.Overlay.html)<br></td>
|
|
||||||
</tr></table>
|
|
||||||
@@ -1,130 +0,0 @@
|
|||||||
/**
|
|
||||||
* Define an @api tag
|
|
||||||
*/
|
|
||||||
var conf = env.conf.stability;
|
|
||||||
var defaultLevels = ["deprecated","experimental","unstable","stable","frozen","locked"];
|
|
||||||
var levels = conf.levels || defaultLevels;
|
|
||||||
var util = require('util');
|
|
||||||
exports.defineTags = function(dictionary) {
|
|
||||||
dictionary.defineTag('api', {
|
|
||||||
mustHaveValue: false,
|
|
||||||
canHaveType: false,
|
|
||||||
canHaveName: false,
|
|
||||||
onTagged: function(doclet, tag) {
|
|
||||||
var level = tag.text || "experimental";
|
|
||||||
if (levels.indexOf(level) >= 0) {
|
|
||||||
doclet.stability = level;
|
|
||||||
} else {
|
|
||||||
var errorText = util.format('Invalid stability level (%s) in %s line %s', tag.text, doclet.meta.filename, doclet.meta.lineno);
|
|
||||||
require('jsdoc-fork/lib/jsdoc/util/error').handle( new Error(errorText) );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Based on @stability annotations, and assuming that items with no @stability
|
|
||||||
* annotation should not be documented, this plugin removes undocumented symbols
|
|
||||||
* from the documentation.
|
|
||||||
*/
|
|
||||||
|
|
||||||
function hasApiMembers(doclet) {
|
|
||||||
return doclet.longname.split('#')[0] == this.longname;
|
|
||||||
}
|
|
||||||
|
|
||||||
function includeAugments(doclet) {
|
|
||||||
var augments = doclet.augments;
|
|
||||||
if (augments) {
|
|
||||||
var cls;
|
|
||||||
for (var i = augments.length - 1; i >= 0; --i) {
|
|
||||||
cls = classes[augments[i]];
|
|
||||||
if (cls) {
|
|
||||||
includeAugments(cls);
|
|
||||||
if (cls.fires) {
|
|
||||||
if (!doclet.fires) {
|
|
||||||
doclet.fires = [];
|
|
||||||
}
|
|
||||||
cls.fires.forEach(function(f) {
|
|
||||||
if (doclet.fires.indexOf(f) == -1) {
|
|
||||||
doclet.fires.push(f);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
if (cls.observables) {
|
|
||||||
if (!doclet.observables) {
|
|
||||||
doclet.observables = [];
|
|
||||||
}
|
|
||||||
cls.observables.forEach(function(f) {
|
|
||||||
if (doclet.observables.indexOf(f) == -1) {
|
|
||||||
doclet.observables.push(f);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
if (cls.longname.indexOf('oli.') !== 0) {
|
|
||||||
cls._hideConstructor = true;
|
|
||||||
delete cls.undocumented;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
var api = [];
|
|
||||||
var classes = {};
|
|
||||||
|
|
||||||
exports.handlers = {
|
|
||||||
|
|
||||||
newDoclet: function(e) {
|
|
||||||
var doclet = e.doclet;
|
|
||||||
// Keep track of api items - needed in parseComplete to determine classes
|
|
||||||
// with api members.
|
|
||||||
if (doclet.stability) {
|
|
||||||
api.push(doclet);
|
|
||||||
}
|
|
||||||
// Mark explicity defined namespaces - needed in parseComplete to keep
|
|
||||||
// namespaces that we need as containers for api items.
|
|
||||||
if (/.*\.jsdoc$/.test(doclet.meta.filename) && doclet.kind == 'namespace') {
|
|
||||||
doclet.namespace_ = true;
|
|
||||||
}
|
|
||||||
if (doclet.kind == 'class') {
|
|
||||||
classes[doclet.longname] = doclet;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
parseComplete: function(e) {
|
|
||||||
var doclets = e.doclets;
|
|
||||||
for (var i = doclets.length - 1; i >= 0; --i) {
|
|
||||||
var doclet = doclets[i];
|
|
||||||
if (doclet.stability || doclet.namespace_) {
|
|
||||||
if (doclet.kind == 'class') {
|
|
||||||
includeAugments(doclet);
|
|
||||||
}
|
|
||||||
if (doclet.fires) {
|
|
||||||
doclet.fires.sort(function(a, b) {
|
|
||||||
return a.split(/#?event:/)[1] < b.split(/#?event:/)[1] ? -1 : 1;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
if (doclet.observables) {
|
|
||||||
doclet.observables.sort(function(a, b) {
|
|
||||||
return a.name < b.name ? -1 : 1;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
// Always document namespaces and items with stability annotation
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if (doclet.kind == 'class' && api.some(hasApiMembers, doclet)) {
|
|
||||||
// Mark undocumented classes with documented members as unexported.
|
|
||||||
// This is used in ../template/tmpl/container.tmpl to hide the
|
|
||||||
// constructor from the docs.
|
|
||||||
doclet._hideConstructor = true;
|
|
||||||
includeAugments(doclet);
|
|
||||||
} else if (!doclet._hideConstructor) {
|
|
||||||
// Remove all other undocumented symbols
|
|
||||||
doclet.undocumented = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
};
|
|
||||||
@@ -1,43 +0,0 @@
|
|||||||
var events = {};
|
|
||||||
var classes = {};
|
|
||||||
|
|
||||||
exports.handlers = {
|
|
||||||
|
|
||||||
newDoclet: function(e) {
|
|
||||||
var doclet = e.doclet;
|
|
||||||
var cls;
|
|
||||||
if (doclet.kind == 'event') {
|
|
||||||
cls = doclet.longname.split('#')[0];
|
|
||||||
if (!(cls in events)) {
|
|
||||||
events[cls] = [];
|
|
||||||
}
|
|
||||||
events[cls].push(doclet.longname);
|
|
||||||
} else if (doclet.kind == 'class') {
|
|
||||||
classes[doclet.longname] = doclet;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
parseComplete: function(e) {
|
|
||||||
var doclets = e.doclets;
|
|
||||||
var doclet, i, ii, j, jj, event, fires;
|
|
||||||
for (i = 0, ii = doclets.length - 1; i < ii; ++i) {
|
|
||||||
doclet = doclets[i];
|
|
||||||
if (doclet.fires) {
|
|
||||||
if (doclet.kind == 'class') {
|
|
||||||
fires = [];
|
|
||||||
for (j = 0, jj = doclet.fires.length; j < jj; ++j) {
|
|
||||||
event = doclet.fires[j].replace('event:', '');
|
|
||||||
if (events[event]) {
|
|
||||||
fires.push.apply(fires, events[event]);
|
|
||||||
} else {
|
|
||||||
fires.push(doclet.fires[j]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
doclet.fires = fires;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
@@ -1,109 +0,0 @@
|
|||||||
/*
|
|
||||||
* This is a hack to prevent inheritDoc tags from entirely removing
|
|
||||||
* documentation of the method that inherits the documentation.
|
|
||||||
*
|
|
||||||
* TODO: Remove this hack when https://github.com/jsdoc3/jsdoc/issues/53
|
|
||||||
* is addressed.
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
exports.defineTags = function(dictionary) {
|
|
||||||
dictionary.defineTag('inheritDoc', {
|
|
||||||
mustHaveValue: false,
|
|
||||||
canHaveType: false,
|
|
||||||
canHaveName: false,
|
|
||||||
onTagged: function(doclet, tag) {
|
|
||||||
doclet.inheritdoc = true;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
var lookup = {};
|
|
||||||
var incompleteByClass = {};
|
|
||||||
var keepKeys = ['comment', 'meta', 'name', 'memberof', 'longname', 'augment',
|
|
||||||
'stability'];
|
|
||||||
|
|
||||||
exports.handlers = {
|
|
||||||
|
|
||||||
newDoclet: function(e) {
|
|
||||||
var doclet = e.doclet;
|
|
||||||
var incompletes;
|
|
||||||
if (!(doclet.longname in lookup)) {
|
|
||||||
lookup[doclet.longname] = [];
|
|
||||||
}
|
|
||||||
lookup[doclet.longname].push(doclet);
|
|
||||||
if (doclet.inheritdoc) {
|
|
||||||
if (!(doclet.memberof in incompleteByClass)) {
|
|
||||||
incompleteByClass[doclet.memberof] = [];
|
|
||||||
}
|
|
||||||
incompletes = incompleteByClass[doclet.memberof];
|
|
||||||
if (incompletes.indexOf(doclet.name) == -1) {
|
|
||||||
incompletes.push(doclet.name);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
parseComplete: function(e) {
|
|
||||||
var ancestors, candidate, candidates, doclet, i, j, k, l, key;
|
|
||||||
var incompleteDoclet, stability, incomplete, incompletes;
|
|
||||||
var doclets = e.doclets;
|
|
||||||
for (i = doclets.length - 1; i >= 0; --i) {
|
|
||||||
doclet = doclets[i];
|
|
||||||
if (doclet.augments) {
|
|
||||||
ancestors = [].concat(doclet.augments);
|
|
||||||
}
|
|
||||||
incompletes = incompleteByClass[doclet.longname];
|
|
||||||
if (ancestors && incompletes) {
|
|
||||||
// collect ancestors from the whole hierarchy
|
|
||||||
for (j = 0; j < ancestors.length; ++j) {
|
|
||||||
candidates = lookup[ancestors[j]];
|
|
||||||
if (candidates) {
|
|
||||||
for (k = candidates.length - 1; k >= 0; --k) {
|
|
||||||
candidate = candidates[k];
|
|
||||||
if (candidate.augments) {
|
|
||||||
ancestors = ancestors.concat(candidate.augments);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// walk through all inheritDoc members
|
|
||||||
for (j = incompletes.length - 1; j >= 0; --j) {
|
|
||||||
incomplete = incompletes[j];
|
|
||||||
candidates = lookup[doclet.longname + '#' + incomplete];
|
|
||||||
if (candidates) {
|
|
||||||
// get the incomplete doclet that needs to be augmented
|
|
||||||
for (k = candidates.length - 1; k >= 0; --k) {
|
|
||||||
incompleteDoclet = candidates[k];
|
|
||||||
if (incompleteDoclet.inheritdoc) {
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// find the documented ancestor
|
|
||||||
for (k = ancestors.length - 1; k >= 0; --k) {
|
|
||||||
candidates = lookup[ancestors[k] + '#' + incomplete];
|
|
||||||
if (candidates) {
|
|
||||||
for (l = candidates.length - 1; l >= 0; --l) {
|
|
||||||
candidate = candidates[l];
|
|
||||||
if (candidate && !candidate.inheritdoc) {
|
|
||||||
stability = candidate.stability || incompleteDoclet.stability;
|
|
||||||
if (stability) {
|
|
||||||
incompleteDoclet.stability = stability;
|
|
||||||
for (key in candidate) {
|
|
||||||
if (candidate.hasOwnProperty(key) &&
|
|
||||||
keepKeys.indexOf(key) == -1) {
|
|
||||||
incompleteDoclet[key] = candidate[key];
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
};
|
|
||||||
@@ -1,69 +0,0 @@
|
|||||||
var classes = {};
|
|
||||||
var observables = {};
|
|
||||||
|
|
||||||
exports.handlers = {
|
|
||||||
|
|
||||||
newDoclet: function(e) {
|
|
||||||
var doclet = e.doclet;
|
|
||||||
if (doclet.kind == 'class') {
|
|
||||||
classes[doclet.longname] = doclet;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
parseComplete: function(e) {
|
|
||||||
var doclets = e.doclets;
|
|
||||||
var cls, doclet, event, i, ii, observable;
|
|
||||||
for (i = 0, ii = doclets.length - 1; i < ii; ++i) {
|
|
||||||
doclet = doclets[i];
|
|
||||||
cls = classes[doclet.longname.split('#')[0]];
|
|
||||||
if (typeof doclet.observable == 'string' && cls) {
|
|
||||||
var name = doclet.name.replace(/^[sg]et/, '');
|
|
||||||
name = name.substr(0, 1).toLowerCase() + name.substr(1);
|
|
||||||
var key = doclet.longname.split('#')[0] + '#' + name;
|
|
||||||
doclet.observable = key;
|
|
||||||
if (!observables[key]) {
|
|
||||||
observables[key] = {};
|
|
||||||
}
|
|
||||||
observable = observables[key];
|
|
||||||
observable.name = name;
|
|
||||||
observable.readonly = typeof observable.readonly == 'boolean' ?
|
|
||||||
observable.readonly : true;
|
|
||||||
if (doclet.name.indexOf('get') === 0) {
|
|
||||||
observable.type = doclet.returns[0].type;
|
|
||||||
observable.description = doclet.returns[0].description;
|
|
||||||
} else if (doclet.name.indexOf('set') === 0) {
|
|
||||||
observable.readonly = false;
|
|
||||||
}
|
|
||||||
if (doclet.stability) {
|
|
||||||
observable.stability = doclet.stability;
|
|
||||||
}
|
|
||||||
if (!cls.observables) {
|
|
||||||
cls.observables = [];
|
|
||||||
}
|
|
||||||
observable = observables[doclet.observable];
|
|
||||||
if (cls.observables.indexOf(observable) == -1) {
|
|
||||||
cls.observables.push(observable);
|
|
||||||
}
|
|
||||||
if (!cls.fires) {
|
|
||||||
cls.fires = [];
|
|
||||||
}
|
|
||||||
event = 'ol.ObjectEvent#event:change:' + name;
|
|
||||||
if (cls.fires.indexOf(event) == -1) {
|
|
||||||
cls.fires.push(event);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
exports.defineTags = function(dictionary) {
|
|
||||||
dictionary.defineTag('observable', {
|
|
||||||
mustNotHaveValue: true,
|
|
||||||
canHaveType: false,
|
|
||||||
canHaveName: false,
|
|
||||||
onTagged: function(doclet, tag) {
|
|
||||||
doclet.observable = '';
|
|
||||||
}
|
|
||||||
});
|
|
||||||
};
|
|
||||||
@@ -1,127 +0,0 @@
|
|||||||
/*
|
|
||||||
* Converts olx.js @type annotations into properties of the previous @typedef.
|
|
||||||
* Changes @enum annotations into @typedef.
|
|
||||||
*/
|
|
||||||
|
|
||||||
var lastOlxTypedef = null;
|
|
||||||
var olxTypes = {};
|
|
||||||
// names of the olx typenames
|
|
||||||
var olxTypeNames = [];
|
|
||||||
// types that are undefined or typedefs containing undefined
|
|
||||||
var undefinedLikes = null;
|
|
||||||
|
|
||||||
function addSubparams(params) {
|
|
||||||
for (var j = 0, jj = params.length; j < jj; ++j) {
|
|
||||||
var param = params[j];
|
|
||||||
var types = param.type.names;
|
|
||||||
for (var k = 0, kk = types.length; k < kk; ++k) {
|
|
||||||
var name = types[k];
|
|
||||||
if (name in olxTypes) {
|
|
||||||
param.subparams = olxTypes[name];
|
|
||||||
// TODO addSubparams(param.subparams);
|
|
||||||
// TODO Do we need to support multiple object literal types per
|
|
||||||
// param?
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Changes the description of the param, if it is found to be a required
|
|
||||||
* option of an olxTypeName.
|
|
||||||
*/
|
|
||||||
function markRequiredIfNeeded(doclet){
|
|
||||||
var memberof = doclet.memberof;
|
|
||||||
// only check doclets that belong to an olxTypeName
|
|
||||||
if (!memberof || olxTypeNames.indexOf(memberof) == -1) {
|
|
||||||
return doclet;
|
|
||||||
}
|
|
||||||
|
|
||||||
var types = doclet.type.names;
|
|
||||||
var isRequiredParam = true;
|
|
||||||
|
|
||||||
// iterate over all types that are like-undefined (see above for explanation)
|
|
||||||
for (var idx = undefinedLikes.length - 1; idx >= 0; idx--) {
|
|
||||||
var undefinedLike = undefinedLikes[idx];
|
|
||||||
// … if the current types contains a type that is undefined-like,
|
|
||||||
// it is not required.
|
|
||||||
if (types.indexOf(undefinedLike) != -1) {
|
|
||||||
isRequiredParam = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (isRequiredParam) {
|
|
||||||
var reqSnippet = '<span class="required-option">Required.</span></p>';
|
|
||||||
var endsWithP = /<\/p>$/i;
|
|
||||||
var description = doclet.description;
|
|
||||||
if (description && endsWithP.test(description)) {
|
|
||||||
description = description.replace(endsWithP, ' ' + reqSnippet);
|
|
||||||
} else if (doclet.description === undefined) {
|
|
||||||
description = '<p>' + reqSnippet;
|
|
||||||
}
|
|
||||||
doclet.description = description;
|
|
||||||
}
|
|
||||||
return doclet;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Iterates over all doclets and finds the names of types that contain
|
|
||||||
* undefined. Stores the names in the global variable undefinedLikes, so
|
|
||||||
* that e.g. markRequiredIfNeeded can use these.
|
|
||||||
*/
|
|
||||||
function findTypesLikeUndefined(doclets) {
|
|
||||||
undefinedLikes = ['undefined']; // include type 'undefined' explicitly
|
|
||||||
for (var i = doclets.length - 1; i >= 0; --i) {
|
|
||||||
var doclet = doclets[i];
|
|
||||||
if(doclet.kind === 'typedef') {
|
|
||||||
var types = doclet.type.names;
|
|
||||||
if (types.indexOf('undefined') !== -1) {
|
|
||||||
// the typedef contains 'undefined', so it self is undefinedLike.
|
|
||||||
undefinedLikes.push(doclet.longname);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
exports.handlers = {
|
|
||||||
|
|
||||||
newDoclet: function(e) {
|
|
||||||
var doclet = e.doclet;
|
|
||||||
if (doclet.meta.filename == 'olx.js') {
|
|
||||||
// do nothing if not marked @api
|
|
||||||
if (!doclet.stability) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (doclet.kind == 'typedef') {
|
|
||||||
lastOlxTypedef = doclet;
|
|
||||||
olxTypeNames.push(doclet.longname);
|
|
||||||
olxTypes[doclet.longname] = [];
|
|
||||||
doclet.properties = [];
|
|
||||||
} else if (lastOlxTypedef && doclet.memberof == lastOlxTypedef.longname) {
|
|
||||||
lastOlxTypedef.properties.push(doclet);
|
|
||||||
olxTypes[lastOlxTypedef.longname].push(doclet);
|
|
||||||
} else {
|
|
||||||
lastOlxTypedef = null;
|
|
||||||
}
|
|
||||||
} else if (doclet.isEnum) {
|
|
||||||
// We never export enums, so we document them like typedefs
|
|
||||||
doclet.kind = 'typedef';
|
|
||||||
delete doclet.isEnum;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
parseComplete: function(e) {
|
|
||||||
var doclets = e.doclets;
|
|
||||||
findTypesLikeUndefined(doclets);
|
|
||||||
for (var i = doclets.length - 1; i >= 0; --i) {
|
|
||||||
var doclet = doclets[i];
|
|
||||||
var params = doclet.params;
|
|
||||||
if (params) {
|
|
||||||
addSubparams(params);
|
|
||||||
}
|
|
||||||
markRequiredIfNeeded(doclet);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
};
|
|
||||||
@@ -1,80 +0,0 @@
|
|||||||
# API Documentation
|
|
||||||
|
|
||||||
This directory contains configuration (`conf.json`), static content (`index.md`), template (`template/`) and plugins (`plugins/`) for the [JSDoc3](http://usejsdoc.org/) API generator.
|
|
||||||
|
|
||||||
## Documenting the source code
|
|
||||||
|
|
||||||
JSDoc annotations are used for metadata used by the compiler, for defining the user facing API, and for user documentation.
|
|
||||||
|
|
||||||
In the simplest case, a JSDoc block can look like this:
|
|
||||||
```js
|
|
||||||
/**
|
|
||||||
* Add the given control to the map.
|
|
||||||
* @param {ol.control.Control} control Control.
|
|
||||||
* @api
|
|
||||||
*/
|
|
||||||
ol.Map.prototype.addControl = function(control) {
|
|
||||||
// ...
|
|
||||||
};
|
|
||||||
```
|
|
||||||
The first line is text for the user documentation. This can be long, and it can
|
|
||||||
contain Markdown.
|
|
||||||
|
|
||||||
The second line tells the Closure compiler the type of the argument.
|
|
||||||
|
|
||||||
The third line (`@api`) marks the method as part of the api and thus exportable. The stability can be added as value, e.g. `@api stable`. Without such an api annotation, the method will not be documented in the generated API documentation. Symbols without an api annotation will also not be exportable (unless they are explicitly exported with a `goog.exportProperty` call).
|
|
||||||
|
|
||||||
The `@api` annotation can be used in conjunciton with the `@inheritDoc` annotation to export a symbol that is documented on a parent class (where the method may be abstract). In general, `@api` annotations should never be used on abstract methods (only on their implementations).
|
|
||||||
|
|
||||||
### Events
|
|
||||||
|
|
||||||
Events are documented using `@fires` and `@event` annotations:
|
|
||||||
```js
|
|
||||||
/**
|
|
||||||
* Constants for event names.
|
|
||||||
* @enum {string}
|
|
||||||
*/
|
|
||||||
ol.MapBrowserEvent.EventType = {
|
|
||||||
/**
|
|
||||||
* A true single click with no dragging and no double click. Note that this
|
|
||||||
* event is delayed by 250 ms to ensure that it is not a double click.
|
|
||||||
* @event ol.MapBrowserEvent#singleclick
|
|
||||||
* @api
|
|
||||||
*/
|
|
||||||
SINGLECLICK: 'singleclick',
|
|
||||||
// ...
|
|
||||||
};
|
|
||||||
```
|
|
||||||
Note the value of the `@event` annotation. The text before the hash refers to the event class that the event belongs to, and the text after the hash is the type of the event.
|
|
||||||
|
|
||||||
To export event properties, they need to be defined in `externs/oli.js` (also see `readme.md` in `externs/`) and marked with an @api annotation:
|
|
||||||
```js
|
|
||||||
/** @interface */
|
|
||||||
oli.MapBrowserEvent;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @type {ol.Coordinate}
|
|
||||||
* @api
|
|
||||||
*/
|
|
||||||
oli.MapBrowserEvent.prototype.coordinate;
|
|
||||||
|
|
||||||
// ...
|
|
||||||
|
|
||||||
};
|
|
||||||
```
|
|
||||||
To document which events are fired by a class or method, the `@fires` annotation is used:
|
|
||||||
```js
|
|
||||||
/**
|
|
||||||
* @fires ol.MapBrowserEvent
|
|
||||||
* @fires ol.MapEvent
|
|
||||||
* @fires ol.render.Event
|
|
||||||
* ...
|
|
||||||
*/
|
|
||||||
ol.Map = function(options) {
|
|
||||||
// ...
|
|
||||||
};
|
|
||||||
```
|
|
||||||
|
|
||||||
### Observable Properties
|
|
||||||
|
|
||||||
Observable properties are documented using the `@observable` annotation. This annotation is added to the getter of an observable property. If an observable property is also settable, the setter is annotated with `@observable` as well.
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
This template is based on the [Jaguar](https://github.com/davidshimjs/jaguarjs/tree/master/docs/templates/jaguar) template. [JaguarJS](https://github.com/davidshimjs/jaguarjs) is licensed under the [LGPL license](https://github.com/davidshimjs/jaguarjs/tree/master/LICENSE).
|
|
||||||
|
|
||||||
The default template for JSDoc 3 uses: [the Taffy Database library](http://taffydb.com/) and the [Underscore Template library](http://documentcloud.github.com/underscore/#template).
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
@navWidth: 250px;
|
|
||||||
@colorSubtitle: rgb(119, 156, 52);
|
|
||||||
@colorRed: rgb(238, 125, 125);
|
|
||||||
@colorLink: #2a6496;
|
|
||||||
@colorBgNavi: #2a2a2a;
|
|
||||||
|
|
||||||
.font-description () {
|
|
||||||
font-family: "freight-text-pro",Georgia,Cambria,"Times New Roman",Times,serif
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
@import "common.less";
|
|
||||||
|
|
||||||
footer {
|
|
||||||
margin: 15px 0;
|
|
||||||
padding-top: 15px;
|
|
||||||
border-top: 1px solid #e1e1e1;
|
|
||||||
.font-description();
|
|
||||||
font-size: 0.8em;
|
|
||||||
color: gray;
|
|
||||||
}
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
@import "common.less";
|
|
||||||
|
|
||||||
// normalize
|
|
||||||
html, body {
|
|
||||||
font: 1em "jaf-bernino-sans","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Geneva,Verdana,sans-serif;
|
|
||||||
background-color: #fff;
|
|
||||||
}
|
|
||||||
ul, ol {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
li {
|
|
||||||
list-style-type: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#wrap {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
@import "navigation.less";
|
|
||||||
@import "main.less";
|
|
||||||
@import "footer.less";
|
|
||||||
@@ -1,288 +0,0 @@
|
|||||||
@import "common.less";
|
|
||||||
|
|
||||||
.main {
|
|
||||||
padding: 20px 20px;
|
|
||||||
margin-left: @navWidth;
|
|
||||||
.page-title {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: 1.6em;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: 1.5em;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: 12px;
|
|
||||||
margin: 5px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
h4 {
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
h5 {
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
dd {
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
h4.name {
|
|
||||||
span.type-signature {
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 3px;
|
|
||||||
background-color: gray;
|
|
||||||
color: #fff;
|
|
||||||
font-size: 0.7em;
|
|
||||||
padding: 2px 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.type {
|
|
||||||
margin-left: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.glyphicon {
|
|
||||||
display: inline-block;
|
|
||||||
vertical-align: middle;
|
|
||||||
color: #e1e1e1;
|
|
||||||
margin-left: 7px;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.returnType {
|
|
||||||
margin-left: 3px;
|
|
||||||
background-color: transparent!important;
|
|
||||||
color: gray!important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
span.static {
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 3px;
|
|
||||||
background-color: @colorSubtitle!important;
|
|
||||||
color: #fff;
|
|
||||||
font-size: 0.7em;
|
|
||||||
padding: 2px 4px;
|
|
||||||
margin-right: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.number {
|
|
||||||
background-color: #ccc!important;
|
|
||||||
color: #2fa2b1!important;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.string {
|
|
||||||
background-color: #ccc!important;
|
|
||||||
color: #2fa2b1!important;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.object {
|
|
||||||
background-color: #ccc!important;
|
|
||||||
color: #2fa2b1!important;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.array {
|
|
||||||
background-color: #ccc!important;
|
|
||||||
color: #2fa2b1!important;
|
|
||||||
}
|
|
||||||
|
|
||||||
span.boolean {
|
|
||||||
background-color: #ccc!important;
|
|
||||||
color: #2fa2b1!important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.subsection-title {
|
|
||||||
font-size: 14px;
|
|
||||||
margin-top: 30px;
|
|
||||||
color: @colorSubtitle;
|
|
||||||
}
|
|
||||||
|
|
||||||
.description {
|
|
||||||
margin-top: 10px;
|
|
||||||
// .font-description();
|
|
||||||
font-size: 13px;
|
|
||||||
|
|
||||||
p {
|
|
||||||
font-size: 13px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.tag-source {
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
dt.tag-source {
|
|
||||||
margin-top: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
dt.tag-todo {
|
|
||||||
font-size: 10px;
|
|
||||||
display: inline-block;
|
|
||||||
background-color: @colorLink;
|
|
||||||
color: #fff;
|
|
||||||
padding: 2px 4px;
|
|
||||||
border-radius: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.type-signature {
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tag-deprecated {
|
|
||||||
display: inline-block;
|
|
||||||
font-size: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.important {
|
|
||||||
background-color: @colorRed;
|
|
||||||
color: #fff;
|
|
||||||
padding: 2px 4px;
|
|
||||||
border-radius: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.nameContainer {
|
|
||||||
position: relative;
|
|
||||||
margin-top: 20px;
|
|
||||||
padding-top: 5px;
|
|
||||||
border-top: 1px solid #e1e1e1;
|
|
||||||
|
|
||||||
.inherited {
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 3px;
|
|
||||||
background-color: #888!important;
|
|
||||||
font-size: 0.7em;
|
|
||||||
padding: 2px 4px;
|
|
||||||
margin-right: 5px;
|
|
||||||
a {
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.tag-source {
|
|
||||||
position: absolute;
|
|
||||||
top: 17px;
|
|
||||||
right: 0;
|
|
||||||
font-size: 10px;
|
|
||||||
a {
|
|
||||||
color: gray;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
&.inherited {
|
|
||||||
color: gray;
|
|
||||||
}
|
|
||||||
|
|
||||||
h4 {
|
|
||||||
margin-right: 150px;
|
|
||||||
line-height: 1.3;
|
|
||||||
|
|
||||||
.signature {
|
|
||||||
font-size: 13px;
|
|
||||||
font-weight: normal;
|
|
||||||
font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
pre {
|
|
||||||
font-size: 11px;
|
|
||||||
}
|
|
||||||
|
|
||||||
table {
|
|
||||||
width: 100%;
|
|
||||||
margin-bottom: 15px;
|
|
||||||
|
|
||||||
th {
|
|
||||||
padding: 3px 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
td {
|
|
||||||
vertical-align: top;
|
|
||||||
padding: 5px 3px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.name {
|
|
||||||
width: 110px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.type {
|
|
||||||
width: 60px;
|
|
||||||
color: #aaa;
|
|
||||||
font-size: 11px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.attributes {
|
|
||||||
width: 80px;
|
|
||||||
color: #aaa;
|
|
||||||
font-size: 11px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.description {
|
|
||||||
font-size: 12px;
|
|
||||||
p {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.optional {
|
|
||||||
float: left;
|
|
||||||
border-radius: 3px;
|
|
||||||
background-color: #ddd!important;
|
|
||||||
font-size: 0.7em;
|
|
||||||
padding: 2px 4px;
|
|
||||||
margin-right: 5px;
|
|
||||||
color: gray;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.readme {
|
|
||||||
p {
|
|
||||||
margin-top: 15px;
|
|
||||||
line-height: 1.2;
|
|
||||||
font-size: 0.85em;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
font-size: 1.7em;
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
margin-top: 30px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
padding-bottom: 10px;
|
|
||||||
border-bottom: 1px solid #e1e1e1;
|
|
||||||
}
|
|
||||||
|
|
||||||
li {
|
|
||||||
font-size: 0.9em;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
article {
|
|
||||||
ol, ul {
|
|
||||||
margin-left: 25px;
|
|
||||||
}
|
|
||||||
|
|
||||||
ol > li {
|
|
||||||
list-style-type: decimal;
|
|
||||||
margin-bottom: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
ul > li {
|
|
||||||
margin-bottom: 5px;
|
|
||||||
list-style-type: disc;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,103 +0,0 @@
|
|||||||
@import "common.less";
|
|
||||||
|
|
||||||
::-webkit-scrollbar {
|
|
||||||
width: 8px;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
::-webkit-scrollbar-thumb {
|
|
||||||
background-color: gray;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.navigation {
|
|
||||||
position: fixed;
|
|
||||||
float: left;
|
|
||||||
width: @navWidth;
|
|
||||||
height: 100%;
|
|
||||||
background-color: @colorBgNavi;
|
|
||||||
|
|
||||||
.applicationName {
|
|
||||||
margin: 0;
|
|
||||||
margin-top: 15px;
|
|
||||||
padding: 10px 15px;
|
|
||||||
font: bold 1.25em Helvetica;
|
|
||||||
color: #fff;
|
|
||||||
|
|
||||||
a {
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.search {
|
|
||||||
padding: 10px 15px;
|
|
||||||
|
|
||||||
input {
|
|
||||||
background-color: #333;
|
|
||||||
color: #fff;
|
|
||||||
border-color: #555;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.list {
|
|
||||||
padding: 10px 15px 0 15px;
|
|
||||||
position: relative;
|
|
||||||
overflow: auto;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
li.item {
|
|
||||||
margin-bottom: 8px;
|
|
||||||
padding-bottom: 8px;
|
|
||||||
border-bottom: 1px solid #333;
|
|
||||||
|
|
||||||
a {
|
|
||||||
color: #bbb;
|
|
||||||
&:hover {
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.title {
|
|
||||||
cursor: pointer;
|
|
||||||
position: relative;
|
|
||||||
a {
|
|
||||||
color: #e1e1e1;
|
|
||||||
&:hover {
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
display: block;
|
|
||||||
font-size: 0.8em;
|
|
||||||
|
|
||||||
.static {
|
|
||||||
display: block;
|
|
||||||
border-radius: 3px;
|
|
||||||
background-color: @colorSubtitle;
|
|
||||||
color: #000;
|
|
||||||
font-size: 0.7em;
|
|
||||||
padding: 2px 4px;
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.subtitle {
|
|
||||||
margin-top: 10px;
|
|
||||||
font: bold 0.65em Helvetica;
|
|
||||||
color: @colorSubtitle;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
ul {
|
|
||||||
& > li {
|
|
||||||
font-size: 0.7em;
|
|
||||||
padding-left: 8px;
|
|
||||||
margin-top: 2px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.itemMembers {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,513 +0,0 @@
|
|||||||
/*global env: true */
|
|
||||||
var template = require('jsdoc-fork/lib/jsdoc/template'),
|
|
||||||
fs = require('jsdoc-fork/lib/jsdoc/fs'),
|
|
||||||
path = require('jsdoc-fork/lib/jsdoc/path'),
|
|
||||||
taffy = require('taffydb').taffy,
|
|
||||||
handle = require('jsdoc-fork/lib/jsdoc/util/error').handle,
|
|
||||||
helper = require('jsdoc-fork/lib/jsdoc/util/templateHelper'),
|
|
||||||
_ = require('underscore'),
|
|
||||||
htmlsafe = helper.htmlsafe,
|
|
||||||
linkto = helper.linkto,
|
|
||||||
resolveAuthorLinks = helper.resolveAuthorLinks,
|
|
||||||
scopeToPunc = helper.scopeToPunc,
|
|
||||||
hasOwnProp = Object.prototype.hasOwnProperty,
|
|
||||||
data,
|
|
||||||
view,
|
|
||||||
outdir = env.opts.destination;
|
|
||||||
|
|
||||||
function find(spec) {
|
|
||||||
return helper.find(data, spec);
|
|
||||||
}
|
|
||||||
|
|
||||||
function tutoriallink(tutorial) {
|
|
||||||
return helper.toTutorial(tutorial, null, { tag: 'em', classname: 'disabled', prefix: 'Tutorial: ' });
|
|
||||||
}
|
|
||||||
|
|
||||||
function getAncestorLinks(doclet) {
|
|
||||||
return helper.getAncestorLinks(data, doclet);
|
|
||||||
}
|
|
||||||
|
|
||||||
function hashToLink(doclet, hash) {
|
|
||||||
if ( !/^(#.+)/.test(hash) ) { return hash; }
|
|
||||||
|
|
||||||
var url = helper.createLink(doclet);
|
|
||||||
|
|
||||||
url = url.replace(/(#.+|$)/, hash);
|
|
||||||
return '<a href="' + url + '">' + hash + '</a>';
|
|
||||||
}
|
|
||||||
|
|
||||||
function needsSignature(doclet) {
|
|
||||||
var needsSig = false;
|
|
||||||
|
|
||||||
// function and class definitions always get a signature
|
|
||||||
if (doclet.kind === 'function' || doclet.kind === 'class') {
|
|
||||||
needsSig = true;
|
|
||||||
}
|
|
||||||
// typedefs that contain functions get a signature, too
|
|
||||||
else if (doclet.kind === 'typedef' && doclet.type && doclet.type.names &&
|
|
||||||
doclet.type.names.length) {
|
|
||||||
for (var i = 0, l = doclet.type.names.length; i < l; i++) {
|
|
||||||
if (doclet.type.names[i].toLowerCase() === 'function') {
|
|
||||||
needsSig = true;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return needsSig;
|
|
||||||
}
|
|
||||||
|
|
||||||
function addSignatureParams(f) {
|
|
||||||
var params = helper.getSignatureParams(f, 'optional');
|
|
||||||
|
|
||||||
f.signature = (f.signature || '') + '('+params.join(', ')+')';
|
|
||||||
}
|
|
||||||
|
|
||||||
function addSignatureReturns(f) {
|
|
||||||
var returnTypes = helper.getSignatureReturns(f);
|
|
||||||
|
|
||||||
f.signature = '<span class="signature">'+(f.signature || '') + '</span>';
|
|
||||||
|
|
||||||
if (returnTypes.length) {
|
|
||||||
f.signature += '<span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">'+(returnTypes.length ? '{'+returnTypes.join('|')+'}' : '')+'</span>';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function addSignatureTypes(f) {
|
|
||||||
var types = helper.getSignatureTypes(f);
|
|
||||||
|
|
||||||
f.signature = (f.signature || '') + '<span class="type-signature">'+(types.length? ' :'+types.join('|') : '')+' </span>';
|
|
||||||
}
|
|
||||||
|
|
||||||
function shortenPaths(files, commonPrefix) {
|
|
||||||
// always use forward slashes
|
|
||||||
var regexp = new RegExp('\\\\', 'g');
|
|
||||||
|
|
||||||
Object.keys(files).forEach(function(file) {
|
|
||||||
files[file].shortened = files[file].resolved.replace(commonPrefix, '')
|
|
||||||
.replace(regexp, '/');
|
|
||||||
});
|
|
||||||
|
|
||||||
return files;
|
|
||||||
}
|
|
||||||
|
|
||||||
function resolveSourcePath(filepath) {
|
|
||||||
return path.resolve(process.cwd(), filepath);
|
|
||||||
}
|
|
||||||
|
|
||||||
function getPathFromDoclet(doclet) {
|
|
||||||
if (!doclet.meta) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
var filepath = doclet.meta.path && doclet.meta.path !== 'null' ?
|
|
||||||
doclet.meta.path + '/' + doclet.meta.filename.split(/[\/\\]/).pop() :
|
|
||||||
doclet.meta.filename;
|
|
||||||
|
|
||||||
return filepath;
|
|
||||||
}
|
|
||||||
|
|
||||||
function generate(title, docs, filename, resolveLinks) {
|
|
||||||
resolveLinks = resolveLinks === false ? false : true;
|
|
||||||
|
|
||||||
var docData = {
|
|
||||||
filename: filename,
|
|
||||||
title: title,
|
|
||||||
docs: docs
|
|
||||||
};
|
|
||||||
|
|
||||||
var outpath = path.join(outdir, filename),
|
|
||||||
html = view.render('container.tmpl', docData);
|
|
||||||
|
|
||||||
if (resolveLinks) {
|
|
||||||
html = helper.resolveLinks(html); // turn {@link foo} into <a href="foodoc.html">foo</a>
|
|
||||||
}
|
|
||||||
|
|
||||||
fs.writeFileSync(outpath, html, 'utf8');
|
|
||||||
}
|
|
||||||
|
|
||||||
function generateSourceFiles(sourceFiles) {
|
|
||||||
Object.keys(sourceFiles).forEach(function(file) {
|
|
||||||
var source;
|
|
||||||
// links are keyed to the shortened path in each doclet's `meta.filename` property
|
|
||||||
var sourceOutfile = helper.getUniqueFilename(sourceFiles[file].shortened);
|
|
||||||
helper.registerLink(sourceFiles[file].shortened, sourceOutfile);
|
|
||||||
|
|
||||||
try {
|
|
||||||
source = {
|
|
||||||
kind: 'source',
|
|
||||||
code: helper.htmlsafe( fs.readFileSync(sourceFiles[file].resolved, 'utf8') )
|
|
||||||
};
|
|
||||||
}
|
|
||||||
catch(e) {
|
|
||||||
handle(e);
|
|
||||||
}
|
|
||||||
|
|
||||||
generate('Source: ' + sourceFiles[file].shortened, [source], sourceOutfile,
|
|
||||||
false);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Look for classes or functions with the same name as modules (which indicates that the module
|
|
||||||
* exports only that class or function), then attach the classes or functions to the `module`
|
|
||||||
* property of the appropriate module doclets. The name of each class or function is also updated
|
|
||||||
* for display purposes. This function mutates the original arrays.
|
|
||||||
*
|
|
||||||
* @private
|
|
||||||
* @param {Array.<module:jsdoc/doclet.Doclet>} doclets - The array of classes and functions to
|
|
||||||
* check.
|
|
||||||
* @param {Array.<module:jsdoc/doclet.Doclet>} modules - The array of module doclets to search.
|
|
||||||
*/
|
|
||||||
function attachModuleSymbols(doclets, modules) {
|
|
||||||
var symbols = {};
|
|
||||||
|
|
||||||
// build a lookup table
|
|
||||||
doclets.forEach(function(symbol) {
|
|
||||||
symbols[symbol.longname] = symbol;
|
|
||||||
});
|
|
||||||
|
|
||||||
return modules.map(function(module) {
|
|
||||||
if (symbols[module.longname]) {
|
|
||||||
module.module = symbols[module.longname];
|
|
||||||
module.module.name = module.module.name.replace('module:', 'require("') + '")';
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create the navigation sidebar.
|
|
||||||
* @param {object} members The members that will be used to create the sidebar.
|
|
||||||
* @param {array<object>} members.classes
|
|
||||||
* @param {array<object>} members.externals
|
|
||||||
* @param {array<object>} members.globals
|
|
||||||
* @param {array<object>} members.mixins
|
|
||||||
* @param {array<object>} members.modules
|
|
||||||
* @param {array<object>} members.namespaces
|
|
||||||
* @param {array<object>} members.tutorials
|
|
||||||
* @param {array<object>} members.events
|
|
||||||
* @return {string} The HTML for the navigation sidebar.
|
|
||||||
*/
|
|
||||||
function buildNav(members) {
|
|
||||||
var nav = [];
|
|
||||||
// merge namespaces and classes, then sort
|
|
||||||
var merged = members.namespaces.concat(members.classes);
|
|
||||||
merged.sort(function (a, b) {
|
|
||||||
if (a.longname > b.longname)
|
|
||||||
return 1;
|
|
||||||
if (a.longname < b.longname)
|
|
||||||
return -1;
|
|
||||||
return 0;
|
|
||||||
});
|
|
||||||
_.each(merged, function (v) {
|
|
||||||
// exclude 'olx' and interfaces from sidebar
|
|
||||||
if (v.longname.indexOf('olx') !== 0 && v.interface !== true) {
|
|
||||||
if (v.kind == 'namespace') {
|
|
||||||
nav.push({
|
|
||||||
type: 'namespace',
|
|
||||||
longname: v.longname,
|
|
||||||
name: v.name,
|
|
||||||
members: find({
|
|
||||||
kind: 'member',
|
|
||||||
memberof: v.longname
|
|
||||||
}),
|
|
||||||
methods: find({
|
|
||||||
kind: 'function',
|
|
||||||
memberof: v.longname
|
|
||||||
}),
|
|
||||||
typedefs: find({
|
|
||||||
kind: 'typedef',
|
|
||||||
memberof: v.longname
|
|
||||||
}),
|
|
||||||
events: find({
|
|
||||||
kind: 'event',
|
|
||||||
memberof: v.longname
|
|
||||||
})
|
|
||||||
});
|
|
||||||
}
|
|
||||||
if (v.kind == 'class') {
|
|
||||||
nav.push({
|
|
||||||
type: 'class',
|
|
||||||
longname: v.longname,
|
|
||||||
name: v.name,
|
|
||||||
members: find({
|
|
||||||
kind: 'member',
|
|
||||||
memberof: v.longname
|
|
||||||
}),
|
|
||||||
methods: find({
|
|
||||||
kind: 'function',
|
|
||||||
memberof: v.longname
|
|
||||||
}),
|
|
||||||
typedefs: find({
|
|
||||||
kind: 'typedef',
|
|
||||||
memberof: v.longname
|
|
||||||
}),
|
|
||||||
fires: v.fires,
|
|
||||||
events: find({
|
|
||||||
kind: 'event',
|
|
||||||
memberof: v.longname
|
|
||||||
})
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
return nav;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
@param {TAFFY} taffyData See <http://taffydb.com/>.
|
|
||||||
@param {object} opts
|
|
||||||
@param {Tutorial} tutorials
|
|
||||||
*/
|
|
||||||
exports.publish = function(taffyData, opts, tutorials) {
|
|
||||||
data = taffyData;
|
|
||||||
|
|
||||||
var conf = env.conf.templates || {};
|
|
||||||
conf['default'] = conf['default'] || {};
|
|
||||||
|
|
||||||
var templatePath = opts.template;
|
|
||||||
view = new template.Template(templatePath + '/tmpl');
|
|
||||||
|
|
||||||
// claim some special filenames in advance, so the All-Powerful Overseer of Filename Uniqueness
|
|
||||||
// doesn't try to hand them out later
|
|
||||||
var indexUrl = helper.getUniqueFilename('index');
|
|
||||||
// don't call registerLink() on this one! 'index' is also a valid longname
|
|
||||||
|
|
||||||
var globalUrl = helper.getUniqueFilename('global');
|
|
||||||
helper.registerLink('global', globalUrl);
|
|
||||||
|
|
||||||
// set up templating
|
|
||||||
view.layout = 'layout.tmpl';
|
|
||||||
|
|
||||||
// set up tutorials for helper
|
|
||||||
helper.setTutorials(tutorials);
|
|
||||||
|
|
||||||
data = helper.prune(data);
|
|
||||||
data.sort('longname, version, since');
|
|
||||||
helper.addEventListeners(data);
|
|
||||||
|
|
||||||
var sourceFiles = {};
|
|
||||||
var sourceFilePaths = [];
|
|
||||||
data().each(function(doclet) {
|
|
||||||
doclet.attribs = '';
|
|
||||||
|
|
||||||
if (doclet.examples) {
|
|
||||||
doclet.examples = doclet.examples.map(function(example) {
|
|
||||||
var caption, code;
|
|
||||||
|
|
||||||
if (example.match(/^\s*<caption>([\s\S]+?)<\/caption>(\s*[\n\r])([\s\S]+)$/i)) {
|
|
||||||
caption = RegExp.$1;
|
|
||||||
code = RegExp.$3;
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
|
||||||
caption: caption || '',
|
|
||||||
code: code || example
|
|
||||||
};
|
|
||||||
});
|
|
||||||
}
|
|
||||||
if (doclet.see) {
|
|
||||||
doclet.see.forEach(function(seeItem, i) {
|
|
||||||
doclet.see[i] = hashToLink(doclet, seeItem);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
// build a list of source files
|
|
||||||
var sourcePath;
|
|
||||||
var resolvedSourcePath;
|
|
||||||
if (doclet.meta) {
|
|
||||||
sourcePath = getPathFromDoclet(doclet);
|
|
||||||
resolvedSourcePath = resolveSourcePath(sourcePath);
|
|
||||||
sourceFiles[sourcePath] = {
|
|
||||||
resolved: resolvedSourcePath,
|
|
||||||
shortened: null
|
|
||||||
};
|
|
||||||
sourceFilePaths.push(resolvedSourcePath);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// update outdir if necessary, then create outdir
|
|
||||||
var packageInfo = ( find({kind: 'package'}) || [] ) [0];
|
|
||||||
if (packageInfo && packageInfo.name) {
|
|
||||||
outdir = path.join(outdir, packageInfo.name, packageInfo.version);
|
|
||||||
}
|
|
||||||
fs.mkPath(outdir);
|
|
||||||
|
|
||||||
// copy the template's static files to outdir
|
|
||||||
var fromDir = path.join(templatePath, 'static');
|
|
||||||
var staticFiles = fs.ls(fromDir, 3);
|
|
||||||
|
|
||||||
staticFiles.forEach(function(fileName) {
|
|
||||||
var toDir = fs.toDir( fileName.replace(fromDir, outdir) );
|
|
||||||
fs.mkPath(toDir);
|
|
||||||
fs.copyFileSync(fileName, toDir);
|
|
||||||
});
|
|
||||||
|
|
||||||
// copy user-specified static files to outdir
|
|
||||||
var staticFilePaths;
|
|
||||||
var staticFileFilter;
|
|
||||||
var staticFileScanner;
|
|
||||||
if (conf['default'].staticFiles) {
|
|
||||||
staticFilePaths = conf['default'].staticFiles.paths || [];
|
|
||||||
staticFileFilter = new (require('jsdoc-fork/lib/jsdoc/src/filter')).Filter(conf['default'].staticFiles);
|
|
||||||
staticFileScanner = new (require('jsdoc-fork/lib/jsdoc/src/scanner')).Scanner();
|
|
||||||
|
|
||||||
staticFilePaths.forEach(function(filePath) {
|
|
||||||
var extraStaticFiles = staticFileScanner.scan([filePath], 10, staticFileFilter);
|
|
||||||
|
|
||||||
extraStaticFiles.forEach(function(fileName) {
|
|
||||||
var sourcePath = fs.statSync(filePath).isDirectory() ? filePath :
|
|
||||||
path.dirname(filePath);
|
|
||||||
var toDir = fs.toDir( fileName.replace(sourcePath, outdir) );
|
|
||||||
fs.mkPath(toDir);
|
|
||||||
fs.copyFileSync(fileName, toDir);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
if (sourceFilePaths.length) {
|
|
||||||
sourceFiles = shortenPaths( sourceFiles, path.commonPrefix(sourceFilePaths) );
|
|
||||||
}
|
|
||||||
data().each(function(doclet) {
|
|
||||||
var url = helper.createLink(doclet);
|
|
||||||
helper.registerLink(doclet.longname, url);
|
|
||||||
|
|
||||||
// replace the filename with a shortened version of the full path
|
|
||||||
var docletPath;
|
|
||||||
if (doclet.meta) {
|
|
||||||
docletPath = getPathFromDoclet(doclet);
|
|
||||||
docletPath = sourceFiles[docletPath].shortened;
|
|
||||||
if (docletPath) {
|
|
||||||
doclet.meta.filename = docletPath;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
data().each(function(doclet) {
|
|
||||||
var url = helper.longnameToUrl[doclet.longname];
|
|
||||||
|
|
||||||
if (url.indexOf('#') > -1) {
|
|
||||||
doclet.id = helper.longnameToUrl[doclet.longname].split(/#/).pop();
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
doclet.id = doclet.name;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( needsSignature(doclet) ) {
|
|
||||||
addSignatureParams(doclet);
|
|
||||||
addSignatureReturns(doclet);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// do this after the urls have all been generated
|
|
||||||
data().each(function(doclet) {
|
|
||||||
doclet.ancestors = getAncestorLinks(doclet);
|
|
||||||
|
|
||||||
if (doclet.kind === 'member') {
|
|
||||||
addSignatureTypes(doclet);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (doclet.kind === 'constant') {
|
|
||||||
addSignatureTypes(doclet);
|
|
||||||
doclet.kind = 'member';
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
var members = helper.getMembers(data);
|
|
||||||
members.tutorials = tutorials.children;
|
|
||||||
|
|
||||||
// add template helpers
|
|
||||||
view.find = find;
|
|
||||||
view.linkto = linkto;
|
|
||||||
view.resolveAuthorLinks = resolveAuthorLinks;
|
|
||||||
view.tutoriallink = tutoriallink;
|
|
||||||
view.htmlsafe = htmlsafe;
|
|
||||||
view.members = members; //@davidshimjs: To make navigation for customizing
|
|
||||||
|
|
||||||
// once for all
|
|
||||||
view.nav = buildNav(members);
|
|
||||||
attachModuleSymbols( find({ kind: ['class', 'function'], longname: {left: 'module:'} }),
|
|
||||||
members.modules );
|
|
||||||
|
|
||||||
// only output pretty-printed source files if requested; do this before generating any other
|
|
||||||
// pages, so the other pages can link to the source files
|
|
||||||
if (conf['default'].outputSourceFiles) {
|
|
||||||
generateSourceFiles(sourceFiles);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (members.globals.length) { generate('Global', [{kind: 'globalobj'}], globalUrl); }
|
|
||||||
|
|
||||||
// index page displays information from package.json and lists files
|
|
||||||
var files = find({kind: 'file'}),
|
|
||||||
packages = find({kind: 'package'});
|
|
||||||
|
|
||||||
generate('Index',
|
|
||||||
packages.concat(
|
|
||||||
[{kind: 'mainpage', readme: opts.readme, longname: (opts.mainpagetitle) ? opts.mainpagetitle : 'Main Page'}]
|
|
||||||
).concat(files),
|
|
||||||
indexUrl);
|
|
||||||
|
|
||||||
// set up the lists that we'll use to generate pages
|
|
||||||
var classes = taffy(members.classes);
|
|
||||||
var modules = taffy(members.modules);
|
|
||||||
var namespaces = taffy(members.namespaces);
|
|
||||||
var mixins = taffy(members.mixins);
|
|
||||||
var externals = taffy(members.externals);
|
|
||||||
|
|
||||||
for (var longname in helper.longnameToUrl) {
|
|
||||||
if ( hasOwnProp.call(helper.longnameToUrl, longname) ) {
|
|
||||||
var myClasses = helper.find(classes, {longname: longname});
|
|
||||||
if (myClasses.length) {
|
|
||||||
generate('Class: ' + myClasses[0].name, myClasses, helper.longnameToUrl[longname]);
|
|
||||||
}
|
|
||||||
|
|
||||||
var myModules = helper.find(modules, {longname: longname});
|
|
||||||
if (myModules.length) {
|
|
||||||
generate('Module: ' + myModules[0].name, myModules, helper.longnameToUrl[longname]);
|
|
||||||
}
|
|
||||||
|
|
||||||
var myNamespaces = helper.find(namespaces, {longname: longname});
|
|
||||||
if (myNamespaces.length) {
|
|
||||||
generate('Namespace: ' + myNamespaces[0].name, myNamespaces, helper.longnameToUrl[longname]);
|
|
||||||
}
|
|
||||||
|
|
||||||
var myMixins = helper.find(mixins, {longname: longname});
|
|
||||||
if (myMixins.length) {
|
|
||||||
generate('Mixin: ' + myMixins[0].name, myMixins, helper.longnameToUrl[longname]);
|
|
||||||
}
|
|
||||||
|
|
||||||
var myExternals = helper.find(externals, {longname: longname});
|
|
||||||
if (myExternals.length) {
|
|
||||||
generate('External: ' + myExternals[0].name, myExternals, helper.longnameToUrl[longname]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// TODO: move the tutorial functions to templateHelper.js
|
|
||||||
function generateTutorial(title, tutorial, filename) {
|
|
||||||
var tutorialData = {
|
|
||||||
title: title,
|
|
||||||
header: tutorial.title,
|
|
||||||
content: tutorial.parse(),
|
|
||||||
children: tutorial.children
|
|
||||||
};
|
|
||||||
|
|
||||||
var tutorialPath = path.join(outdir, filename),
|
|
||||||
html = view.render('tutorial.tmpl', tutorialData);
|
|
||||||
|
|
||||||
// yes, you can use {@link} in tutorials too!
|
|
||||||
html = helper.resolveLinks(html); // turn {@link foo} into <a href="foodoc.html">foo</a>
|
|
||||||
|
|
||||||
fs.writeFileSync(tutorialPath, html, 'utf8');
|
|
||||||
}
|
|
||||||
|
|
||||||
// tutorials can have only one parent so there is no risk for loops
|
|
||||||
function saveChildren(node) {
|
|
||||||
node.children.forEach(function(child) {
|
|
||||||
generateTutorial('Tutorial: ' + child.title, child, helper.tutorialToUrl(child.name));
|
|
||||||
saveChildren(child);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
saveChildren(tutorials);
|
|
||||||
};
|
|
||||||
@@ -1,229 +0,0 @@
|
|||||||
<?xml version="1.0" standalone="no"?>
|
|
||||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg">
|
|
||||||
<metadata></metadata>
|
|
||||||
<defs>
|
|
||||||
<font id="glyphicons_halflingsregular" horiz-adv-x="1200" >
|
|
||||||
<font-face units-per-em="1200" ascent="960" descent="-240" />
|
|
||||||
<missing-glyph horiz-adv-x="500" />
|
|
||||||
<glyph />
|
|
||||||
<glyph />
|
|
||||||
<glyph unicode="
" />
|
|
||||||
<glyph unicode=" " />
|
|
||||||
<glyph unicode="*" d="M100 500v200h259l-183 183l141 141l183 -183v259h200v-259l183 183l141 -141l-183 -183h259v-200h-259l183 -183l-141 -141l-183 183v-259h-200v259l-183 -183l-141 141l183 183h-259z" />
|
|
||||||
<glyph unicode="+" d="M0 400v300h400v400h300v-400h400v-300h-400v-400h-300v400h-400z" />
|
|
||||||
<glyph unicode=" " />
|
|
||||||
<glyph unicode=" " horiz-adv-x="652" />
|
|
||||||
<glyph unicode=" " horiz-adv-x="1304" />
|
|
||||||
<glyph unicode=" " horiz-adv-x="652" />
|
|
||||||
<glyph unicode=" " horiz-adv-x="1304" />
|
|
||||||
<glyph unicode=" " horiz-adv-x="434" />
|
|
||||||
<glyph unicode=" " horiz-adv-x="326" />
|
|
||||||
<glyph unicode=" " horiz-adv-x="217" />
|
|
||||||
<glyph unicode=" " horiz-adv-x="217" />
|
|
||||||
<glyph unicode=" " horiz-adv-x="163" />
|
|
||||||
<glyph unicode=" " horiz-adv-x="260" />
|
|
||||||
<glyph unicode=" " horiz-adv-x="72" />
|
|
||||||
<glyph unicode=" " horiz-adv-x="260" />
|
|
||||||
<glyph unicode=" " horiz-adv-x="326" />
|
|
||||||
<glyph unicode="€" d="M100 500l100 100h113q0 47 5 100h-218l100 100h135q37 167 112 257q117 141 297 141q242 0 354 -189q60 -103 66 -209h-181q0 55 -25.5 99t-63.5 68t-75 36.5t-67 12.5q-24 0 -52.5 -10t-62.5 -32t-65.5 -67t-50.5 -107h379l-100 -100h-300q-6 -46 -6 -100h406l-100 -100 h-300q9 -74 33 -132t52.5 -91t62 -54.5t59 -29t46.5 -7.5q29 0 66 13t75 37t63.5 67.5t25.5 96.5h174q-31 -172 -128 -278q-107 -117 -274 -117q-205 0 -324 158q-36 46 -69 131.5t-45 205.5h-217z" />
|
|
||||||
<glyph unicode="−" d="M200 400h900v300h-900v-300z" />
|
|
||||||
<glyph unicode="☁" d="M-14 494q0 -80 56.5 -137t135.5 -57h750q120 0 205 86t85 208q0 120 -85 206.5t-205 86.5q-46 0 -90 -14q-44 97 -134.5 156.5t-200.5 59.5q-152 0 -260 -107.5t-108 -260.5q0 -25 2 -37q-66 -14 -108.5 -67.5t-42.5 -122.5z" />
|
|
||||||
<glyph unicode="✉" d="M0 100l400 400l200 -200l200 200l400 -400h-1200zM0 300v600l300 -300zM0 1100l600 -603l600 603h-1200zM900 600l300 300v-600z" />
|
|
||||||
<glyph unicode="✏" d="M-13 -13l333 112l-223 223zM187 403l214 -214l614 614l-214 214zM887 1103l214 -214l99 92q13 13 13 32.5t-13 33.5l-153 153q-15 13 -33 13t-33 -13z" />
|
|
||||||
<glyph unicode="" horiz-adv-x="500" d="M0 0z" />
|
|
||||||
<glyph unicode="" d="M0 1200h1200l-500 -550v-550h300v-100h-800v100h300v550z" />
|
|
||||||
<glyph unicode="" d="M14 84q18 -55 86 -75.5t147 5.5q65 21 109 69t44 90v606l600 155v-521q-64 16 -138 -7q-79 -26 -122.5 -83t-25.5 -111q17 -55 85.5 -75.5t147.5 4.5q70 23 111.5 63.5t41.5 95.5v881q0 10 -7 15.5t-17 2.5l-752 -193q-10 -3 -17 -12.5t-7 -19.5v-689q-64 17 -138 -7 q-79 -25 -122.5 -82t-25.5 -112z" />
|
|
||||||
<glyph unicode="" d="M23 693q0 200 142 342t342 142t342 -142t142 -342q0 -142 -78 -261l300 -300q7 -8 7 -18t-7 -18l-109 -109q-8 -7 -18 -7t-18 7l-300 300q-119 -78 -261 -78q-200 0 -342 142t-142 342zM176 693q0 -136 97 -233t234 -97t233.5 96.5t96.5 233.5t-96.5 233.5t-233.5 96.5 t-234 -97t-97 -233z" />
|
|
||||||
<glyph unicode="" d="M100 784q0 64 28 123t73 100.5t104.5 64t119 20.5t120 -38.5t104.5 -104.5q48 69 109.5 105t121.5 38t118.5 -20.5t102.5 -64t71 -100.5t27 -123q0 -57 -33.5 -117.5t-94 -124.5t-126.5 -127.5t-150 -152.5t-146 -174q-62 85 -145.5 174t-149.5 152.5t-126.5 127.5 t-94 124.5t-33.5 117.5z" />
|
|
||||||
<glyph unicode="" d="M-72 800h479l146 400h2l146 -400h472l-382 -278l145 -449l-384 275l-382 -275l146 447zM168 71l2 1z" />
|
|
||||||
<glyph unicode="" d="M-72 800h479l146 400h2l146 -400h472l-382 -278l145 -449l-384 275l-382 -275l146 447zM168 71l2 1zM237 700l196 -142l-73 -226l192 140l195 -141l-74 229l193 140h-235l-77 211l-78 -211h-239z" />
|
|
||||||
<glyph unicode="" d="M0 0v143l400 257v100q-37 0 -68.5 74.5t-31.5 125.5v200q0 124 88 212t212 88t212 -88t88 -212v-200q0 -51 -31.5 -125.5t-68.5 -74.5v-100l400 -257v-143h-1200z" />
|
|
||||||
<glyph unicode="" d="M0 0v1100h1200v-1100h-1200zM100 100h100v100h-100v-100zM100 300h100v100h-100v-100zM100 500h100v100h-100v-100zM100 700h100v100h-100v-100zM100 900h100v100h-100v-100zM300 100h600v400h-600v-400zM300 600h600v400h-600v-400zM1000 100h100v100h-100v-100z M1000 300h100v100h-100v-100zM1000 500h100v100h-100v-100zM1000 700h100v100h-100v-100zM1000 900h100v100h-100v-100z" />
|
|
||||||
<glyph unicode="" d="M0 50v400q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5zM0 650v400q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400 q-21 0 -35.5 14.5t-14.5 35.5zM600 50v400q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5v-400q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5zM600 650v400q0 21 14.5 35.5t35.5 14.5h400q21 0 35.5 -14.5t14.5 -35.5v-400 q0 -21 -14.5 -35.5t-35.5 -14.5h-400q-21 0 -35.5 14.5t-14.5 35.5z" />
|
|
||||||
<glyph unicode="" d="M0 50v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM0 450v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200 q-21 0 -35.5 14.5t-14.5 35.5zM0 850v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM400 50v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5 t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM400 450v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM400 850v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5 v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM800 50v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM800 450v200q0 21 14.5 35.5t35.5 14.5h200 q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM800 850v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5z" />
|
|
||||||
<glyph unicode="" d="M0 50v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM0 450q0 -21 14.5 -35.5t35.5 -14.5h200q21 0 35.5 14.5t14.5 35.5v200q0 21 -14.5 35.5t-35.5 14.5h-200q-21 0 -35.5 -14.5 t-14.5 -35.5v-200zM0 850v200q0 21 14.5 35.5t35.5 14.5h200q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5zM400 50v200q0 21 14.5 35.5t35.5 14.5h700q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5 t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5zM400 450v200q0 21 14.5 35.5t35.5 14.5h700q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5zM400 850v200q0 21 14.5 35.5t35.5 14.5h700q21 0 35.5 -14.5t14.5 -35.5 v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-700q-21 0 -35.5 14.5t-14.5 35.5z" />
|
|
||||||
<glyph unicode="" d="M29 454l419 -420l818 820l-212 212l-607 -607l-206 207z" />
|
|
||||||
<glyph unicode="" d="M106 318l282 282l-282 282l212 212l282 -282l282 282l212 -212l-282 -282l282 -282l-212 -212l-282 282l-282 -282z" />
|
|
||||||
<glyph unicode="" d="M23 693q0 200 142 342t342 142t342 -142t142 -342q0 -142 -78 -261l300 -300q7 -8 7 -18t-7 -18l-109 -109q-8 -7 -18 -7t-18 7l-300 300q-119 -78 -261 -78q-200 0 -342 142t-142 342zM176 693q0 -136 97 -233t234 -97t233.5 96.5t96.5 233.5t-96.5 233.5t-233.5 96.5 t-234 -97t-97 -233zM300 600v200h100v100h200v-100h100v-200h-100v-100h-200v100h-100z" />
|
|
||||||
<glyph unicode="" d="M23 694q0 200 142 342t342 142t342 -142t142 -342q0 -141 -78 -262l300 -299q7 -7 7 -18t-7 -18l-109 -109q-8 -8 -18 -8t-18 8l-300 299q-120 -77 -261 -77q-200 0 -342 142t-142 342zM176 694q0 -136 97 -233t234 -97t233.5 97t96.5 233t-96.5 233t-233.5 97t-234 -97 t-97 -233zM300 601h400v200h-400v-200z" />
|
|
||||||
<glyph unicode="" d="M23 600q0 183 105 331t272 210v-166q-103 -55 -165 -155t-62 -220q0 -177 125 -302t302 -125t302 125t125 302q0 120 -62 220t-165 155v166q167 -62 272 -210t105 -331q0 -118 -45.5 -224.5t-123 -184t-184 -123t-224.5 -45.5t-224.5 45.5t-184 123t-123 184t-45.5 224.5 zM500 750q0 -21 14.5 -35.5t35.5 -14.5h100q21 0 35.5 14.5t14.5 35.5v400q0 21 -14.5 35.5t-35.5 14.5h-100q-21 0 -35.5 -14.5t-14.5 -35.5v-400z" />
|
|
||||||
<glyph unicode="" d="M100 1h200v300h-200v-300zM400 1v500h200v-500h-200zM700 1v800h200v-800h-200zM1000 1v1200h200v-1200h-200z" />
|
|
||||||
<glyph unicode="" d="M26 601q0 -33 6 -74l151 -38l2 -6q14 -49 38 -93l3 -5l-80 -134q45 -59 105 -105l133 81l5 -3q45 -26 94 -39l5 -2l38 -151q40 -5 74 -5q27 0 74 5l38 151l6 2q46 13 93 39l5 3l134 -81q56 44 104 105l-80 134l3 5q24 44 39 93l1 6l152 38q5 40 5 74q0 28 -5 73l-152 38 l-1 6q-16 51 -39 93l-3 5l80 134q-44 58 -104 105l-134 -81l-5 3q-45 25 -93 39l-6 1l-38 152q-40 5 -74 5q-27 0 -74 -5l-38 -152l-5 -1q-50 -14 -94 -39l-5 -3l-133 81q-59 -47 -105 -105l80 -134l-3 -5q-25 -47 -38 -93l-2 -6l-151 -38q-6 -48 -6 -73zM385 601 q0 88 63 151t152 63t152 -63t63 -151q0 -89 -63 -152t-152 -63t-152 63t-63 152z" />
|
|
||||||
<glyph unicode="" d="M100 1025v50q0 10 7.5 17.5t17.5 7.5h275v100q0 41 29.5 70.5t70.5 29.5h300q41 0 70.5 -29.5t29.5 -70.5v-100h275q10 0 17.5 -7.5t7.5 -17.5v-50q0 -11 -7 -18t-18 -7h-1050q-11 0 -18 7t-7 18zM200 100v800h900v-800q0 -41 -29.5 -71t-70.5 -30h-700q-41 0 -70.5 30 t-29.5 71zM300 100h100v700h-100v-700zM500 100h100v700h-100v-700zM500 1100h300v100h-300v-100zM700 100h100v700h-100v-700zM900 100h100v700h-100v-700z" />
|
|
||||||
<glyph unicode="" d="M1 601l656 644l644 -644h-200v-600h-300v400h-300v-400h-300v600h-200z" />
|
|
||||||
<glyph unicode="" d="M100 25v1150q0 11 7 18t18 7h475v-500h400v-675q0 -11 -7 -18t-18 -7h-850q-11 0 -18 7t-7 18zM700 800v300l300 -300h-300z" />
|
|
||||||
<glyph unicode="" d="M4 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM186 600q0 -171 121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM500 500v400h100 v-300h200v-100h-300z" />
|
|
||||||
<glyph unicode="" d="M-100 0l431 1200h209l-21 -300h162l-20 300h208l431 -1200h-538l-41 400h-242l-40 -400h-539zM488 500h224l-27 300h-170z" />
|
|
||||||
<glyph unicode="" d="M0 0v400h490l-290 300h200v500h300v-500h200l-290 -300h490v-400h-1100zM813 200h175v100h-175v-100z" />
|
|
||||||
<glyph unicode="" d="M1 600q0 122 47.5 233t127.5 191t191 127.5t233 47.5t233 -47.5t191 -127.5t127.5 -191t47.5 -233t-47.5 -233t-127.5 -191t-191 -127.5t-233 -47.5t-233 47.5t-191 127.5t-127.5 191t-47.5 233zM188 600q0 -170 121 -291t291 -121t291 121t121 291t-121 291t-291 121 t-291 -121t-121 -291zM350 600h150v300h200v-300h150l-250 -300z" />
|
|
||||||
<glyph unicode="" d="M4 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM186 600q0 -171 121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM350 600l250 300 l250 -300h-150v-300h-200v300h-150z" />
|
|
||||||
<glyph unicode="" d="M0 25v475l200 700h800q199 -700 200 -700v-475q0 -11 -7 -18t-18 -7h-1150q-11 0 -18 7t-7 18zM200 500h200l50 -200h300l50 200h200l-97 500h-606z" />
|
|
||||||
<glyph unicode="" d="M4 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM186 600q0 -172 121.5 -293t292.5 -121t292.5 121t121.5 293q0 171 -121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM500 397v401 l297 -200z" />
|
|
||||||
<glyph unicode="" d="M23 600q0 -118 45.5 -224.5t123 -184t184 -123t224.5 -45.5t224.5 45.5t184 123t123 184t45.5 224.5h-150q0 -177 -125 -302t-302 -125t-302 125t-125 302t125 302t302 125q136 0 246 -81l-146 -146h400v400l-145 -145q-157 122 -355 122q-118 0 -224.5 -45.5t-184 -123 t-123 -184t-45.5 -224.5z" />
|
|
||||||
<glyph unicode="" d="M23 600q0 118 45.5 224.5t123 184t184 123t224.5 45.5q198 0 355 -122l145 145v-400h-400l147 147q-112 80 -247 80q-177 0 -302 -125t-125 -302h-150zM100 0v400h400l-147 -147q112 -80 247 -80q177 0 302 125t125 302h150q0 -118 -45.5 -224.5t-123 -184t-184 -123 t-224.5 -45.5q-198 0 -355 122z" />
|
|
||||||
<glyph unicode="" d="M100 0h1100v1200h-1100v-1200zM200 100v900h900v-900h-900zM300 200v100h100v-100h-100zM300 400v100h100v-100h-100zM300 600v100h100v-100h-100zM300 800v100h100v-100h-100zM500 200h500v100h-500v-100zM500 400v100h500v-100h-500zM500 600v100h500v-100h-500z M500 800v100h500v-100h-500z" />
|
|
||||||
<glyph unicode="" d="M0 100v600q0 41 29.5 70.5t70.5 29.5h100v200q0 82 59 141t141 59h300q82 0 141 -59t59 -141v-200h100q41 0 70.5 -29.5t29.5 -70.5v-600q0 -41 -29.5 -70.5t-70.5 -29.5h-900q-41 0 -70.5 29.5t-29.5 70.5zM400 800h300v150q0 21 -14.5 35.5t-35.5 14.5h-200 q-21 0 -35.5 -14.5t-14.5 -35.5v-150z" />
|
|
||||||
<glyph unicode="" d="M100 0v1100h100v-1100h-100zM300 400q60 60 127.5 84t127.5 17.5t122 -23t119 -30t110 -11t103 42t91 120.5v500q-40 -81 -101.5 -115.5t-127.5 -29.5t-138 25t-139.5 40t-125.5 25t-103 -29.5t-65 -115.5v-500z" />
|
|
||||||
<glyph unicode="" d="M0 275q0 -11 7 -18t18 -7h50q11 0 18 7t7 18v300q0 127 70.5 231.5t184.5 161.5t245 57t245 -57t184.5 -161.5t70.5 -231.5v-300q0 -11 7 -18t18 -7h50q11 0 18 7t7 18v300q0 116 -49.5 227t-131 192.5t-192.5 131t-227 49.5t-227 -49.5t-192.5 -131t-131 -192.5 t-49.5 -227v-300zM200 20v460q0 8 6 14t14 6h160q8 0 14 -6t6 -14v-460q0 -8 -6 -14t-14 -6h-160q-8 0 -14 6t-6 14zM800 20v460q0 8 6 14t14 6h160q8 0 14 -6t6 -14v-460q0 -8 -6 -14t-14 -6h-160q-8 0 -14 6t-6 14z" />
|
|
||||||
<glyph unicode="" d="M0 400h300l300 -200v800l-300 -200h-300v-400zM688 459l141 141l-141 141l71 71l141 -141l141 141l71 -71l-141 -141l141 -141l-71 -71l-141 141l-141 -141z" />
|
|
||||||
<glyph unicode="" d="M0 400h300l300 -200v800l-300 -200h-300v-400zM700 857l69 53q111 -135 111 -310q0 -169 -106 -302l-67 54q86 110 86 248q0 146 -93 257z" />
|
|
||||||
<glyph unicode="" d="M0 401v400h300l300 200v-800l-300 200h-300zM702 858l69 53q111 -135 111 -310q0 -170 -106 -303l-67 55q86 110 86 248q0 145 -93 257zM889 951l7 -8q123 -151 123 -344q0 -189 -119 -339l-7 -8l81 -66l6 8q142 178 142 405q0 230 -144 408l-6 8z" />
|
|
||||||
<glyph unicode="" d="M0 0h500v500h-200v100h-100v-100h-200v-500zM0 600h100v100h400v100h100v100h-100v300h-500v-600zM100 100v300h300v-300h-300zM100 800v300h300v-300h-300zM200 200v100h100v-100h-100zM200 900h100v100h-100v-100zM500 500v100h300v-300h200v-100h-100v-100h-200v100 h-100v100h100v200h-200zM600 0v100h100v-100h-100zM600 1000h100v-300h200v-300h300v200h-200v100h200v500h-600v-200zM800 800v300h300v-300h-300zM900 0v100h300v-100h-300zM900 900v100h100v-100h-100zM1100 200v100h100v-100h-100z" />
|
|
||||||
<glyph unicode="" d="M0 200h100v1000h-100v-1000zM100 0v100h300v-100h-300zM200 200v1000h100v-1000h-100zM500 0v91h100v-91h-100zM500 200v1000h200v-1000h-200zM700 0v91h100v-91h-100zM800 200v1000h100v-1000h-100zM900 0v91h200v-91h-200zM1000 200v1000h200v-1000h-200z" />
|
|
||||||
<glyph unicode="" d="M1 700v475q0 10 7.5 17.5t17.5 7.5h474l700 -700l-500 -500zM148 953q0 -42 29 -71q30 -30 71.5 -30t71.5 30q29 29 29 71t-29 71q-30 30 -71.5 30t-71.5 -30q-29 -29 -29 -71z" />
|
|
||||||
<glyph unicode="" d="M2 700v475q0 11 7 18t18 7h474l700 -700l-500 -500zM148 953q0 -42 30 -71q29 -30 71 -30t71 30q30 29 30 71t-30 71q-29 30 -71 30t-71 -30q-30 -29 -30 -71zM701 1200h100l700 -700l-500 -500l-50 50l450 450z" />
|
|
||||||
<glyph unicode="" d="M100 0v1025l175 175h925v-1000l-100 -100v1000h-750l-100 -100h750v-1000h-900z" />
|
|
||||||
<glyph unicode="" d="M200 0l450 444l450 -443v1150q0 20 -14.5 35t-35.5 15h-800q-21 0 -35.5 -15t-14.5 -35v-1151z" />
|
|
||||||
<glyph unicode="" d="M0 100v700h200l100 -200h600l100 200h200v-700h-200v200h-800v-200h-200zM253 829l40 -124h592l62 124l-94 346q-2 11 -10 18t-18 7h-450q-10 0 -18 -7t-10 -18zM281 24l38 152q2 10 11.5 17t19.5 7h500q10 0 19.5 -7t11.5 -17l38 -152q2 -10 -3.5 -17t-15.5 -7h-600 q-10 0 -15.5 7t-3.5 17z" />
|
|
||||||
<glyph unicode="" d="M0 200q0 -41 29.5 -70.5t70.5 -29.5h1000q41 0 70.5 29.5t29.5 70.5v600q0 41 -29.5 70.5t-70.5 29.5h-150q-4 8 -11.5 21.5t-33 48t-53 61t-69 48t-83.5 21.5h-200q-41 0 -82 -20.5t-70 -50t-52 -59t-34 -50.5l-12 -20h-150q-41 0 -70.5 -29.5t-29.5 -70.5v-600z M356 500q0 100 72 172t172 72t172 -72t72 -172t-72 -172t-172 -72t-172 72t-72 172zM494 500q0 -44 31 -75t75 -31t75 31t31 75t-31 75t-75 31t-75 -31t-31 -75zM900 700v100h100v-100h-100z" />
|
|
||||||
<glyph unicode="" d="M53 0h365v66q-41 0 -72 11t-49 38t1 71l92 234h391l82 -222q16 -45 -5.5 -88.5t-74.5 -43.5v-66h417v66q-34 1 -74 43q-18 19 -33 42t-21 37l-6 13l-385 998h-93l-399 -1006q-24 -48 -52 -75q-12 -12 -33 -25t-36 -20l-15 -7v-66zM416 521l178 457l46 -140l116 -317h-340 z" />
|
|
||||||
<glyph unicode="" d="M100 0v89q41 7 70.5 32.5t29.5 65.5v827q0 28 -1 39.5t-5.5 26t-15.5 21t-29 14t-49 14.5v70h471q120 0 213 -88t93 -228q0 -55 -11.5 -101.5t-28 -74t-33.5 -47.5t-28 -28l-12 -7q8 -3 21.5 -9t48 -31.5t60.5 -58t47.5 -91.5t21.5 -129q0 -84 -59 -156.5t-142 -111 t-162 -38.5h-500zM400 200h161q89 0 153 48.5t64 132.5q0 90 -62.5 154.5t-156.5 64.5h-159v-400zM400 700h139q76 0 130 61.5t54 138.5q0 82 -84 130.5t-239 48.5v-379z" />
|
|
||||||
<glyph unicode="" d="M200 0v57q77 7 134.5 40.5t65.5 80.5l173 849q10 56 -10 74t-91 37q-6 1 -10.5 2.5t-9.5 2.5v57h425l2 -57q-33 -8 -62 -25.5t-46 -37t-29.5 -38t-17.5 -30.5l-5 -12l-128 -825q-10 -52 14 -82t95 -36v-57h-500z" />
|
|
||||||
<glyph unicode="" d="M-75 200h75v800h-75l125 167l125 -167h-75v-800h75l-125 -167zM300 900v300h150h700h150v-300h-50q0 29 -8 48.5t-18.5 30t-33.5 15t-39.5 5.5t-50.5 1h-200v-850l100 -50v-100h-400v100l100 50v850h-200q-34 0 -50.5 -1t-40 -5.5t-33.5 -15t-18.5 -30t-8.5 -48.5h-49z " />
|
|
||||||
<glyph unicode="" d="M33 51l167 125v-75h800v75l167 -125l-167 -125v75h-800v-75zM100 901v300h150h700h150v-300h-50q0 29 -8 48.5t-18 30t-33.5 15t-40 5.5t-50.5 1h-200v-650l100 -50v-100h-400v100l100 50v650h-200q-34 0 -50.5 -1t-39.5 -5.5t-33.5 -15t-18.5 -30t-8 -48.5h-50z" />
|
|
||||||
<glyph unicode="" d="M0 50q0 -20 14.5 -35t35.5 -15h1100q21 0 35.5 15t14.5 35v100q0 21 -14.5 35.5t-35.5 14.5h-1100q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM0 350q0 -20 14.5 -35t35.5 -15h800q21 0 35.5 15t14.5 35v100q0 21 -14.5 35.5t-35.5 14.5h-800q-21 0 -35.5 -14.5t-14.5 -35.5 v-100zM0 650q0 -20 14.5 -35t35.5 -15h1000q21 0 35.5 15t14.5 35v100q0 21 -14.5 35.5t-35.5 14.5h-1000q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM0 950q0 -20 14.5 -35t35.5 -15h600q21 0 35.5 15t14.5 35v100q0 21 -14.5 35.5t-35.5 14.5h-600q-21 0 -35.5 -14.5 t-14.5 -35.5v-100z" />
|
|
||||||
<glyph unicode="" d="M0 50q0 -20 14.5 -35t35.5 -15h1100q21 0 35.5 15t14.5 35v100q0 21 -14.5 35.5t-35.5 14.5h-1100q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM0 650q0 -20 14.5 -35t35.5 -15h1100q21 0 35.5 15t14.5 35v100q0 21 -14.5 35.5t-35.5 14.5h-1100q-21 0 -35.5 -14.5t-14.5 -35.5 v-100zM200 350q0 -20 14.5 -35t35.5 -15h700q21 0 35.5 15t14.5 35v100q0 21 -14.5 35.5t-35.5 14.5h-700q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM200 950q0 -20 14.5 -35t35.5 -15h700q21 0 35.5 15t14.5 35v100q0 21 -14.5 35.5t-35.5 14.5h-700q-21 0 -35.5 -14.5 t-14.5 -35.5v-100z" />
|
|
||||||
<glyph unicode="" d="M0 50v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100q-21 0 -35.5 15t-14.5 35zM100 650v100q0 21 14.5 35.5t35.5 14.5h1000q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1000q-21 0 -35.5 15 t-14.5 35zM300 350v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-800q-21 0 -35.5 15t-14.5 35zM500 950v100q0 21 14.5 35.5t35.5 14.5h600q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-600 q-21 0 -35.5 15t-14.5 35z" />
|
|
||||||
<glyph unicode="" d="M0 50v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100q-21 0 -35.5 15t-14.5 35zM0 350v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100q-21 0 -35.5 15 t-14.5 35zM0 650v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100q-21 0 -35.5 15t-14.5 35zM0 950v100q0 21 14.5 35.5t35.5 14.5h1100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-1100 q-21 0 -35.5 15t-14.5 35z" />
|
|
||||||
<glyph unicode="" d="M0 50v100q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-100q-21 0 -35.5 15t-14.5 35zM0 350v100q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-100q-21 0 -35.5 15 t-14.5 35zM0 650v100q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-100q-21 0 -35.5 15t-14.5 35zM0 950v100q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-100q-21 0 -35.5 15 t-14.5 35zM300 50v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-800q-21 0 -35.5 15t-14.5 35zM300 350v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-800 q-21 0 -35.5 15t-14.5 35zM300 650v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15h-800q-21 0 -35.5 15t-14.5 35zM300 950v100q0 21 14.5 35.5t35.5 14.5h800q21 0 35.5 -14.5t14.5 -35.5v-100q0 -20 -14.5 -35t-35.5 -15 h-800q-21 0 -35.5 15t-14.5 35z" />
|
|
||||||
<glyph unicode="" d="M-101 500v100h201v75l166 -125l-166 -125v75h-201zM300 0h100v1100h-100v-1100zM500 50q0 -20 14.5 -35t35.5 -15h600q20 0 35 15t15 35v100q0 21 -15 35.5t-35 14.5h-600q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM500 350q0 -20 14.5 -35t35.5 -15h300q20 0 35 15t15 35 v100q0 21 -15 35.5t-35 14.5h-300q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM500 650q0 -20 14.5 -35t35.5 -15h500q20 0 35 15t15 35v100q0 21 -15 35.5t-35 14.5h-500q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM500 950q0 -20 14.5 -35t35.5 -15h100q20 0 35 15t15 35v100 q0 21 -15 35.5t-35 14.5h-100q-21 0 -35.5 -14.5t-14.5 -35.5v-100z" />
|
|
||||||
<glyph unicode="" d="M1 50q0 -20 14.5 -35t35.5 -15h600q20 0 35 15t15 35v100q0 21 -15 35.5t-35 14.5h-600q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM1 350q0 -20 14.5 -35t35.5 -15h300q20 0 35 15t15 35v100q0 21 -15 35.5t-35 14.5h-300q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM1 650 q0 -20 14.5 -35t35.5 -15h500q20 0 35 15t15 35v100q0 21 -15 35.5t-35 14.5h-500q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM1 950q0 -20 14.5 -35t35.5 -15h100q20 0 35 15t15 35v100q0 21 -15 35.5t-35 14.5h-100q-21 0 -35.5 -14.5t-14.5 -35.5v-100zM801 0v1100h100v-1100 h-100zM934 550l167 -125v75h200v100h-200v75z" />
|
|
||||||
<glyph unicode="" d="M0 275v650q0 31 22 53t53 22h750q31 0 53 -22t22 -53v-650q0 -31 -22 -53t-53 -22h-750q-31 0 -53 22t-22 53zM900 600l300 300v-600z" />
|
|
||||||
<glyph unicode="" d="M0 44v1012q0 18 13 31t31 13h1112q19 0 31.5 -13t12.5 -31v-1012q0 -18 -12.5 -31t-31.5 -13h-1112q-18 0 -31 13t-13 31zM100 263l247 182l298 -131l-74 156l293 318l236 -288v500h-1000v-737zM208 750q0 56 39 95t95 39t95 -39t39 -95t-39 -95t-95 -39t-95 39t-39 95z " />
|
|
||||||
<glyph unicode="" d="M148 745q0 124 60.5 231.5t165 172t226.5 64.5q123 0 227 -63t164.5 -169.5t60.5 -229.5t-73 -272q-73 -114 -166.5 -237t-150.5 -189l-57 -66q-10 9 -27 26t-66.5 70.5t-96 109t-104 135.5t-100.5 155q-63 139 -63 262zM342 772q0 -107 75.5 -182.5t181.5 -75.5 q107 0 182.5 75.5t75.5 182.5t-75.5 182t-182.5 75t-182 -75.5t-75 -181.5z" />
|
|
||||||
<glyph unicode="" d="M1 600q0 122 47.5 233t127.5 191t191 127.5t233 47.5t233 -47.5t191 -127.5t127.5 -191t47.5 -233t-47.5 -233t-127.5 -191t-191 -127.5t-233 -47.5t-233 47.5t-191 127.5t-127.5 191t-47.5 233zM173 600q0 -177 125.5 -302t301.5 -125v854q-176 0 -301.5 -125 t-125.5 -302z" />
|
|
||||||
<glyph unicode="" d="M117 406q0 94 34 186t88.5 172.5t112 159t115 177t87.5 194.5q21 -71 57.5 -142.5t76 -130.5t83 -118.5t82 -117t70 -116t50 -125.5t18.5 -136q0 -89 -39 -165.5t-102 -126.5t-140 -79.5t-156 -33.5q-114 6 -211.5 53t-161.5 138.5t-64 210.5zM243 414q14 -82 59.5 -136 t136.5 -80l16 98q-7 6 -18 17t-34 48t-33 77q-15 73 -14 143.5t10 122.5l9 51q-92 -110 -119.5 -185t-12.5 -156z" />
|
|
||||||
<glyph unicode="" d="M0 400v300q0 165 117.5 282.5t282.5 117.5q366 -6 397 -14l-186 -186h-311q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v125l200 200v-225q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-165 0 -282.5 117.5 t-117.5 282.5zM436 341l161 50l412 412l-114 113l-405 -405zM995 1015l113 -113l113 113l-21 85l-92 28z" />
|
|
||||||
<glyph unicode="" d="M0 400v300q0 165 117.5 282.5t282.5 117.5h261l2 -80q-133 -32 -218 -120h-145q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5l200 153v-53q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-165 0 -282.5 117.5t-117.5 282.5 zM423 524q30 38 81.5 64t103 35.5t99 14t77.5 3.5l29 -1v-209l360 324l-359 318v-216q-7 0 -19 -1t-48 -8t-69.5 -18.5t-76.5 -37t-76.5 -59t-62 -88t-39.5 -121.5z" />
|
|
||||||
<glyph unicode="" d="M0 400v300q0 165 117.5 282.5t282.5 117.5h300q60 0 127 -23l-178 -177h-349q-41 0 -70.5 -29.5t-29.5 -70.5v-500q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v69l200 200v-169q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-165 0 -282.5 117.5 t-117.5 282.5zM342 632l283 -284l566 567l-136 137l-430 -431l-147 147z" />
|
|
||||||
<glyph unicode="" d="M0 603l300 296v-198h200v200h-200l300 300l295 -300h-195v-200h200v198l300 -296l-300 -300v198h-200v-200h195l-295 -300l-300 300h200v200h-200v-198z" />
|
|
||||||
<glyph unicode="" d="M200 50v1000q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-437l500 487v-1100l-500 488v-438q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5z" />
|
|
||||||
<glyph unicode="" d="M0 50v1000q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-437l500 487v-487l500 487v-1100l-500 488v-488l-500 488v-438q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5z" />
|
|
||||||
<glyph unicode="" d="M136 550l564 550v-487l500 487v-1100l-500 488v-488z" />
|
|
||||||
<glyph unicode="" d="M200 0l900 550l-900 550v-1100z" />
|
|
||||||
<glyph unicode="" d="M200 150q0 -21 14.5 -35.5t35.5 -14.5h200q21 0 35.5 14.5t14.5 35.5v800q0 21 -14.5 35.5t-35.5 14.5h-200q-21 0 -35.5 -14.5t-14.5 -35.5v-800zM600 150q0 -21 14.5 -35.5t35.5 -14.5h200q21 0 35.5 14.5t14.5 35.5v800q0 21 -14.5 35.5t-35.5 14.5h-200 q-21 0 -35.5 -14.5t-14.5 -35.5v-800z" />
|
|
||||||
<glyph unicode="" d="M200 150q0 -20 14.5 -35t35.5 -15h800q21 0 35.5 15t14.5 35v800q0 21 -14.5 35.5t-35.5 14.5h-800q-21 0 -35.5 -14.5t-14.5 -35.5v-800z" />
|
|
||||||
<glyph unicode="" d="M0 0v1100l500 -487v487l564 -550l-564 -550v488z" />
|
|
||||||
<glyph unicode="" d="M0 0v1100l500 -487v487l500 -487v437q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-1000q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v438l-500 -488v488z" />
|
|
||||||
<glyph unicode="" d="M300 0v1100l500 -487v437q0 21 14.5 35.5t35.5 14.5h100q21 0 35.5 -14.5t14.5 -35.5v-1000q0 -21 -14.5 -35.5t-35.5 -14.5h-100q-21 0 -35.5 14.5t-14.5 35.5v438z" />
|
|
||||||
<glyph unicode="" d="M100 250v100q0 21 14.5 35.5t35.5 14.5h1000q21 0 35.5 -14.5t14.5 -35.5v-100q0 -21 -14.5 -35.5t-35.5 -14.5h-1000q-21 0 -35.5 14.5t-14.5 35.5zM100 500h1100l-550 564z" />
|
|
||||||
<glyph unicode="" d="M185 599l592 -592l240 240l-353 353l353 353l-240 240z" />
|
|
||||||
<glyph unicode="" d="M272 194l353 353l-353 353l241 240l572 -571l21 -22l-1 -1v-1l-592 -591z" />
|
|
||||||
<glyph unicode="" d="M3 600q0 162 80 299.5t217.5 217.5t299.5 80t299.5 -80t217.5 -217.5t80 -299.5t-80 -300t-217.5 -218t-299.5 -80t-299.5 80t-217.5 218t-80 300zM300 500h200v-200h200v200h200v200h-200v200h-200v-200h-200v-200z" />
|
|
||||||
<glyph unicode="" d="M3 600q0 162 80 299.5t217.5 217.5t299.5 80t299.5 -80t217.5 -217.5t80 -299.5t-80 -300t-217.5 -218t-299.5 -80t-299.5 80t-217.5 218t-80 300zM300 500h600v200h-600v-200z" />
|
|
||||||
<glyph unicode="" d="M3 600q0 162 80 299.5t217.5 217.5t299.5 80t299.5 -80t217.5 -217.5t80 -299.5t-80 -300t-217.5 -218t-299.5 -80t-299.5 80t-217.5 218t-80 300zM246 459l213 -213l141 142l141 -142l213 213l-142 141l142 141l-213 212l-141 -141l-141 142l-212 -213l141 -141z" />
|
|
||||||
<glyph unicode="" d="M3 600q0 162 80 299.5t217.5 217.5t299.5 80t299.5 -80t217.5 -217.5t80 -299.5t-80 -299.5t-217.5 -217.5t-299.5 -80t-299.5 80t-217.5 217.5t-80 299.5zM270 551l276 -277l411 411l-175 174l-236 -236l-102 102z" />
|
|
||||||
<glyph unicode="" d="M3 600q0 162 80 299.5t217.5 217.5t299.5 80t299.5 -80t217.5 -217.5t80 -299.5t-80 -300t-217.5 -218t-299.5 -80t-299.5 80t-217.5 218t-80 300zM363 700h144q4 0 11.5 -1t11 -1t6.5 3t3 9t1 11t3.5 8.5t3.5 6t5.5 4t6.5 2.5t9 1.5t9 0.5h11.5h12.5q19 0 30 -10t11 -26 q0 -22 -4 -28t-27 -22q-5 -1 -12.5 -3t-27 -13.5t-34 -27t-26.5 -46t-11 -68.5h200q5 3 14 8t31.5 25.5t39.5 45.5t31 69t14 94q0 51 -17.5 89t-42 58t-58.5 32t-58.5 15t-51.5 3q-105 0 -172 -56t-67 -183zM500 300h200v100h-200v-100z" />
|
|
||||||
<glyph unicode="" d="M3 600q0 162 80 299.5t217.5 217.5t299.5 80t299.5 -80t217.5 -217.5t80 -299.5t-80 -300t-217.5 -218t-299.5 -80t-299.5 80t-217.5 218t-80 300zM400 300h400v100h-100v300h-300v-100h100v-200h-100v-100zM500 800h200v100h-200v-100z" />
|
|
||||||
<glyph unicode="" d="M0 500v200h194q15 60 36 104.5t55.5 86t88 69t126.5 40.5v200h200v-200q54 -20 113 -60t112.5 -105.5t71.5 -134.5h203v-200h-203q-25 -102 -116.5 -186t-180.5 -117v-197h-200v197q-140 27 -208 102.5t-98 200.5h-194zM290 500q24 -73 79.5 -127.5t130.5 -78.5v206h200 v-206q149 48 201 206h-201v200h200q-25 74 -76 127.5t-124 76.5v-204h-200v203q-75 -24 -130 -77.5t-79 -125.5h209v-200h-210z" />
|
|
||||||
<glyph unicode="" d="M4 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM186 600q0 -171 121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM356 465l135 135 l-135 135l109 109l135 -135l135 135l109 -109l-135 -135l135 -135l-109 -109l-135 135l-135 -135z" />
|
|
||||||
<glyph unicode="" d="M4 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM186 600q0 -171 121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM322 537l141 141 l87 -87l204 205l142 -142l-346 -345z" />
|
|
||||||
<glyph unicode="" d="M4 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM186 600q0 -115 62 -215l568 567q-100 62 -216 62q-171 0 -292.5 -121.5t-121.5 -292.5zM391 245q97 -59 209 -59q171 0 292.5 121.5t121.5 292.5 q0 112 -59 209z" />
|
|
||||||
<glyph unicode="" d="M0 547l600 453v-300h600v-300h-600v-301z" />
|
|
||||||
<glyph unicode="" d="M0 400v300h600v300l600 -453l-600 -448v301h-600z" />
|
|
||||||
<glyph unicode="" d="M204 600l450 600l444 -600h-298v-600h-300v600h-296z" />
|
|
||||||
<glyph unicode="" d="M104 600h296v600h300v-600h298l-449 -600z" />
|
|
||||||
<glyph unicode="" d="M0 200q6 132 41 238.5t103.5 193t184 138t271.5 59.5v271l600 -453l-600 -448v301q-95 -2 -183 -20t-170 -52t-147 -92.5t-100 -135.5z" />
|
|
||||||
<glyph unicode="" d="M0 0v400l129 -129l294 294l142 -142l-294 -294l129 -129h-400zM635 777l142 -142l294 294l129 -129v400h-400l129 -129z" />
|
|
||||||
<glyph unicode="" d="M34 176l295 295l-129 129h400v-400l-129 130l-295 -295zM600 600v400l129 -129l295 295l142 -141l-295 -295l129 -130h-400z" />
|
|
||||||
<glyph unicode="" d="M23 600q0 118 45.5 224.5t123 184t184 123t224.5 45.5t224.5 -45.5t184 -123t123 -184t45.5 -224.5t-45.5 -224.5t-123 -184t-184 -123t-224.5 -45.5t-224.5 45.5t-184 123t-123 184t-45.5 224.5zM456 851l58 -302q4 -20 21.5 -34.5t37.5 -14.5h54q20 0 37.5 14.5 t21.5 34.5l58 302q4 20 -8 34.5t-33 14.5h-207q-20 0 -32 -14.5t-8 -34.5zM500 300h200v100h-200v-100z" />
|
|
||||||
<glyph unicode="" d="M0 800h100v-200h400v300h200v-300h400v200h100v100h-111v6t-1 15t-3 18l-34 172q-11 39 -41.5 63t-69.5 24q-32 0 -61 -17l-239 -144q-22 -13 -40 -35q-19 24 -40 36l-238 144q-33 18 -62 18q-39 0 -69.5 -23t-40.5 -61l-35 -177q-2 -8 -3 -18t-1 -15v-6h-111v-100z M100 0h400v400h-400v-400zM200 900q-3 0 14 48t35 96l18 47l214 -191h-281zM700 0v400h400v-400h-400zM731 900l202 197q5 -12 12 -32.5t23 -64t25 -72t7 -28.5h-269z" />
|
|
||||||
<glyph unicode="" d="M0 -22v143l216 193q-9 53 -13 83t-5.5 94t9 113t38.5 114t74 124q47 60 99.5 102.5t103 68t127.5 48t145.5 37.5t184.5 43.5t220 58.5q0 -189 -22 -343t-59 -258t-89 -181.5t-108.5 -120t-122 -68t-125.5 -30t-121.5 -1.5t-107.5 12.5t-87.5 17t-56.5 7.5l-99 -55z M238.5 300.5q19.5 -6.5 86.5 76.5q55 66 367 234q70 38 118.5 69.5t102 79t99 111.5t86.5 148q22 50 24 60t-6 19q-7 5 -17 5t-26.5 -14.5t-33.5 -39.5q-35 -51 -113.5 -108.5t-139.5 -89.5l-61 -32q-369 -197 -458 -401q-48 -111 -28.5 -117.5z" />
|
|
||||||
<glyph unicode="" d="M111 408q0 -33 5 -63q9 -56 44 -119.5t105 -108.5q31 -21 64 -16t62 23.5t57 49.5t48 61.5t35 60.5q32 66 39 184.5t-13 157.5q79 -80 122 -164t26 -184q-5 -33 -20.5 -69.5t-37.5 -80.5q-10 -19 -14.5 -29t-12 -26t-9 -23.5t-3 -19t2.5 -15.5t11 -9.5t19.5 -5t30.5 2.5 t42 8q57 20 91 34t87.5 44.5t87 64t65.5 88.5t47 122q38 172 -44.5 341.5t-246.5 278.5q22 -44 43 -129q39 -159 -32 -154q-15 2 -33 9q-79 33 -120.5 100t-44 175.5t48.5 257.5q-13 -8 -34 -23.5t-72.5 -66.5t-88.5 -105.5t-60 -138t-8 -166.5q2 -12 8 -41.5t8 -43t6 -39.5 t3.5 -39.5t-1 -33.5t-6 -31.5t-13.5 -24t-21 -20.5t-31 -12q-38 -10 -67 13t-40.5 61.5t-15 81.5t10.5 75q-52 -46 -83.5 -101t-39 -107t-7.5 -85z" />
|
|
||||||
<glyph unicode="" d="M-61 600l26 40q6 10 20 30t49 63.5t74.5 85.5t97 90t116.5 83.5t132.5 59t145.5 23.5t145.5 -23.5t132.5 -59t116.5 -83.5t97 -90t74.5 -85.5t49 -63.5t20 -30l26 -40l-26 -40q-6 -10 -20 -30t-49 -63.5t-74.5 -85.5t-97 -90t-116.5 -83.5t-132.5 -59t-145.5 -23.5 t-145.5 23.5t-132.5 59t-116.5 83.5t-97 90t-74.5 85.5t-49 63.5t-20 30zM120 600q7 -10 40.5 -58t56 -78.5t68 -77.5t87.5 -75t103 -49.5t125 -21.5t123.5 20t100.5 45.5t85.5 71.5t66.5 75.5t58 81.5t47 66q-1 1 -28.5 37.5t-42 55t-43.5 53t-57.5 63.5t-58.5 54 q49 -74 49 -163q0 -124 -88 -212t-212 -88t-212 88t-88 212q0 85 46 158q-102 -87 -226 -258zM377 656q49 -124 154 -191l105 105q-37 24 -75 72t-57 84l-20 36z" />
|
|
||||||
<glyph unicode="" d="M-61 600l26 40q6 10 20 30t49 63.5t74.5 85.5t97 90t116.5 83.5t132.5 59t145.5 23.5q61 0 121 -17l37 142h148l-314 -1200h-148l37 143q-82 21 -165 71.5t-140 102t-109.5 112t-72 88.5t-29.5 43zM120 600q210 -282 393 -336l37 141q-107 18 -178.5 101.5t-71.5 193.5 q0 85 46 158q-102 -87 -226 -258zM377 656q49 -124 154 -191l47 47l23 87q-30 28 -59 69t-44 68l-14 26zM780 161l38 145q22 15 44.5 34t46 44t40.5 44t41 50.5t33.5 43.5t33 44t24.5 34q-97 127 -140 175l39 146q67 -54 131.5 -125.5t87.5 -103.5t36 -52l26 -40l-26 -40 q-7 -12 -25.5 -38t-63.5 -79.5t-95.5 -102.5t-124 -100t-146.5 -79z" />
|
|
||||||
<glyph unicode="" d="M-97.5 34q13.5 -34 50.5 -34h1294q37 0 50.5 35.5t-7.5 67.5l-642 1056q-20 33 -48 36t-48 -29l-642 -1066q-21 -32 -7.5 -66zM155 200l445 723l445 -723h-345v100h-200v-100h-345zM500 600l100 -300l100 300v100h-200v-100z" />
|
|
||||||
<glyph unicode="" d="M100 262v41q0 20 11 44.5t26 38.5l363 325v339q0 62 44 106t106 44t106 -44t44 -106v-339l363 -325q15 -14 26 -38.5t11 -44.5v-41q0 -20 -12 -26.5t-29 5.5l-359 249v-263q100 -91 100 -113v-64q0 -21 -13 -29t-32 1l-94 78h-222l-94 -78q-19 -9 -32 -1t-13 29v64 q0 22 100 113v263l-359 -249q-17 -12 -29 -5.5t-12 26.5z" />
|
|
||||||
<glyph unicode="" d="M0 50q0 -20 14.5 -35t35.5 -15h1000q21 0 35.5 15t14.5 35v750h-1100v-750zM0 900h1100v150q0 21 -14.5 35.5t-35.5 14.5h-150v100h-100v-100h-500v100h-100v-100h-150q-21 0 -35.5 -14.5t-14.5 -35.5v-150zM100 100v100h100v-100h-100zM100 300v100h100v-100h-100z M100 500v100h100v-100h-100zM300 100v100h100v-100h-100zM300 300v100h100v-100h-100zM300 500v100h100v-100h-100zM500 100v100h100v-100h-100zM500 300v100h100v-100h-100zM500 500v100h100v-100h-100zM700 100v100h100v-100h-100zM700 300v100h100v-100h-100zM700 500 v100h100v-100h-100zM900 100v100h100v-100h-100zM900 300v100h100v-100h-100zM900 500v100h100v-100h-100z" />
|
|
||||||
<glyph unicode="" d="M0 200v200h259l600 600h241v198l300 -295l-300 -300v197h-159l-600 -600h-341zM0 800h259l122 -122l141 142l-181 180h-341v-200zM678 381l141 142l122 -123h159v198l300 -295l-300 -300v197h-241z" />
|
|
||||||
<glyph unicode="" d="M0 400v600q0 41 29.5 70.5t70.5 29.5h1000q41 0 70.5 -29.5t29.5 -70.5v-600q0 -41 -29.5 -70.5t-70.5 -29.5h-596l-304 -300v300h-100q-41 0 -70.5 29.5t-29.5 70.5z" />
|
|
||||||
<glyph unicode="" d="M100 600v200h300v-250q0 -113 6 -145q17 -92 102 -117q39 -11 92 -11q37 0 66.5 5.5t50 15.5t36 24t24 31.5t14 37.5t7 42t2.5 45t0 47v25v250h300v-200q0 -42 -3 -83t-15 -104t-31.5 -116t-58 -109.5t-89 -96.5t-129 -65.5t-174.5 -25.5t-174.5 25.5t-129 65.5t-89 96.5 t-58 109.5t-31.5 116t-15 104t-3 83zM100 900v300h300v-300h-300zM800 900v300h300v-300h-300z" />
|
|
||||||
<glyph unicode="" d="M-30 411l227 -227l352 353l353 -353l226 227l-578 579z" />
|
|
||||||
<glyph unicode="" d="M70 797l580 -579l578 579l-226 227l-353 -353l-352 353z" />
|
|
||||||
<glyph unicode="" d="M-198 700l299 283l300 -283h-203v-400h385l215 -200h-800v600h-196zM402 1000l215 -200h381v-400h-198l299 -283l299 283h-200v600h-796z" />
|
|
||||||
<glyph unicode="" d="M18 939q-5 24 10 42q14 19 39 19h896l38 162q5 17 18.5 27.5t30.5 10.5h94q20 0 35 -14.5t15 -35.5t-15 -35.5t-35 -14.5h-54l-201 -961q-2 -4 -6 -10.5t-19 -17.5t-33 -11h-31v-50q0 -20 -14.5 -35t-35.5 -15t-35.5 15t-14.5 35v50h-300v-50q0 -20 -14.5 -35t-35.5 -15 t-35.5 15t-14.5 35v50h-50q-21 0 -35.5 15t-14.5 35q0 21 14.5 35.5t35.5 14.5h535l48 200h-633q-32 0 -54.5 21t-27.5 43z" />
|
|
||||||
<glyph unicode="" d="M0 0v800h1200v-800h-1200zM0 900v100h200q0 41 29.5 70.5t70.5 29.5h300q41 0 70.5 -29.5t29.5 -70.5h500v-100h-1200z" />
|
|
||||||
<glyph unicode="" d="M1 0l300 700h1200l-300 -700h-1200zM1 400v600h200q0 41 29.5 70.5t70.5 29.5h300q41 0 70.5 -29.5t29.5 -70.5h500v-200h-1000z" />
|
|
||||||
<glyph unicode="" d="M302 300h198v600h-198l298 300l298 -300h-198v-600h198l-298 -300z" />
|
|
||||||
<glyph unicode="" d="M0 600l300 298v-198h600v198l300 -298l-300 -297v197h-600v-197z" />
|
|
||||||
<glyph unicode="" d="M0 100v100q0 41 29.5 70.5t70.5 29.5h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5zM31 400l172 739q5 22 23 41.5t38 19.5h672q19 0 37.5 -22.5t23.5 -45.5l172 -732h-1138zM800 100h100v100h-100v-100z M1000 100h100v100h-100v-100z" />
|
|
||||||
<glyph unicode="" d="M-101 600v50q0 24 25 49t50 38l25 13v-250l-11 5.5t-24 14t-30 21.5t-24 27.5t-11 31.5zM99 500v250v5q0 13 0.5 18.5t2.5 13t8 10.5t15 3h200l675 250v-850l-675 200h-38l47 -276q2 -12 -3 -17.5t-11 -6t-21 -0.5h-8h-83q-20 0 -34.5 14t-18.5 35q-56 337 -56 351z M1100 200v850q0 21 14.5 35.5t35.5 14.5q20 0 35 -14.5t15 -35.5v-850q0 -20 -15 -35t-35 -15q-21 0 -35.5 15t-14.5 35z" />
|
|
||||||
<glyph unicode="" d="M74 350q0 21 13.5 35.5t33.5 14.5h17l118 173l63 327q15 77 76 140t144 83l-18 32q-6 19 3 32t29 13h94q20 0 29 -10.5t3 -29.5l-18 -37q83 -19 144 -82.5t76 -140.5l63 -327l118 -173h17q20 0 33.5 -14.5t13.5 -35.5q0 -20 -13 -40t-31 -27q-22 -9 -63 -23t-167.5 -37 t-251.5 -23t-245.5 20.5t-178.5 41.5l-58 20q-18 7 -31 27.5t-13 40.5zM497 110q12 -49 40 -79.5t63 -30.5t63 30.5t39 79.5q-48 -6 -102 -6t-103 6z" />
|
|
||||||
<glyph unicode="" d="M21 445l233 -45l-78 -224l224 78l45 -233l155 179l155 -179l45 233l224 -78l-78 224l234 45l-180 155l180 156l-234 44l78 225l-224 -78l-45 233l-155 -180l-155 180l-45 -233l-224 78l78 -225l-233 -44l179 -156z" />
|
|
||||||
<glyph unicode="" d="M0 200h200v600h-200v-600zM300 275q0 -75 100 -75h61q123 -100 139 -100h250q46 0 83 57l238 344q29 31 29 74v100q0 44 -30.5 84.5t-69.5 40.5h-328q28 118 28 125v150q0 44 -30.5 84.5t-69.5 40.5h-50q-27 0 -51 -20t-38 -48l-96 -198l-145 -196q-20 -26 -20 -63v-400z M400 300v375l150 212l100 213h50v-175l-50 -225h450v-125l-250 -375h-214l-136 100h-100z" />
|
|
||||||
<glyph unicode="" d="M0 400v600h200v-600h-200zM300 525v400q0 75 100 75h61q123 100 139 100h250q46 0 83 -57l238 -344q29 -31 29 -74v-100q0 -44 -30.5 -84.5t-69.5 -40.5h-328q28 -118 28 -125v-150q0 -44 -30.5 -84.5t-69.5 -40.5h-50q-27 0 -51 20t-38 48l-96 198l-145 196 q-20 26 -20 63zM400 525l150 -212l100 -213h50v175l-50 225h450v125l-250 375h-214l-136 -100h-100v-375z" />
|
|
||||||
<glyph unicode="" d="M8 200v600h200v-600h-200zM308 275v525q0 17 14 35.5t28 28.5l14 9l362 230q14 6 25 6q17 0 29 -12l109 -112q14 -14 14 -34q0 -18 -11 -32l-85 -121h302q85 0 138.5 -38t53.5 -110t-54.5 -111t-138.5 -39h-107l-130 -339q-7 -22 -20.5 -41.5t-28.5 -19.5h-341 q-7 0 -90 81t-83 94zM408 289l100 -89h293l131 339q6 21 19.5 41t28.5 20h203q16 0 25 15t9 36q0 20 -9 34.5t-25 14.5h-457h-6.5h-7.5t-6.5 0.5t-6 1t-5 1.5t-5.5 2.5t-4 4t-4 5.5q-5 12 -5 20q0 14 10 27l147 183l-86 83l-339 -236v-503z" />
|
|
||||||
<glyph unicode="" d="M-101 651q0 72 54 110t139 37h302l-85 121q-11 16 -11 32q0 21 14 34l109 113q13 12 29 12q11 0 25 -6l365 -230q7 -4 16.5 -10.5t26 -26t16.5 -36.5v-526q0 -13 -85.5 -93.5t-93.5 -80.5h-342q-15 0 -28.5 20t-19.5 41l-131 339h-106q-84 0 -139 39t-55 111zM-1 601h222 q15 0 28.5 -20.5t19.5 -40.5l131 -339h293l106 89v502l-342 237l-87 -83l145 -184q10 -11 10 -26q0 -11 -5 -20q-1 -3 -3.5 -5.5l-4 -4t-5 -2.5t-5.5 -1.5t-6.5 -1t-6.5 -0.5h-7.5h-6.5h-476v-100zM999 201v600h200v-600h-200z" />
|
|
||||||
<glyph unicode="" d="M97 719l230 -363q4 -6 10.5 -15.5t26 -25t36.5 -15.5h525q13 0 94 83t81 90v342q0 15 -20 28.5t-41 19.5l-339 131v106q0 84 -39 139t-111 55t-110 -53.5t-38 -138.5v-302l-121 84q-15 12 -33.5 11.5t-32.5 -13.5l-112 -110q-22 -22 -6 -53zM172 739l83 86l183 -146 q22 -18 47 -5q3 1 5.5 3.5l4 4t2.5 5t1.5 5.5t1 6.5t0.5 6v7.5v7v456q0 22 25 31t50 -0.5t25 -30.5v-202q0 -16 20 -29.5t41 -19.5l339 -130v-294l-89 -100h-503zM400 0v200h600v-200h-600z" />
|
|
||||||
<glyph unicode="" d="M1 585q-15 -31 7 -53l112 -110q13 -13 32 -13.5t34 10.5l121 85l-1 -302q0 -84 38.5 -138t110.5 -54t111 55t39 139v106l339 131q20 6 40.5 19.5t20.5 28.5v342q0 7 -81 90t-94 83h-525q-17 0 -35.5 -14t-28.5 -28l-10 -15zM76 565l237 339h503l89 -100v-294l-340 -130 q-20 -6 -40 -20t-20 -29v-202q0 -22 -25 -31t-50 0t-25 31v456v14.5t-1.5 11.5t-5 12t-9.5 7q-24 13 -46 -5l-184 -146zM305 1104v200h600v-200h-600z" />
|
|
||||||
<glyph unicode="" d="M5 597q0 122 47.5 232.5t127.5 190.5t190.5 127.5t232.5 47.5q162 0 299.5 -80t217.5 -218t80 -300t-80 -299.5t-217.5 -217.5t-299.5 -80t-300 80t-218 217.5t-80 299.5zM300 500h300l-2 -194l402 294l-402 298v-197h-298v-201z" />
|
|
||||||
<glyph unicode="" d="M0 597q0 122 47.5 232.5t127.5 190.5t190.5 127.5t231.5 47.5q122 0 232.5 -47.5t190.5 -127.5t127.5 -190.5t47.5 -232.5q0 -162 -80 -299.5t-218 -217.5t-300 -80t-299.5 80t-217.5 217.5t-80 299.5zM200 600l400 -294v194h302v201h-300v197z" />
|
|
||||||
<glyph unicode="" d="M5 597q0 122 47.5 232.5t127.5 190.5t190.5 127.5t232.5 47.5q121 0 231.5 -47.5t190.5 -127.5t127.5 -190.5t47.5 -232.5q0 -162 -80 -299.5t-217.5 -217.5t-299.5 -80t-300 80t-218 217.5t-80 299.5zM300 600h200v-300h200v300h200l-300 400z" />
|
|
||||||
<glyph unicode="" d="M5 597q0 122 47.5 232.5t127.5 190.5t190.5 127.5t232.5 47.5q121 0 231.5 -47.5t190.5 -127.5t127.5 -190.5t47.5 -232.5q0 -162 -80 -299.5t-217.5 -217.5t-299.5 -80t-300 80t-218 217.5t-80 299.5zM300 600l300 -400l300 400h-200v300h-200v-300h-200z" />
|
|
||||||
<glyph unicode="" d="M5 597q0 122 47.5 232.5t127.5 190.5t190.5 127.5t232.5 47.5q121 0 231.5 -47.5t190.5 -127.5t127.5 -190.5t47.5 -232.5q0 -162 -80 -299.5t-217.5 -217.5t-299.5 -80t-300 80t-218 217.5t-80 299.5zM254 780q-8 -34 5.5 -93t7.5 -87q0 -9 17 -44t16 -60q12 0 23 -5.5 t23 -15t20 -13.5q20 -10 108 -42q22 -8 53 -31.5t59.5 -38.5t57.5 -11q8 -18 -15 -55.5t-20 -57.5q12 -21 22.5 -34.5t28 -27t36.5 -17.5q0 -6 -3 -15.5t-3.5 -14.5t4.5 -17q101 -2 221 111q31 30 47 48t34 49t21 62q-14 9 -37.5 9.5t-35.5 7.5q-14 7 -49 15t-52 19 q-9 0 -39.5 -0.5t-46.5 -1.5t-39 -6.5t-39 -16.5q-50 -35 -66 -12q-4 2 -3.5 25.5t0.5 25.5q-6 13 -26.5 17t-24.5 7q2 22 -2 41t-16.5 28t-38.5 -20q-23 -25 -42 4q-19 28 -8 58q8 16 22 22q6 -1 26 -1.5t33.5 -4.5t19.5 -13q12 -19 32 -37.5t34 -27.5l14 -8q0 3 9.5 39.5 t5.5 57.5q-4 23 14.5 44.5t22.5 31.5q5 14 10 35t8.5 31t15.5 22.5t34 21.5q-6 18 10 37q8 0 23.5 -1.5t24.5 -1.5t20.5 4.5t20.5 15.5q-10 23 -30.5 42.5t-38 30t-49 26.5t-43.5 23q11 41 1 44q31 -13 58.5 -14.5t39.5 3.5l11 4q6 36 -17 53.5t-64 28.5t-56 23 q-19 -3 -37 0q-15 -12 -36.5 -21t-34.5 -12t-44 -8t-39 -6q-15 -3 -46 0t-45 -3q-20 -6 -51.5 -25.5t-34.5 -34.5q-3 -11 6.5 -22.5t8.5 -18.5q-3 -34 -27.5 -91t-29.5 -79zM518 915q3 12 16 30.5t16 25.5q10 -10 18.5 -10t14 6t14.5 14.5t16 12.5q0 -18 8 -42.5t16.5 -44 t9.5 -23.5q-6 1 -39 5t-53.5 10t-36.5 16z" />
|
|
||||||
<glyph unicode="" d="M0 164.5q0 21.5 15 37.5l600 599q-33 101 6 201.5t135 154.5q164 92 306 -9l-259 -138l145 -232l251 126q13 -175 -151 -267q-123 -70 -253 -23l-596 -596q-15 -16 -36.5 -16t-36.5 16l-111 110q-15 15 -15 36.5z" />
|
|
||||||
<glyph unicode="" horiz-adv-x="1220" d="M0 196v100q0 41 29.5 70.5t70.5 29.5h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5zM0 596v100q0 41 29.5 70.5t70.5 29.5h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000 q-41 0 -70.5 29.5t-29.5 70.5zM0 996v100q0 41 29.5 70.5t70.5 29.5h1000q41 0 70.5 -29.5t29.5 -70.5v-100q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5zM600 596h500v100h-500v-100zM800 196h300v100h-300v-100zM900 996h200v100h-200v-100z" />
|
|
||||||
<glyph unicode="" d="M100 1100v100h1000v-100h-1000zM150 1000h900l-350 -500v-300l-200 -200v500z" />
|
|
||||||
<glyph unicode="" d="M0 200v200h1200v-200q0 -41 -29.5 -70.5t-70.5 -29.5h-1000q-41 0 -70.5 29.5t-29.5 70.5zM0 500v400q0 41 29.5 70.5t70.5 29.5h300v100q0 41 29.5 70.5t70.5 29.5h200q41 0 70.5 -29.5t29.5 -70.5v-100h300q41 0 70.5 -29.5t29.5 -70.5v-400h-500v100h-200v-100h-500z M500 1000h200v100h-200v-100z" />
|
|
||||||
<glyph unicode="" d="M0 0v400l129 -129l200 200l142 -142l-200 -200l129 -129h-400zM0 800l129 129l200 -200l142 142l-200 200l129 129h-400v-400zM729 329l142 142l200 -200l129 129v-400h-400l129 129zM729 871l200 200l-129 129h400v-400l-129 129l-200 -200z" />
|
|
||||||
<glyph unicode="" d="M0 596q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM182 596q0 -172 121.5 -293t292.5 -121t292.5 121t121.5 293q0 171 -121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM291 655 q0 23 15.5 38.5t38.5 15.5t39 -16t16 -38q0 -23 -16 -39t-39 -16q-22 0 -38 16t-16 39zM400 850q0 22 16 38.5t39 16.5q22 0 38 -16t16 -39t-16 -39t-38 -16q-23 0 -39 16.5t-16 38.5zM513 609q0 32 21 56.5t52 29.5l122 126l1 1q-9 14 -9 28q0 22 16 38.5t39 16.5 q22 0 38 -16t16 -39t-16 -39t-38 -16q-16 0 -29 10l-55 -145q17 -22 17 -51q0 -36 -25.5 -61.5t-61.5 -25.5q-37 0 -62.5 25.5t-25.5 61.5zM800 655q0 22 16 38t39 16t38.5 -15.5t15.5 -38.5t-16 -39t-38 -16q-23 0 -39 16t-16 39z" />
|
|
||||||
<glyph unicode="" d="M-40 375q-13 -95 35 -173q35 -57 94 -89t129 -32q63 0 119 28q33 16 65 40.5t52.5 45.5t59.5 64q40 44 57 61l394 394q35 35 47 84t-3 96q-27 87 -117 104q-20 2 -29 2q-46 0 -79.5 -17t-67.5 -51l-388 -396l-7 -7l69 -67l377 373q20 22 39 38q23 23 50 23q38 0 53 -36 q16 -39 -20 -75l-547 -547q-52 -52 -125 -52q-55 0 -100 33t-54 96q-5 35 2.5 66t31.5 63t42 50t56 54q24 21 44 41l348 348q52 52 82.5 79.5t84 54t107.5 26.5q25 0 48 -4q95 -17 154 -94.5t51 -175.5q-7 -101 -98 -192l-252 -249l-253 -256l7 -7l69 -60l517 511 q67 67 95 157t11 183q-16 87 -67 154t-130 103q-69 33 -152 33q-107 0 -197 -55q-40 -24 -111 -95l-512 -512q-68 -68 -81 -163z" />
|
|
||||||
<glyph unicode="" d="M79 784q0 131 99 229.5t230 98.5q144 0 242 -129q103 129 245 129q130 0 227 -98.5t97 -229.5q0 -46 -17.5 -91t-61 -99t-77 -89.5t-104.5 -105.5q-197 -191 -293 -322l-17 -23l-16 23q-43 58 -100 122.5t-92 99.5t-101 100l-84.5 84.5t-68 74t-60 78t-33.5 70.5t-15 78z M250 784q0 -27 30.5 -70t61.5 -75.5t95 -94.5l22 -22q93 -90 190 -201q82 92 195 203l12 12q64 62 97.5 97t64.5 79t31 72q0 71 -48 119.5t-106 48.5q-73 0 -131 -83l-118 -171l-114 174q-51 80 -124 80q-59 0 -108.5 -49.5t-49.5 -118.5z" />
|
|
||||||
<glyph unicode="" d="M57 353q0 -94 66 -160l141 -141q66 -66 159 -66q95 0 159 66l283 283q66 66 66 159t-66 159l-141 141q-12 12 -19 17l-105 -105l212 -212l-389 -389l-247 248l95 95l-18 18q-46 45 -75 101l-55 -55q-66 -66 -66 -159zM269 706q0 -93 66 -159l141 -141l19 -17l105 105 l-212 212l389 389l247 -247l-95 -96l18 -18q46 -46 77 -99l29 29q35 35 62.5 88t27.5 96q0 93 -66 159l-141 141q-66 66 -159 66q-95 0 -159 -66l-283 -283q-66 -64 -66 -159z" />
|
|
||||||
<glyph unicode="" d="M200 100v953q0 21 30 46t81 48t129 38t163 15t162 -15t127 -38t79 -48t29 -46v-953q0 -41 -29.5 -70.5t-70.5 -29.5h-600q-41 0 -70.5 29.5t-29.5 70.5zM300 300h600v700h-600v-700zM496 150q0 -43 30.5 -73.5t73.5 -30.5t73.5 30.5t30.5 73.5t-30.5 73.5t-73.5 30.5 t-73.5 -30.5t-30.5 -73.5z" />
|
|
||||||
<glyph unicode="" d="M0 0l303 380l207 208l-210 212h300l267 279l-35 36q-15 14 -15 35t15 35q14 15 35 15t35 -15l283 -282q15 -15 15 -36t-15 -35q-14 -15 -35 -15t-35 15l-36 35l-279 -267v-300l-212 210l-208 -207z" />
|
|
||||||
<glyph unicode="" d="M295 433h139q5 -77 48.5 -126.5t117.5 -64.5v335l-27 7q-46 14 -79 26.5t-72 36t-62.5 52t-40 72.5t-16.5 99q0 92 44 159.5t109 101t144 40.5v78h100v-79q38 -4 72.5 -13.5t75.5 -31.5t71 -53.5t51.5 -84t24.5 -118.5h-159q-8 72 -35 109.5t-101 50.5v-307l64 -14 q34 -7 64 -16.5t70 -31.5t67.5 -52t47.5 -80.5t20 -112.5q0 -139 -89 -224t-244 -96v-77h-100v78q-152 17 -237 104q-40 40 -52.5 93.5t-15.5 139.5zM466 889q0 -29 8 -51t16.5 -34t29.5 -22.5t31 -13.5t38 -10q7 -2 11 -3v274q-61 -8 -97.5 -37.5t-36.5 -102.5zM700 237 q170 18 170 151q0 64 -44 99.5t-126 60.5v-311z" />
|
|
||||||
<glyph unicode="" d="M100 600v100h166q-24 49 -44 104q-10 26 -14.5 55.5t-3 72.5t25 90t68.5 87q97 88 263 88q129 0 230 -89t101 -208h-153q0 52 -34 89.5t-74 51.5t-76 14q-37 0 -79 -14.5t-62 -35.5q-41 -44 -41 -101q0 -11 2.5 -24.5t5.5 -24t9.5 -26.5t10.5 -25t14 -27.5t14 -25.5 t15.5 -27t13.5 -24h242v-100h-197q8 -50 -2.5 -115t-31.5 -94q-41 -59 -99 -113q35 11 84 18t70 7q32 1 102 -16t104 -17q76 0 136 30l50 -147q-41 -25 -80.5 -36.5t-59 -13t-61.5 -1.5q-23 0 -128 33t-155 29q-39 -4 -82 -17t-66 -25l-24 -11l-55 145l16.5 11t15.5 10 t13.5 9.5t14.5 12t14.5 14t17.5 18.5q48 55 54 126.5t-30 142.5h-221z" />
|
|
||||||
<glyph unicode="" d="M2 300l298 -300l298 300h-198v900h-200v-900h-198zM602 900l298 300l298 -300h-198v-900h-200v900h-198z" />
|
|
||||||
<glyph unicode="" d="M2 300h198v900h200v-900h198l-298 -300zM700 0v200h100v-100h200v-100h-300zM700 400v100h300v-200h-99v-100h-100v100h99v100h-200zM700 700v500h300v-500h-100v100h-100v-100h-100zM801 900h100v200h-100v-200z" />
|
|
||||||
<glyph unicode="" d="M2 300h198v900h200v-900h198l-298 -300zM700 0v500h300v-500h-100v100h-100v-100h-100zM700 700v200h100v-100h200v-100h-300zM700 1100v100h300v-200h-99v-100h-100v100h99v100h-200zM801 200h100v200h-100v-200z" />
|
|
||||||
<glyph unicode="" d="M2 300l298 -300l298 300h-198v900h-200v-900h-198zM800 100v400h300v-500h-100v100h-200zM800 1100v100h200v-500h-100v400h-100zM901 200h100v200h-100v-200z" />
|
|
||||||
<glyph unicode="" d="M2 300l298 -300l298 300h-198v900h-200v-900h-198zM800 400v100h200v-500h-100v400h-100zM800 800v400h300v-500h-100v100h-200zM901 900h100v200h-100v-200z" />
|
|
||||||
<glyph unicode="" d="M2 300l298 -300l298 300h-198v900h-200v-900h-198zM700 100v200h500v-200h-500zM700 400v200h400v-200h-400zM700 700v200h300v-200h-300zM700 1000v200h200v-200h-200z" />
|
|
||||||
<glyph unicode="" d="M2 300l298 -300l298 300h-198v900h-200v-900h-198zM700 100v200h200v-200h-200zM700 400v200h300v-200h-300zM700 700v200h400v-200h-400zM700 1000v200h500v-200h-500z" />
|
|
||||||
<glyph unicode="" d="M0 400v300q0 165 117.5 282.5t282.5 117.5h300q162 0 281 -118.5t119 -281.5v-300q0 -165 -118.5 -282.5t-281.5 -117.5h-300q-165 0 -282.5 117.5t-117.5 282.5zM200 300q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5 h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500z" />
|
|
||||||
<glyph unicode="" d="M0 400v300q0 163 119 281.5t281 118.5h300q165 0 282.5 -117.5t117.5 -282.5v-300q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-163 0 -281.5 117.5t-118.5 282.5zM200 300q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5 h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500zM400 300l333 250l-333 250v-500z" />
|
|
||||||
<glyph unicode="" d="M0 400v300q0 163 117.5 281.5t282.5 118.5h300q163 0 281.5 -119t118.5 -281v-300q0 -165 -117.5 -282.5t-282.5 -117.5h-300q-165 0 -282.5 117.5t-117.5 282.5zM200 300q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5 h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500zM300 700l250 -333l250 333h-500z" />
|
|
||||||
<glyph unicode="" d="M0 400v300q0 165 117.5 282.5t282.5 117.5h300q165 0 282.5 -117.5t117.5 -282.5v-300q0 -162 -118.5 -281t-281.5 -119h-300q-165 0 -282.5 118.5t-117.5 281.5zM200 300q0 -41 29.5 -70.5t70.5 -29.5h500q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5 h-500q-41 0 -70.5 -29.5t-29.5 -70.5v-500zM300 400h500l-250 333z" />
|
|
||||||
<glyph unicode="" d="M0 400v300h300v200l400 -350l-400 -350v200h-300zM500 0v200h500q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5h-500v200h400q165 0 282.5 -117.5t117.5 -282.5v-300q0 -165 -117.5 -282.5t-282.5 -117.5h-400z" />
|
|
||||||
<glyph unicode="" d="M216 519q10 -19 32 -19h302q-155 -438 -160 -458q-5 -21 4 -32l9 -8l9 -1q13 0 26 16l538 630q15 19 6 36q-8 18 -32 16h-300q1 4 78 219.5t79 227.5q2 17 -6 27l-8 8h-9q-16 0 -25 -15q-4 -5 -98.5 -111.5t-228 -257t-209.5 -238.5q-17 -19 -7 -40z" />
|
|
||||||
<glyph unicode="" d="M0 400q0 -165 117.5 -282.5t282.5 -117.5h300q47 0 100 15v185h-500q-41 0 -70.5 29.5t-29.5 70.5v500q0 41 29.5 70.5t70.5 29.5h500v185q-14 4 -114 7.5t-193 5.5l-93 2q-165 0 -282.5 -117.5t-117.5 -282.5v-300zM600 400v300h300v200l400 -350l-400 -350v200h-300z " />
|
|
||||||
<glyph unicode="" d="M0 400q0 -165 117.5 -282.5t282.5 -117.5h300q163 0 281.5 117.5t118.5 282.5v98l-78 73l-122 -123v-148q0 -41 -29.5 -70.5t-70.5 -29.5h-500q-41 0 -70.5 29.5t-29.5 70.5v500q0 41 29.5 70.5t70.5 29.5h156l118 122l-74 78h-100q-165 0 -282.5 -117.5t-117.5 -282.5 v-300zM496 709l353 342l-149 149h500v-500l-149 149l-342 -353z" />
|
|
||||||
<glyph unicode="" d="M4 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM186 600q0 -171 121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM406 600 q0 80 57 137t137 57t137 -57t57 -137t-57 -137t-137 -57t-137 57t-57 137z" />
|
|
||||||
<glyph unicode="" d="M0 0v275q0 11 7 18t18 7h1048q11 0 19 -7.5t8 -17.5v-275h-1100zM100 800l445 -500l450 500h-295v400h-300v-400h-300zM900 150h100v50h-100v-50z" />
|
|
||||||
<glyph unicode="" d="M0 0v275q0 11 7 18t18 7h1048q11 0 19 -7.5t8 -17.5v-275h-1100zM100 700h300v-300h300v300h295l-445 500zM900 150h100v50h-100v-50z" />
|
|
||||||
<glyph unicode="" d="M0 0v275q0 11 7 18t18 7h1048q11 0 19 -7.5t8 -17.5v-275h-1100zM100 705l305 -305l596 596l-154 155l-442 -442l-150 151zM900 150h100v50h-100v-50z" />
|
|
||||||
<glyph unicode="" d="M0 0v275q0 11 7 18t18 7h1048q11 0 19 -7.5t8 -17.5v-275h-1100zM100 988l97 -98l212 213l-97 97zM200 401h700v699l-250 -239l-149 149l-212 -212l149 -149zM900 150h100v50h-100v-50z" />
|
|
||||||
<glyph unicode="" d="M0 0v275q0 11 7 18t18 7h1048q11 0 19 -7.5t8 -17.5v-275h-1100zM200 612l212 -212l98 97l-213 212zM300 1200l239 -250l-149 -149l212 -212l149 148l248 -237v700h-699zM900 150h100v50h-100v-50z" />
|
|
||||||
<glyph unicode="" d="M23 415l1177 784v-1079l-475 272l-310 -393v416h-392zM494 210l672 938l-672 -712v-226z" />
|
|
||||||
<glyph unicode="" d="M0 150v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-850q0 -21 -15 -35.5t-35 -14.5h-150v400h-700v-400h-150q-21 0 -35.5 14.5t-14.5 35.5zM600 1000h100v200h-100v-200z" />
|
|
||||||
<glyph unicode="" d="M0 150v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-218l-276 -275l-120 120l-126 -127h-378v-400h-150q-21 0 -35.5 14.5t-14.5 35.5zM581 306l123 123l120 -120l353 352l123 -123l-475 -476zM600 1000h100v200h-100v-200z" />
|
|
||||||
<glyph unicode="" d="M0 150v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-269l-103 -103l-170 170l-298 -298h-329v-400h-150q-21 0 -35.5 14.5t-14.5 35.5zM600 1000h100v200h-100v-200zM700 133l170 170l-170 170l127 127l170 -170l170 170l127 -128l-170 -169l170 -170 l-127 -127l-170 170l-170 -170z" />
|
|
||||||
<glyph unicode="" d="M0 150v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-300h-400v-200h-500v-400h-150q-21 0 -35.5 14.5t-14.5 35.5zM600 300l300 -300l300 300h-200v300h-200v-300h-200zM600 1000v200h100v-200h-100z" />
|
|
||||||
<glyph unicode="" d="M0 150v1000q0 20 14.5 35t35.5 15h250v-300h500v300h100l200 -200v-402l-200 200l-298 -298h-402v-400h-150q-21 0 -35.5 14.5t-14.5 35.5zM600 300h200v-300h200v300h200l-300 300zM600 1000v200h100v-200h-100z" />
|
|
||||||
<glyph unicode="" d="M0 250q0 -21 14.5 -35.5t35.5 -14.5h1100q21 0 35.5 14.5t14.5 35.5v550h-1200v-550zM0 900h1200v150q0 21 -14.5 35.5t-35.5 14.5h-1100q-21 0 -35.5 -14.5t-14.5 -35.5v-150zM100 300v200h400v-200h-400z" />
|
|
||||||
<glyph unicode="" d="M0 400l300 298v-198h400v-200h-400v-198zM100 800v200h100v-200h-100zM300 800v200h100v-200h-100zM500 800v200h400v198l300 -298l-300 -298v198h-400zM800 300v200h100v-200h-100zM1000 300h100v200h-100v-200z" />
|
|
||||||
<glyph unicode="" d="M100 700v400l50 100l50 -100v-300h100v300l50 100l50 -100v-300h100v300l50 100l50 -100v-400l-100 -203v-447q0 -21 -14.5 -35.5t-35.5 -14.5h-200q-21 0 -35.5 14.5t-14.5 35.5v447zM800 597q0 -29 10.5 -55.5t25 -43t29 -28.5t25.5 -18l10 -5v-397q0 -21 14.5 -35.5 t35.5 -14.5h200q21 0 35.5 14.5t14.5 35.5v1106q0 31 -18 40.5t-44 -7.5l-276 -117q-25 -16 -43.5 -50.5t-18.5 -65.5v-359z" />
|
|
||||||
<glyph unicode="" d="M100 0h400v56q-75 0 -87.5 6t-12.5 44v394h500v-394q0 -38 -12.5 -44t-87.5 -6v-56h400v56q-4 0 -11 0.5t-24 3t-30 7t-24 15t-11 24.5v888q0 22 25 34.5t50 13.5l25 2v56h-400v-56q75 0 87.5 -6t12.5 -44v-394h-500v394q0 38 12.5 44t87.5 6v56h-400v-56q4 0 11 -0.5 t24 -3t30 -7t24 -15t11 -24.5v-888q0 -22 -25 -34.5t-50 -13.5l-25 -2v-56z" />
|
|
||||||
<glyph unicode="" d="M0 300q0 -41 29.5 -70.5t70.5 -29.5h300q41 0 70.5 29.5t29.5 70.5v500q0 41 -29.5 70.5t-70.5 29.5h-300q-41 0 -70.5 -29.5t-29.5 -70.5v-500zM100 100h400l200 200h105l295 98v-298h-425l-100 -100h-375zM100 300v200h300v-200h-300zM100 600v200h300v-200h-300z M100 1000h400l200 -200v-98l295 98h105v200h-425l-100 100h-375zM700 402v163l400 133v-163z" />
|
|
||||||
<glyph unicode="" d="M16.5 974.5q0.5 -21.5 16 -90t46.5 -140t104 -177.5t175 -208q103 -103 207.5 -176t180 -103.5t137 -47t92.5 -16.5l31 1l163 162q16 17 13 40.5t-22 37.5l-192 136q-19 14 -45 12t-42 -19l-119 -118q-143 103 -267 227q-126 126 -227 268l118 118q17 17 20 41.5 t-11 44.5l-139 194q-14 19 -36.5 22t-40.5 -14l-162 -162q-1 -11 -0.5 -32.5z" />
|
|
||||||
<glyph unicode="" d="M0 50v212q0 20 10.5 45.5t24.5 39.5l365 303v50q0 4 1 10.5t12 22.5t30 28.5t60 23t97 10.5t97 -10t60 -23.5t30 -27.5t12 -24l1 -10v-50l365 -303q14 -14 24.5 -39.5t10.5 -45.5v-212q0 -21 -15 -35.5t-35 -14.5h-1100q-21 0 -35.5 14.5t-14.5 35.5zM0 712 q0 -21 14.5 -33.5t34.5 -8.5l202 33q20 4 34.5 21t14.5 38v146q141 24 300 24t300 -24v-146q0 -21 14.5 -38t34.5 -21l202 -33q20 -4 34.5 8.5t14.5 33.5v200q-6 8 -19 20.5t-63 45t-112 57t-171 45t-235 20.5q-92 0 -175 -10.5t-141.5 -27t-108.5 -36.5t-81.5 -40 t-53.5 -36.5t-31 -27.5l-9 -10v-200z" />
|
|
||||||
<glyph unicode="" d="M100 0v100h1100v-100h-1100zM175 200h950l-125 150v250l100 100v400h-100v-200h-100v200h-200v-200h-100v200h-200v-200h-100v200h-100v-400l100 -100v-250z" />
|
|
||||||
<glyph unicode="" d="M100 0h300v400q0 41 -29.5 70.5t-70.5 29.5h-100q-41 0 -70.5 -29.5t-29.5 -70.5v-400zM500 0v1000q0 41 29.5 70.5t70.5 29.5h100q41 0 70.5 -29.5t29.5 -70.5v-1000h-300zM900 0v700q0 41 29.5 70.5t70.5 29.5h100q41 0 70.5 -29.5t29.5 -70.5v-700h-300z" />
|
|
||||||
<glyph unicode="" d="M-100 300v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212zM100 200h900v700h-900v-700zM200 300h300v300h-200v100h200v100h-300v-300h200v-100h-200v-100zM600 300h200v100h100v300h-100v100h-200v-500 zM700 400v300h100v-300h-100z" />
|
|
||||||
<glyph unicode="" d="M-100 300v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212zM100 200h900v700h-900v-700zM200 300h100v200h100v-200h100v500h-100v-200h-100v200h-100v-500zM600 300h200v100h100v300h-100v100h-200v-500 zM700 400v300h100v-300h-100z" />
|
|
||||||
<glyph unicode="" d="M-100 300v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212zM100 200h900v700h-900v-700zM200 300h300v100h-200v300h200v100h-300v-500zM600 300h300v100h-200v300h200v100h-300v-500z" />
|
|
||||||
<glyph unicode="" d="M-100 300v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212zM100 200h900v700h-900v-700zM200 550l300 -150v300zM600 400l300 150l-300 150v-300z" />
|
|
||||||
<glyph unicode="" d="M-100 300v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212zM100 200h900v700h-900v-700zM200 300v500h700v-500h-700zM300 400h130q41 0 68 42t27 107t-28.5 108t-66.5 43h-130v-300zM575 549 q0 -65 27 -107t68 -42h130v300h-130q-38 0 -66.5 -43t-28.5 -108z" />
|
|
||||||
<glyph unicode="" d="M-100 300v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212zM100 200h900v700h-900v-700zM200 300h300v300h-200v100h200v100h-300v-300h200v-100h-200v-100zM601 300h100v100h-100v-100zM700 700h100 v-400h100v500h-200v-100z" />
|
|
||||||
<glyph unicode="" d="M-100 300v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212zM100 200h900v700h-900v-700zM200 300h300v400h-200v100h-100v-500zM301 400v200h100v-200h-100zM601 300h100v100h-100v-100zM700 700h100 v-400h100v500h-200v-100z" />
|
|
||||||
<glyph unicode="" d="M-100 300v500q0 124 88 212t212 88h700q124 0 212 -88t88 -212v-500q0 -124 -88 -212t-212 -88h-700q-124 0 -212 88t-88 212zM100 200h900v700h-900v-700zM200 700v100h300v-300h-99v-100h-100v100h99v200h-200zM201 300v100h100v-100h-100zM601 300v100h100v-100h-100z M700 700v100h200v-500h-100v400h-100z" />
|
|
||||||
<glyph unicode="" d="M4 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM186 600q0 -171 121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM400 500v200 l100 100h300v-100h-300v-200h300v-100h-300z" />
|
|
||||||
<glyph unicode="" d="M0 600q0 162 80 299t217 217t299 80t299 -80t217 -217t80 -299t-80 -299t-217 -217t-299 -80t-299 80t-217 217t-80 299zM182 600q0 -171 121.5 -292.5t292.5 -121.5t292.5 121.5t121.5 292.5t-121.5 292.5t-292.5 121.5t-292.5 -121.5t-121.5 -292.5zM400 400v400h300 l100 -100v-100h-100v100h-200v-100h200v-100h-200v-100h-100zM700 400v100h100v-100h-100z" />
|
|
||||||
<glyph unicode="" d="M-14 494q0 -80 56.5 -137t135.5 -57h222v300h400v-300h128q120 0 205 86t85 208q0 120 -85 206.5t-205 86.5q-46 0 -90 -14q-44 97 -134.5 156.5t-200.5 59.5q-152 0 -260 -107.5t-108 -260.5q0 -25 2 -37q-66 -14 -108.5 -67.5t-42.5 -122.5zM300 200h200v300h200v-300 h200l-300 -300z" />
|
|
||||||
<glyph unicode="" d="M-14 494q0 -80 56.5 -137t135.5 -57h8l414 414l403 -403q94 26 154.5 104t60.5 178q0 121 -85 207.5t-205 86.5q-46 0 -90 -14q-44 97 -134.5 156.5t-200.5 59.5q-152 0 -260 -107.5t-108 -260.5q0 -25 2 -37q-66 -14 -108.5 -67.5t-42.5 -122.5zM300 200l300 300 l300 -300h-200v-300h-200v300h-200z" />
|
|
||||||
<glyph unicode="" d="M100 200h400v-155l-75 -45h350l-75 45v155h400l-270 300h170l-270 300h170l-300 333l-300 -333h170l-270 -300h170z" />
|
|
||||||
<glyph unicode="" d="M121 700q0 -53 28.5 -97t75.5 -65q-4 -16 -4 -38q0 -74 52.5 -126.5t126.5 -52.5q56 0 100 30v-306l-75 -45h350l-75 45v306q46 -30 100 -30q74 0 126.5 52.5t52.5 126.5q0 24 -9 55q50 32 79.5 83t29.5 112q0 90 -61.5 155.5t-150.5 71.5q-26 89 -99.5 145.5 t-167.5 56.5q-116 0 -197.5 -81.5t-81.5 -197.5q0 -4 1 -12t1 -11q-14 2 -23 2q-74 0 -126.5 -52.5t-52.5 -126.5z" />
|
|
||||||
</font>
|
|
||||||
</defs></svg>
|
|
||||||
|
Before Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 5.6 KiB |
@@ -1,17 +0,0 @@
|
|||||||
(function() {
|
|
||||||
var counter = 0;
|
|
||||||
var numbered;
|
|
||||||
var source = document.getElementsByClassName('prettyprint source');
|
|
||||||
|
|
||||||
if (source && source[0]) {
|
|
||||||
source = source[0].getElementsByTagName('code')[0];
|
|
||||||
|
|
||||||
numbered = source.innerHTML.split('\n');
|
|
||||||
numbered = numbered.map(function(item) {
|
|
||||||
counter++;
|
|
||||||
return '<span id="line' + counter + '"></span>' + item;
|
|
||||||
});
|
|
||||||
|
|
||||||
source.innerHTML = numbered.join('\n');
|
|
||||||
}
|
|
||||||
})();
|
|
||||||
@@ -1,93 +0,0 @@
|
|||||||
$(function () {
|
|
||||||
// Search Items
|
|
||||||
$('#search').on('keyup', function (e) {
|
|
||||||
var value = $(this).val();
|
|
||||||
var $el = $('.navigation');
|
|
||||||
|
|
||||||
if (value) {
|
|
||||||
var regexp = new RegExp(value, 'i');
|
|
||||||
$el.find('li, .itemMembers').hide();
|
|
||||||
|
|
||||||
$el.find('li').each(function (i, v) {
|
|
||||||
var $item = $(v);
|
|
||||||
|
|
||||||
if ($item.data('name') && regexp.test($item.data('name'))) {
|
|
||||||
$item.show();
|
|
||||||
$item.closest('.itemMembers').show();
|
|
||||||
$item.closest('.item').show();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
$el.find('.item, .itemMembers').show();
|
|
||||||
}
|
|
||||||
|
|
||||||
$el.find('.list').scrollTop(0);
|
|
||||||
});
|
|
||||||
|
|
||||||
// Toggle when click an item element
|
|
||||||
$('.navigation').on('click', '.title', function (e) {
|
|
||||||
$(this).parent().find('.itemMembers').toggle();
|
|
||||||
});
|
|
||||||
|
|
||||||
// Show an item related a current documentation automatically
|
|
||||||
var filename = $('.page-title').data('filename').replace(/\.[a-z]+$/, '');
|
|
||||||
var $currentItem = $('.navigation .item[data-name*="' + filename + '"]:eq(0)');
|
|
||||||
|
|
||||||
if ($currentItem.length) {
|
|
||||||
$currentItem
|
|
||||||
.remove()
|
|
||||||
.prependTo('.navigation .list')
|
|
||||||
.show()
|
|
||||||
.find('.itemMembers')
|
|
||||||
.show();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Auto resizing on navigation
|
|
||||||
var _onResize = function () {
|
|
||||||
var height = $(window).height();
|
|
||||||
var $el = $('.navigation');
|
|
||||||
|
|
||||||
$el.height(height).find('.list').height(height - 133);
|
|
||||||
};
|
|
||||||
|
|
||||||
$(window).on('resize', _onResize);
|
|
||||||
_onResize();
|
|
||||||
|
|
||||||
// create source code links to github
|
|
||||||
var srcLinks = $('div.tag-source');
|
|
||||||
var masterSearch = window.location.href.match(/\/([^\/]*\/)apidoc\//);
|
|
||||||
if (masterSearch && masterSearch.length) {
|
|
||||||
var branch = masterSearch[1];
|
|
||||||
srcLinks.each(function(i, el) {
|
|
||||||
var textParts = el.innerHTML.trim().split(', ');
|
|
||||||
var link = 'https://github.com/openlayers/ol3/blob/' + branch +
|
|
||||||
textParts[0];
|
|
||||||
el.innerHTML = '<a href="' + link + '">' + textParts[0] + '</a>, ' +
|
|
||||||
'<a href="' + link + textParts[1].replace('line ', '#l') + '">' +
|
|
||||||
textParts[1] + '</a>';
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
// show/hide unstable items
|
|
||||||
var links = $('a[href^="ol."]');
|
|
||||||
var unstable = $('.unstable');
|
|
||||||
var stabilityToggle = $('#stability-toggle');
|
|
||||||
stabilityToggle.change(function() {
|
|
||||||
unstable.toggleClass('hidden', this.checked);
|
|
||||||
var search = this.checked ? '?stableonly=true' : '';
|
|
||||||
links.each(function(i, el) {
|
|
||||||
this.href = this.pathname + search + this.hash;
|
|
||||||
});
|
|
||||||
if (history.replaceState) {
|
|
||||||
var url = window.location.pathname + search + window.location.hash;
|
|
||||||
history.replaceState({}, '', url);
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
});
|
|
||||||
var search = window.location.search;
|
|
||||||
links.each(function(i, el) {
|
|
||||||
this.href = this.pathname + search + this.hash;
|
|
||||||
});
|
|
||||||
stabilityToggle.prop('checked', search === '?stableonly=true');
|
|
||||||
unstable.toggleClass('hidden', stabilityToggle[0].checked);
|
|
||||||
});
|
|
||||||
@@ -1,202 +0,0 @@
|
|||||||
|
|
||||||
Apache License
|
|
||||||
Version 2.0, January 2004
|
|
||||||
http://www.apache.org/licenses/
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
||||||
|
|
||||||
1. Definitions.
|
|
||||||
|
|
||||||
"License" shall mean the terms and conditions for use, reproduction,
|
|
||||||
and distribution as defined by Sections 1 through 9 of this document.
|
|
||||||
|
|
||||||
"Licensor" shall mean the copyright owner or entity authorized by
|
|
||||||
the copyright owner that is granting the License.
|
|
||||||
|
|
||||||
"Legal Entity" shall mean the union of the acting entity and all
|
|
||||||
other entities that control, are controlled by, or are under common
|
|
||||||
control with that entity. For the purposes of this definition,
|
|
||||||
"control" means (i) the power, direct or indirect, to cause the
|
|
||||||
direction or management of such entity, whether by contract or
|
|
||||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
||||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
||||||
|
|
||||||
"You" (or "Your") shall mean an individual or Legal Entity
|
|
||||||
exercising permissions granted by this License.
|
|
||||||
|
|
||||||
"Source" form shall mean the preferred form for making modifications,
|
|
||||||
including but not limited to software source code, documentation
|
|
||||||
source, and configuration files.
|
|
||||||
|
|
||||||
"Object" form shall mean any form resulting from mechanical
|
|
||||||
transformation or translation of a Source form, including but
|
|
||||||
not limited to compiled object code, generated documentation,
|
|
||||||
and conversions to other media types.
|
|
||||||
|
|
||||||
"Work" shall mean the work of authorship, whether in Source or
|
|
||||||
Object form, made available under the License, as indicated by a
|
|
||||||
copyright notice that is included in or attached to the work
|
|
||||||
(an example is provided in the Appendix below).
|
|
||||||
|
|
||||||
"Derivative Works" shall mean any work, whether in Source or Object
|
|
||||||
form, that is based on (or derived from) the Work and for which the
|
|
||||||
editorial revisions, annotations, elaborations, or other modifications
|
|
||||||
represent, as a whole, an original work of authorship. For the purposes
|
|
||||||
of this License, Derivative Works shall not include works that remain
|
|
||||||
separable from, or merely link (or bind by name) to the interfaces of,
|
|
||||||
the Work and Derivative Works thereof.
|
|
||||||
|
|
||||||
"Contribution" shall mean any work of authorship, including
|
|
||||||
the original version of the Work and any modifications or additions
|
|
||||||
to that Work or Derivative Works thereof, that is intentionally
|
|
||||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
||||||
or by an individual or Legal Entity authorized to submit on behalf of
|
|
||||||
the copyright owner. For the purposes of this definition, "submitted"
|
|
||||||
means any form of electronic, verbal, or written communication sent
|
|
||||||
to the Licensor or its representatives, including but not limited to
|
|
||||||
communication on electronic mailing lists, source code control systems,
|
|
||||||
and issue tracking systems that are managed by, or on behalf of, the
|
|
||||||
Licensor for the purpose of discussing and improving the Work, but
|
|
||||||
excluding communication that is conspicuously marked or otherwise
|
|
||||||
designated in writing by the copyright owner as "Not a Contribution."
|
|
||||||
|
|
||||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
||||||
on behalf of whom a Contribution has been received by Licensor and
|
|
||||||
subsequently incorporated within the Work.
|
|
||||||
|
|
||||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
copyright license to reproduce, prepare Derivative Works of,
|
|
||||||
publicly display, publicly perform, sublicense, and distribute the
|
|
||||||
Work and such Derivative Works in Source or Object form.
|
|
||||||
|
|
||||||
3. Grant of Patent License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
(except as stated in this section) patent license to make, have made,
|
|
||||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
||||||
where such license applies only to those patent claims licensable
|
|
||||||
by such Contributor that are necessarily infringed by their
|
|
||||||
Contribution(s) alone or by combination of their Contribution(s)
|
|
||||||
with the Work to which such Contribution(s) was submitted. If You
|
|
||||||
institute patent litigation against any entity (including a
|
|
||||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
||||||
or a Contribution incorporated within the Work constitutes direct
|
|
||||||
or contributory patent infringement, then any patent licenses
|
|
||||||
granted to You under this License for that Work shall terminate
|
|
||||||
as of the date such litigation is filed.
|
|
||||||
|
|
||||||
4. Redistribution. You may reproduce and distribute copies of the
|
|
||||||
Work or Derivative Works thereof in any medium, with or without
|
|
||||||
modifications, and in Source or Object form, provided that You
|
|
||||||
meet the following conditions:
|
|
||||||
|
|
||||||
(a) You must give any other recipients of the Work or
|
|
||||||
Derivative Works a copy of this License; and
|
|
||||||
|
|
||||||
(b) You must cause any modified files to carry prominent notices
|
|
||||||
stating that You changed the files; and
|
|
||||||
|
|
||||||
(c) You must retain, in the Source form of any Derivative Works
|
|
||||||
that You distribute, all copyright, patent, trademark, and
|
|
||||||
attribution notices from the Source form of the Work,
|
|
||||||
excluding those notices that do not pertain to any part of
|
|
||||||
the Derivative Works; and
|
|
||||||
|
|
||||||
(d) If the Work includes a "NOTICE" text file as part of its
|
|
||||||
distribution, then any Derivative Works that You distribute must
|
|
||||||
include a readable copy of the attribution notices contained
|
|
||||||
within such NOTICE file, excluding those notices that do not
|
|
||||||
pertain to any part of the Derivative Works, in at least one
|
|
||||||
of the following places: within a NOTICE text file distributed
|
|
||||||
as part of the Derivative Works; within the Source form or
|
|
||||||
documentation, if provided along with the Derivative Works; or,
|
|
||||||
within a display generated by the Derivative Works, if and
|
|
||||||
wherever such third-party notices normally appear. The contents
|
|
||||||
of the NOTICE file are for informational purposes only and
|
|
||||||
do not modify the License. You may add Your own attribution
|
|
||||||
notices within Derivative Works that You distribute, alongside
|
|
||||||
or as an addendum to the NOTICE text from the Work, provided
|
|
||||||
that such additional attribution notices cannot be construed
|
|
||||||
as modifying the License.
|
|
||||||
|
|
||||||
You may add Your own copyright statement to Your modifications and
|
|
||||||
may provide additional or different license terms and conditions
|
|
||||||
for use, reproduction, or distribution of Your modifications, or
|
|
||||||
for any such Derivative Works as a whole, provided Your use,
|
|
||||||
reproduction, and distribution of the Work otherwise complies with
|
|
||||||
the conditions stated in this License.
|
|
||||||
|
|
||||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
||||||
any Contribution intentionally submitted for inclusion in the Work
|
|
||||||
by You to the Licensor shall be under the terms and conditions of
|
|
||||||
this License, without any additional terms or conditions.
|
|
||||||
Notwithstanding the above, nothing herein shall supersede or modify
|
|
||||||
the terms of any separate license agreement you may have executed
|
|
||||||
with Licensor regarding such Contributions.
|
|
||||||
|
|
||||||
6. Trademarks. This License does not grant permission to use the trade
|
|
||||||
names, trademarks, service marks, or product names of the Licensor,
|
|
||||||
except as required for reasonable and customary use in describing the
|
|
||||||
origin of the Work and reproducing the content of the NOTICE file.
|
|
||||||
|
|
||||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
||||||
agreed to in writing, Licensor provides the Work (and each
|
|
||||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
||||||
implied, including, without limitation, any warranties or conditions
|
|
||||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
||||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
||||||
appropriateness of using or redistributing the Work and assume any
|
|
||||||
risks associated with Your exercise of permissions under this License.
|
|
||||||
|
|
||||||
8. Limitation of Liability. In no event and under no legal theory,
|
|
||||||
whether in tort (including negligence), contract, or otherwise,
|
|
||||||
unless required by applicable law (such as deliberate and grossly
|
|
||||||
negligent acts) or agreed to in writing, shall any Contributor be
|
|
||||||
liable to You for damages, including any direct, indirect, special,
|
|
||||||
incidental, or consequential damages of any character arising as a
|
|
||||||
result of this License or out of the use or inability to use the
|
|
||||||
Work (including but not limited to damages for loss of goodwill,
|
|
||||||
work stoppage, computer failure or malfunction, or any and all
|
|
||||||
other commercial damages or losses), even if such Contributor
|
|
||||||
has been advised of the possibility of such damages.
|
|
||||||
|
|
||||||
9. Accepting Warranty or Additional Liability. While redistributing
|
|
||||||
the Work or Derivative Works thereof, You may choose to offer,
|
|
||||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
||||||
or other liability obligations and/or rights consistent with this
|
|
||||||
License. However, in accepting such obligations, You may act only
|
|
||||||
on Your own behalf and on Your sole responsibility, not on behalf
|
|
||||||
of any other Contributor, and only if You agree to indemnify,
|
|
||||||
defend, and hold each Contributor harmless for any liability
|
|
||||||
incurred by, or claims asserted against, such Contributor by reason
|
|
||||||
of your accepting any such warranty or additional liability.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
APPENDIX: How to apply the Apache License to your work.
|
|
||||||
|
|
||||||
To apply the Apache License to your work, attach the following
|
|
||||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
||||||
replaced with your own identifying information. (Don't include
|
|
||||||
the brackets!) The text should be enclosed in the appropriate
|
|
||||||
comment syntax for the file format. We also recommend that a
|
|
||||||
file or class name and description of purpose be included on the
|
|
||||||
same "printed page" as the copyright notice for easier
|
|
||||||
identification within third-party archives.
|
|
||||||
|
|
||||||
Copyright [yyyy] [name of copyright owner]
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\f\r ]+/,null," \t\r\n"]],[["str",/^"(?:[^\n\f\r"\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*"/,null],["str",/^'(?:[^\n\f\r'\\]|\\(?:\r\n?|\n|\f)|\\[\S\s])*'/,null],["lang-css-str",/^url\(([^"')]*)\)/i],["kwd",/^(?:url|rgb|!important|@import|@page|@media|@charset|inherit)(?=[^\w-]|$)/i,null],["lang-css-kw",/^(-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*)\s*:/i],["com",/^\/\*[^*]*\*+(?:[^*/][^*]*\*+)*\//],["com",
|
|
||||||
/^(?:<\!--|--\>)/],["lit",/^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],["lit",/^#[\da-f]{3,6}/i],["pln",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i],["pun",/^[^\s\w"']+/]]),["css"]);PR.registerLangHandler(PR.createSimpleLexer([],[["kwd",/^-?(?:[_a-z]|\\[\da-f]+ ?)(?:[\w-]|\\\\[\da-f]+ ?)*/i]]),["css-kw"]);PR.registerLangHandler(PR.createSimpleLexer([],[["str",/^[^"')]+/]]),["css-str"]);
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
var q=null;window.PR_SHOULD_USE_CONTINUATION=!0;
|
|
||||||
(function(){function L(a){function m(a){var f=a.charCodeAt(0);if(f!==92)return f;var b=a.charAt(1);return(f=r[b])?f:"0"<=b&&b<="7"?parseInt(a.substring(1),8):b==="u"||b==="x"?parseInt(a.substring(2),16):a.charCodeAt(1)}function e(a){if(a<32)return(a<16?"\\x0":"\\x")+a.toString(16);a=String.fromCharCode(a);if(a==="\\"||a==="-"||a==="["||a==="]")a="\\"+a;return a}function h(a){for(var f=a.substring(1,a.length-1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g),a=
|
|
||||||
[],b=[],o=f[0]==="^",c=o?1:0,i=f.length;c<i;++c){var j=f[c];if(/\\[bdsw]/i.test(j))a.push(j);else{var j=m(j),d;c+2<i&&"-"===f[c+1]?(d=m(f[c+2]),c+=2):d=j;b.push([j,d]);d<65||j>122||(d<65||j>90||b.push([Math.max(65,j)|32,Math.min(d,90)|32]),d<97||j>122||b.push([Math.max(97,j)&-33,Math.min(d,122)&-33]))}}b.sort(function(a,f){return a[0]-f[0]||f[1]-a[1]});f=[];j=[NaN,NaN];for(c=0;c<b.length;++c)i=b[c],i[0]<=j[1]+1?j[1]=Math.max(j[1],i[1]):f.push(j=i);b=["["];o&&b.push("^");b.push.apply(b,a);for(c=0;c<
|
|
||||||
f.length;++c)i=f[c],b.push(e(i[0])),i[1]>i[0]&&(i[1]+1>i[0]&&b.push("-"),b.push(e(i[1])));b.push("]");return b.join("")}function y(a){for(var f=a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g),b=f.length,d=[],c=0,i=0;c<b;++c){var j=f[c];j==="("?++i:"\\"===j.charAt(0)&&(j=+j.substring(1))&&j<=i&&(d[j]=-1)}for(c=1;c<d.length;++c)-1===d[c]&&(d[c]=++t);for(i=c=0;c<b;++c)j=f[c],j==="("?(++i,d[i]===void 0&&(f[c]="(?:")):"\\"===j.charAt(0)&&
|
|
||||||
(j=+j.substring(1))&&j<=i&&(f[c]="\\"+d[i]);for(i=c=0;c<b;++c)"^"===f[c]&&"^"!==f[c+1]&&(f[c]="");if(a.ignoreCase&&s)for(c=0;c<b;++c)j=f[c],a=j.charAt(0),j.length>=2&&a==="["?f[c]=h(j):a!=="\\"&&(f[c]=j.replace(/[A-Za-z]/g,function(a){a=a.charCodeAt(0);return"["+String.fromCharCode(a&-33,a|32)+"]"}));return f.join("")}for(var t=0,s=!1,l=!1,p=0,d=a.length;p<d;++p){var g=a[p];if(g.ignoreCase)l=!0;else if(/[a-z]/i.test(g.source.replace(/\\u[\da-f]{4}|\\x[\da-f]{2}|\\[^UXux]/gi,""))){s=!0;l=!1;break}}for(var r=
|
|
||||||
{b:8,t:9,n:10,v:11,f:12,r:13},n=[],p=0,d=a.length;p<d;++p){g=a[p];if(g.global||g.multiline)throw Error(""+g);n.push("(?:"+y(g)+")")}return RegExp(n.join("|"),l?"gi":"g")}function M(a){function m(a){switch(a.nodeType){case 1:if(e.test(a.className))break;for(var g=a.firstChild;g;g=g.nextSibling)m(g);g=a.nodeName;if("BR"===g||"LI"===g)h[s]="\n",t[s<<1]=y++,t[s++<<1|1]=a;break;case 3:case 4:g=a.nodeValue,g.length&&(g=p?g.replace(/\r\n?/g,"\n"):g.replace(/[\t\n\r ]+/g," "),h[s]=g,t[s<<1]=y,y+=g.length,
|
|
||||||
t[s++<<1|1]=a)}}var e=/(?:^|\s)nocode(?:\s|$)/,h=[],y=0,t=[],s=0,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=document.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);m(a);return{a:h.join("").replace(/\n$/,""),c:t}}function B(a,m,e,h){m&&(a={a:m,d:a},e(a),h.push.apply(h,a.e))}function x(a,m){function e(a){for(var l=a.d,p=[l,"pln"],d=0,g=a.a.match(y)||[],r={},n=0,z=g.length;n<z;++n){var f=g[n],b=r[f],o=void 0,c;if(typeof b===
|
|
||||||
"string")c=!1;else{var i=h[f.charAt(0)];if(i)o=f.match(i[1]),b=i[0];else{for(c=0;c<t;++c)if(i=m[c],o=f.match(i[1])){b=i[0];break}o||(b="pln")}if((c=b.length>=5&&"lang-"===b.substring(0,5))&&!(o&&typeof o[1]==="string"))c=!1,b="src";c||(r[f]=b)}i=d;d+=f.length;if(c){c=o[1];var j=f.indexOf(c),k=j+c.length;o[2]&&(k=f.length-o[2].length,j=k-c.length);b=b.substring(5);B(l+i,f.substring(0,j),e,p);B(l+i+j,c,C(b,c),p);B(l+i+k,f.substring(k),e,p)}else p.push(l+i,b)}a.e=p}var h={},y;(function(){for(var e=a.concat(m),
|
|
||||||
l=[],p={},d=0,g=e.length;d<g;++d){var r=e[d],n=r[3];if(n)for(var k=n.length;--k>=0;)h[n.charAt(k)]=r;r=r[1];n=""+r;p.hasOwnProperty(n)||(l.push(r),p[n]=q)}l.push(/[\S\s]/);y=L(l)})();var t=m.length;return e}function u(a){var m=[],e=[];a.tripleQuotedStrings?m.push(["str",/^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/,q,"'\""]):a.multiLineStrings?m.push(["str",/^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/,
|
|
||||||
q,"'\"`"]):m.push(["str",/^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/,q,"\"'"]);a.verbatimStrings&&e.push(["str",/^@"(?:[^"]|"")*(?:"|$)/,q]);var h=a.hashComments;h&&(a.cStyleComments?(h>1?m.push(["com",/^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/,q,"#"]):m.push(["com",/^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/,q,"#"]),e.push(["str",/^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/,q])):m.push(["com",/^#[^\n\r]*/,
|
|
||||||
q,"#"]));a.cStyleComments&&(e.push(["com",/^\/\/[^\n\r]*/,q]),e.push(["com",/^\/\*[\S\s]*?(?:\*\/|$)/,q]));a.regexLiterals&&e.push(["lang-regex",/^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);(h=a.types)&&e.push(["typ",h]);a=(""+a.keywords).replace(/^ | $/g,
|
|
||||||
"");a.length&&e.push(["kwd",RegExp("^(?:"+a.replace(/[\s,]+/g,"|")+")\\b"),q]);m.push(["pln",/^\s+/,q," \r\n\t\xa0"]);e.push(["lit",/^@[$_a-z][\w$@]*/i,q],["typ",/^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/,q],["pln",/^[$_a-z][\w$@]*/i,q],["lit",/^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i,q,"0123456789"],["pln",/^\\[\S\s]?/,q],["pun",/^.[^\s\w"-$'./@\\`]*/,q]);return x(m,e)}function D(a,m){function e(a){switch(a.nodeType){case 1:if(k.test(a.className))break;if("BR"===a.nodeName)h(a),
|
|
||||||
a.parentNode&&a.parentNode.removeChild(a);else for(a=a.firstChild;a;a=a.nextSibling)e(a);break;case 3:case 4:if(p){var b=a.nodeValue,d=b.match(t);if(d){var c=b.substring(0,d.index);a.nodeValue=c;(b=b.substring(d.index+d[0].length))&&a.parentNode.insertBefore(s.createTextNode(b),a.nextSibling);h(a);c||a.parentNode.removeChild(a)}}}}function h(a){function b(a,d){var e=d?a.cloneNode(!1):a,f=a.parentNode;if(f){var f=b(f,1),g=a.nextSibling;f.appendChild(e);for(var h=g;h;h=g)g=h.nextSibling,f.appendChild(h)}return e}
|
|
||||||
for(;!a.nextSibling;)if(a=a.parentNode,!a)return;for(var a=b(a.nextSibling,0),e;(e=a.parentNode)&&e.nodeType===1;)a=e;d.push(a)}var k=/(?:^|\s)nocode(?:\s|$)/,t=/\r\n?|\n/,s=a.ownerDocument,l;a.currentStyle?l=a.currentStyle.whiteSpace:window.getComputedStyle&&(l=s.defaultView.getComputedStyle(a,q).getPropertyValue("white-space"));var p=l&&"pre"===l.substring(0,3);for(l=s.createElement("LI");a.firstChild;)l.appendChild(a.firstChild);for(var d=[l],g=0;g<d.length;++g)e(d[g]);m===(m|0)&&d[0].setAttribute("value",
|
|
||||||
m);var r=s.createElement("OL");r.className="linenums";for(var n=Math.max(0,m-1|0)||0,g=0,z=d.length;g<z;++g)l=d[g],l.className="L"+(g+n)%10,l.firstChild||l.appendChild(s.createTextNode("\xa0")),r.appendChild(l);a.appendChild(r)}function k(a,m){for(var e=m.length;--e>=0;){var h=m[e];A.hasOwnProperty(h)?window.console&&console.warn("cannot override language handler %s",h):A[h]=a}}function C(a,m){if(!a||!A.hasOwnProperty(a))a=/^\s*</.test(m)?"default-markup":"default-code";return A[a]}function E(a){var m=
|
|
||||||
a.g;try{var e=M(a.h),h=e.a;a.a=h;a.c=e.c;a.d=0;C(m,h)(a);var k=/\bMSIE\b/.test(navigator.userAgent),m=/\n/g,t=a.a,s=t.length,e=0,l=a.c,p=l.length,h=0,d=a.e,g=d.length,a=0;d[g]=s;var r,n;for(n=r=0;n<g;)d[n]!==d[n+2]?(d[r++]=d[n++],d[r++]=d[n++]):n+=2;g=r;for(n=r=0;n<g;){for(var z=d[n],f=d[n+1],b=n+2;b+2<=g&&d[b+1]===f;)b+=2;d[r++]=z;d[r++]=f;n=b}for(d.length=r;h<p;){var o=l[h+2]||s,c=d[a+2]||s,b=Math.min(o,c),i=l[h+1],j;if(i.nodeType!==1&&(j=t.substring(e,b))){k&&(j=j.replace(m,"\r"));i.nodeValue=
|
|
||||||
j;var u=i.ownerDocument,v=u.createElement("SPAN");v.className=d[a+1];var x=i.parentNode;x.replaceChild(v,i);v.appendChild(i);e<o&&(l[h+1]=i=u.createTextNode(t.substring(b,o)),x.insertBefore(i,v.nextSibling))}e=b;e>=o&&(h+=2);e>=c&&(a+=2)}}catch(w){"console"in window&&console.log(w&&w.stack?w.stack:w)}}var v=["break,continue,do,else,for,if,return,while"],w=[[v,"auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],
|
|
||||||
"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"],F=[w,"alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"],G=[w,"abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"],
|
|
||||||
H=[G,"as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"],w=[w,"debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"],I=[v,"and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],
|
|
||||||
J=[v,"alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"],v=[v,"case,done,elif,esac,eval,fi,function,in,local,set,then,until"],K=/^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/,N=/\S/,O=u({keywords:[F,H,w,"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END"+
|
|
||||||
I,J,v],hashComments:!0,cStyleComments:!0,multiLineStrings:!0,regexLiterals:!0}),A={};k(O,["default-code"]);k(x([],[["pln",/^[^<?]+/],["dec",/^<!\w[^>]*(?:>|$)/],["com",/^<\!--[\S\s]*?(?:--\>|$)/],["lang-",/^<\?([\S\s]+?)(?:\?>|$)/],["lang-",/^<%([\S\s]+?)(?:%>|$)/],["pun",/^(?:<[%?]|[%?]>)/],["lang-",/^<xmp\b[^>]*>([\S\s]+?)<\/xmp\b[^>]*>/i],["lang-js",/^<script\b[^>]*>([\S\s]*?)(<\/script\b[^>]*>)/i],["lang-css",/^<style\b[^>]*>([\S\s]*?)(<\/style\b[^>]*>)/i],["lang-in.tag",/^(<\/?[a-z][^<>]*>)/i]]),
|
|
||||||
["default-markup","htm","html","mxml","xhtml","xml","xsl"]);k(x([["pln",/^\s+/,q," \t\r\n"],["atv",/^(?:"[^"]*"?|'[^']*'?)/,q,"\"'"]],[["tag",/^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],["atn",/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],["lang-uq.val",/^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],["pun",/^[/<->]+/],["lang-js",/^on\w+\s*=\s*"([^"]+)"/i],["lang-js",/^on\w+\s*=\s*'([^']+)'/i],["lang-js",/^on\w+\s*=\s*([^\s"'>]+)/i],["lang-css",/^style\s*=\s*"([^"]+)"/i],["lang-css",/^style\s*=\s*'([^']+)'/i],["lang-css",
|
|
||||||
/^style\s*=\s*([^\s"'>]+)/i]]),["in.tag"]);k(x([],[["atv",/^[\S\s]+/]]),["uq.val"]);k(u({keywords:F,hashComments:!0,cStyleComments:!0,types:K}),["c","cc","cpp","cxx","cyc","m"]);k(u({keywords:"null,true,false"}),["json"]);k(u({keywords:H,hashComments:!0,cStyleComments:!0,verbatimStrings:!0,types:K}),["cs"]);k(u({keywords:G,cStyleComments:!0}),["java"]);k(u({keywords:v,hashComments:!0,multiLineStrings:!0}),["bsh","csh","sh"]);k(u({keywords:I,hashComments:!0,multiLineStrings:!0,tripleQuotedStrings:!0}),
|
|
||||||
["cv","py"]);k(u({keywords:"caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END",hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["perl","pl","pm"]);k(u({keywords:J,hashComments:!0,multiLineStrings:!0,regexLiterals:!0}),["rb"]);k(u({keywords:w,cStyleComments:!0,regexLiterals:!0}),["js"]);k(u({keywords:"all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes",
|
|
||||||
hashComments:3,cStyleComments:!0,multilineStrings:!0,tripleQuotedStrings:!0,regexLiterals:!0}),["coffee"]);k(x([],[["str",/^[\S\s]+/]]),["regex"]);window.prettyPrintOne=function(a,m,e){var h=document.createElement("PRE");h.innerHTML=a;e&&D(h,e);E({g:m,i:e,h:h});return h.innerHTML};window.prettyPrint=function(a){function m(){for(var e=window.PR_SHOULD_USE_CONTINUATION?l.now()+250:Infinity;p<h.length&&l.now()<e;p++){var n=h[p],k=n.className;if(k.indexOf("prettyprint")>=0){var k=k.match(g),f,b;if(b=
|
|
||||||
!k){b=n;for(var o=void 0,c=b.firstChild;c;c=c.nextSibling)var i=c.nodeType,o=i===1?o?b:c:i===3?N.test(c.nodeValue)?b:o:o;b=(f=o===b?void 0:o)&&"CODE"===f.tagName}b&&(k=f.className.match(g));k&&(k=k[1]);b=!1;for(o=n.parentNode;o;o=o.parentNode)if((o.tagName==="pre"||o.tagName==="code"||o.tagName==="xmp")&&o.className&&o.className.indexOf("prettyprint")>=0){b=!0;break}b||((b=(b=n.className.match(/\blinenums\b(?::(\d+))?/))?b[1]&&b[1].length?+b[1]:!0:!1)&&D(n,b),d={g:k,h:n,i:b},E(d))}}p<h.length?setTimeout(m,
|
|
||||||
250):a&&a()}for(var e=[document.getElementsByTagName("pre"),document.getElementsByTagName("code"),document.getElementsByTagName("xmp")],h=[],k=0;k<e.length;++k)for(var t=0,s=e[k].length;t<s;++t)h.push(e[k][t]);var e=q,l=Date;l.now||(l={now:function(){return+new Date}});var p=0,d,g=/\blang(?:uage)?-([\w.]+)(?!\S)/;m()};window.PR={createSimpleLexer:x,registerLangHandler:k,sourceDecorator:u,PR_ATTRIB_NAME:"atn",PR_ATTRIB_VALUE:"atv",PR_COMMENT:"com",PR_DECLARATION:"dec",PR_KEYWORD:"kwd",PR_LITERAL:"lit",
|
|
||||||
PR_NOCODE:"nocode",PR_PLAIN:"pln",PR_PUNCTUATION:"pun",PR_SOURCE:"src",PR_STRING:"str",PR_TAG:"tag",PR_TYPE:"typ"}})();
|
|
||||||
@@ -1,418 +0,0 @@
|
|||||||
@import url(http://fonts.googleapis.com/css?family=Quattrocento+Sans:400,400italic,700);
|
|
||||||
.navbar-inverse {
|
|
||||||
border: 0;
|
|
||||||
}
|
|
||||||
.navbar-inverse .navbar-inner {
|
|
||||||
background: #1F6B75;
|
|
||||||
height: 50px;
|
|
||||||
text-shadow: 1px 1px 2px rgba(0,0,0,0.25);
|
|
||||||
}
|
|
||||||
.navbar-inverse .brand {
|
|
||||||
color: #fff;
|
|
||||||
font-size: 160%;
|
|
||||||
font-weight: bold;
|
|
||||||
position: absolute;
|
|
||||||
top: 6px;
|
|
||||||
left: 16px;
|
|
||||||
}
|
|
||||||
.navbar-inverse .brand:hover,
|
|
||||||
.navbar-inverse .brand:focus {
|
|
||||||
color: #aae1e9;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
.navbar-inverse .brand img {
|
|
||||||
width: 35px;
|
|
||||||
height: 35px;
|
|
||||||
vertical-align: middle;
|
|
||||||
margin-right: 5px;
|
|
||||||
border:0;
|
|
||||||
}
|
|
||||||
.navbar-inverse .container {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
.navbar-inverse .navbar-nav>li>a {
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
.navbar-inverse .navbar-nav>li>a:hover,
|
|
||||||
.navbar-inverse .navbar-nav>li>a:focus,
|
|
||||||
.navbar-inverse .navbar-nav>li>a.active
|
|
||||||
{
|
|
||||||
outline:0;
|
|
||||||
color: #fff;
|
|
||||||
background-color: #268591;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
|
||||||
padding-top: 50px;
|
|
||||||
}
|
|
||||||
.nameContainer .name, .prettyprint.source .pln {
|
|
||||||
padding-top: 50px;
|
|
||||||
margin-top: -50px;
|
|
||||||
}
|
|
||||||
a {
|
|
||||||
position: relative;
|
|
||||||
z-index: 1;
|
|
||||||
-webkit-transition: all .2s;
|
|
||||||
transition: all .2s;
|
|
||||||
}
|
|
||||||
.navigation li {
|
|
||||||
color: #888;
|
|
||||||
}
|
|
||||||
|
|
||||||
html,
|
|
||||||
body {
|
|
||||||
font-family: "Quattrocento Sans", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
|
|
||||||
font-size: 1.0em;
|
|
||||||
background-color: #fff;
|
|
||||||
}
|
|
||||||
ul,
|
|
||||||
ol {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
li {
|
|
||||||
list-style-type: none;
|
|
||||||
}
|
|
||||||
#wrap {
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
::-webkit-scrollbar {
|
|
||||||
width: 8px;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
::-webkit-scrollbar-thumb {
|
|
||||||
background-color: gray;
|
|
||||||
border-radius: 4px;
|
|
||||||
}
|
|
||||||
.navigation {
|
|
||||||
position: fixed;
|
|
||||||
float: left;
|
|
||||||
width: 250px;
|
|
||||||
height: 100%;
|
|
||||||
background-color: #2a2a2a;
|
|
||||||
}
|
|
||||||
.navigation .applicationName {
|
|
||||||
margin: 0;
|
|
||||||
margin-top: 15px;
|
|
||||||
padding: 10px 15px;
|
|
||||||
font: bold 1.25em Helvetica;
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
.navigation .applicationName a {
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
.navigation .search {
|
|
||||||
padding: 10px 15px;
|
|
||||||
}
|
|
||||||
.navigation .search input {
|
|
||||||
background-color: #333;
|
|
||||||
color: #fff;
|
|
||||||
border-color: #555;
|
|
||||||
}
|
|
||||||
.navigation .list {
|
|
||||||
padding: 10px 15px 0 15px;
|
|
||||||
position: relative;
|
|
||||||
overflow: auto;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.navigation li.item {
|
|
||||||
margin-bottom: 8px;
|
|
||||||
padding-bottom: 8px;
|
|
||||||
border-bottom: 1px solid #333;
|
|
||||||
}
|
|
||||||
.navigation li.item a {
|
|
||||||
color: #bbb;
|
|
||||||
}
|
|
||||||
.navigation li.item a:hover {
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
.navigation li.item .title {
|
|
||||||
cursor: pointer;
|
|
||||||
position: relative;
|
|
||||||
display: block;
|
|
||||||
font-size: 0.85em;
|
|
||||||
}
|
|
||||||
.navigation li.item .title a {
|
|
||||||
color: #e1e1e1;
|
|
||||||
}
|
|
||||||
.navigation li.item .title a:hover {
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
.navigation li.item .title .static {
|
|
||||||
display: block;
|
|
||||||
border-radius: 3px;
|
|
||||||
background-color: #1F6B75;
|
|
||||||
color: #FFF;
|
|
||||||
font-size: 0.7em;
|
|
||||||
padding: 2px 4px;
|
|
||||||
float: right;
|
|
||||||
}
|
|
||||||
.navigation li.item .subtitle {
|
|
||||||
margin-top: 10px;
|
|
||||||
font: bold 0.7em Helvetica;
|
|
||||||
color: #1F6B75;
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.navigation li.item ul > li {
|
|
||||||
font-size: 0.75em;
|
|
||||||
padding-left: 8px;
|
|
||||||
margin-top: 2px;
|
|
||||||
}
|
|
||||||
.navigation li.item .itemMembers {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.main {
|
|
||||||
padding: 20px 20px;
|
|
||||||
margin-left: 250px;
|
|
||||||
}
|
|
||||||
.main .page-title {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.main h1 {
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: 1.6em;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
.main h2 {
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: 1.5em;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
.main h3 {
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: 13px;
|
|
||||||
margin: 5px 0;
|
|
||||||
}
|
|
||||||
.main h4 {
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: 1em;
|
|
||||||
}
|
|
||||||
.main h5 {
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: 13px;
|
|
||||||
}
|
|
||||||
.main dd, .main .props {
|
|
||||||
font-size: 13px;
|
|
||||||
}
|
|
||||||
.main h4.name span.type {
|
|
||||||
margin-left: 10px;
|
|
||||||
}
|
|
||||||
.main h4.name span.glyphicon {
|
|
||||||
display: inline-block;
|
|
||||||
vertical-align: middle;
|
|
||||||
color: #c1c1c1;
|
|
||||||
margin-left: 7px;
|
|
||||||
}
|
|
||||||
.main h4.name span.returnType, .main h4.name span.type {
|
|
||||||
margin-left: 3px;
|
|
||||||
background-color: transparent!important;
|
|
||||||
color: gray!important;
|
|
||||||
}
|
|
||||||
.main span.static, .main span.stability {
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 3px;
|
|
||||||
background-color: #1F6B75 !important;
|
|
||||||
color: #fff;
|
|
||||||
vertical-align: top;
|
|
||||||
font-size: 0.8em;
|
|
||||||
padding: 2px 4px;
|
|
||||||
}
|
|
||||||
td.description span.stability {
|
|
||||||
float: left;
|
|
||||||
margin-right: 0.5em;
|
|
||||||
}
|
|
||||||
span.type-signature.static {
|
|
||||||
margin-right: 3px;
|
|
||||||
}
|
|
||||||
.main .subsection-title {
|
|
||||||
font-size: 15px;
|
|
||||||
margin-top: 30px;
|
|
||||||
color: #1F6B75;
|
|
||||||
}
|
|
||||||
.main .description {
|
|
||||||
margin-top: 10px;
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
.main .description p {
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
.main .tag-source {
|
|
||||||
font-size: 13px;
|
|
||||||
}
|
|
||||||
.main dt.tag-source {
|
|
||||||
margin-top: 5px;
|
|
||||||
}
|
|
||||||
.main dt.tag-todo {
|
|
||||||
font-size: 11px;
|
|
||||||
display: inline-block;
|
|
||||||
background-color: #2a6496;
|
|
||||||
color: #fff;
|
|
||||||
padding: 2px 4px;
|
|
||||||
border-radius: 5px;
|
|
||||||
}
|
|
||||||
.main .type-signature {
|
|
||||||
font-size: 13px;
|
|
||||||
}
|
|
||||||
.main .tag-deprecated {
|
|
||||||
display: inline-block;
|
|
||||||
font-size: 11px;
|
|
||||||
}
|
|
||||||
.main .important {
|
|
||||||
background-color: #ee7d7d;
|
|
||||||
color: #fff;
|
|
||||||
padding: 2px 4px;
|
|
||||||
border-radius: 5px;
|
|
||||||
}
|
|
||||||
.main .nameContainer {
|
|
||||||
position: relative;
|
|
||||||
margin-top: 20px;
|
|
||||||
padding-top: 5px;
|
|
||||||
border-top: 1px solid #e1e1e1;
|
|
||||||
}
|
|
||||||
.main .nameContainer .inherited {
|
|
||||||
display: inline-block;
|
|
||||||
border-radius: 3px;
|
|
||||||
background-color: #888!important;
|
|
||||||
vertical-align: top;
|
|
||||||
font-size: 0.8em;
|
|
||||||
padding: 2px 4px;
|
|
||||||
margin-right: 5px;
|
|
||||||
}
|
|
||||||
.main .nameContainer .inherited a {
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
.main .nameContainer .tag-source {
|
|
||||||
position: absolute;
|
|
||||||
top: 17px;
|
|
||||||
right: 0;
|
|
||||||
font-size: 11px;
|
|
||||||
}
|
|
||||||
.main .nameContainer .tag-source a {
|
|
||||||
color: gray;
|
|
||||||
}
|
|
||||||
.main .nameContainer.inherited {
|
|
||||||
color: gray;
|
|
||||||
}
|
|
||||||
.main .nameContainer h4 {
|
|
||||||
margin-right: 150px;
|
|
||||||
line-height: 1.3;
|
|
||||||
}
|
|
||||||
.main .nameContainer h4 .signature {
|
|
||||||
font-size: 14px;
|
|
||||||
font-weight: normal;
|
|
||||||
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
|
|
||||||
}
|
|
||||||
.main pre {
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
.main table {
|
|
||||||
width: 100%;
|
|
||||||
margin-bottom: 15px;
|
|
||||||
}
|
|
||||||
.main table th {
|
|
||||||
padding: 3px 3px;
|
|
||||||
}
|
|
||||||
.main table td {
|
|
||||||
vertical-align: top;
|
|
||||||
padding: 5px 3px;
|
|
||||||
}
|
|
||||||
.main table .name {
|
|
||||||
width: 110px;
|
|
||||||
}
|
|
||||||
.main table .type {
|
|
||||||
color: #aaa;
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
.main table .attributes {
|
|
||||||
width: 80px;
|
|
||||||
color: #aaa;
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
.main table .description {
|
|
||||||
font-size: 13px;
|
|
||||||
}
|
|
||||||
.main table .description p {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
.main table .optional, .main table .repeatable {
|
|
||||||
float: left;
|
|
||||||
border-radius: 3px;
|
|
||||||
background-color: #ddd!important;
|
|
||||||
font-size: 0.7em;
|
|
||||||
padding: 2px 4px;
|
|
||||||
margin-right: 5px;
|
|
||||||
color: gray;
|
|
||||||
}
|
|
||||||
.main .readme p {
|
|
||||||
margin-top: 15px;
|
|
||||||
line-height: 1.2;
|
|
||||||
font-size: 0.9em;
|
|
||||||
}
|
|
||||||
.main .readme h1 {
|
|
||||||
font-size: 1.7em;
|
|
||||||
}
|
|
||||||
.main .readme h2 {
|
|
||||||
margin-top: 30px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
padding-bottom: 10px;
|
|
||||||
border-bottom: 1px solid #e1e1e1;
|
|
||||||
}
|
|
||||||
.main .readme li {
|
|
||||||
font-size: 0.95em;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
.main article ol,
|
|
||||||
.main article ul {
|
|
||||||
margin-left: 25px;
|
|
||||||
}
|
|
||||||
.main article ol > li {
|
|
||||||
list-style-type: decimal;
|
|
||||||
margin-bottom: 5px;
|
|
||||||
}
|
|
||||||
.main article ul > li {
|
|
||||||
margin-bottom: 5px;
|
|
||||||
list-style-type: disc;
|
|
||||||
}
|
|
||||||
footer {
|
|
||||||
margin: 15px 0;
|
|
||||||
padding-top: 15px;
|
|
||||||
border-top: 1px solid #e1e1e1;
|
|
||||||
font-family: "freight-text-pro", Georgia, Cambria, "Times New Roman", Times, serif;
|
|
||||||
font-size: 0.8em;
|
|
||||||
color: gray;
|
|
||||||
}
|
|
||||||
.main span.stability.deprecated {
|
|
||||||
background-color: #b94a48 !important;
|
|
||||||
color: #f2dede;
|
|
||||||
}
|
|
||||||
.main span.stability.experimental {
|
|
||||||
background-color: #F2CC79 !important;
|
|
||||||
color: #800F07;
|
|
||||||
}
|
|
||||||
.main span.stability.unstable {
|
|
||||||
background-color: #3a87ad !important;
|
|
||||||
color: #d9edf7;
|
|
||||||
}
|
|
||||||
.main span.stability.locked {
|
|
||||||
background-color: #468847 !important;
|
|
||||||
color: #dff0d8;
|
|
||||||
}
|
|
||||||
.main .readme table p {
|
|
||||||
margin-top: 0;
|
|
||||||
}
|
|
||||||
.main .readme table p, .main .readme table td {
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
.main .readme table ul li {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
.hidden {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
#stability {
|
|
||||||
color: white;
|
|
||||||
position: absolute;
|
|
||||||
top: 1em;
|
|
||||||
left: 250px;
|
|
||||||
font-weight: normal;
|
|
||||||
}
|
|
||||||
@@ -1,111 +0,0 @@
|
|||||||
/* JSDoc prettify.js theme */
|
|
||||||
|
|
||||||
/* plain text */
|
|
||||||
.pln {
|
|
||||||
color: #000000;
|
|
||||||
font-weight: normal;
|
|
||||||
font-style: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* string content */
|
|
||||||
.str {
|
|
||||||
color: #006400;
|
|
||||||
font-weight: normal;
|
|
||||||
font-style: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* a keyword */
|
|
||||||
.kwd {
|
|
||||||
color: #000000;
|
|
||||||
font-weight: bold;
|
|
||||||
font-style: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* a comment */
|
|
||||||
.com {
|
|
||||||
font-weight: normal;
|
|
||||||
font-style: italic;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* a type name */
|
|
||||||
.typ {
|
|
||||||
color: #000000;
|
|
||||||
font-weight: normal;
|
|
||||||
font-style: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* a literal value */
|
|
||||||
.lit {
|
|
||||||
color: #006400;
|
|
||||||
font-weight: normal;
|
|
||||||
font-style: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* punctuation */
|
|
||||||
.pun {
|
|
||||||
color: #000000;
|
|
||||||
font-weight: bold;
|
|
||||||
font-style: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* lisp open bracket */
|
|
||||||
.opn {
|
|
||||||
color: #000000;
|
|
||||||
font-weight: bold;
|
|
||||||
font-style: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* lisp close bracket */
|
|
||||||
.clo {
|
|
||||||
color: #000000;
|
|
||||||
font-weight: bold;
|
|
||||||
font-style: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* a markup tag name */
|
|
||||||
.tag {
|
|
||||||
color: #006400;
|
|
||||||
font-weight: normal;
|
|
||||||
font-style: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* a markup attribute name */
|
|
||||||
.atn {
|
|
||||||
color: #006400;
|
|
||||||
font-weight: normal;
|
|
||||||
font-style: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* a markup attribute value */
|
|
||||||
.atv {
|
|
||||||
color: #006400;
|
|
||||||
font-weight: normal;
|
|
||||||
font-style: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* a declaration */
|
|
||||||
.dec {
|
|
||||||
color: #000000;
|
|
||||||
font-weight: bold;
|
|
||||||
font-style: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* a variable name */
|
|
||||||
.var {
|
|
||||||
color: #000000;
|
|
||||||
font-weight: normal;
|
|
||||||
font-style: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* a function name */
|
|
||||||
.fun {
|
|
||||||
color: #000000;
|
|
||||||
font-weight: bold;
|
|
||||||
font-style: normal;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Specify class=linenums on a pre to get line numbering */
|
|
||||||
ol.linenums {
|
|
||||||
margin-top: 0;
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
@@ -1,132 +0,0 @@
|
|||||||
/* Tomorrow Theme */
|
|
||||||
/* Original theme - https://github.com/chriskempson/tomorrow-theme */
|
|
||||||
/* Pretty printing styles. Used with prettify.js. */
|
|
||||||
/* SPAN elements with the classes below are added by prettyprint. */
|
|
||||||
/* plain text */
|
|
||||||
.pln {
|
|
||||||
color: #4d4d4c; }
|
|
||||||
|
|
||||||
@media screen {
|
|
||||||
/* string content */
|
|
||||||
.str {
|
|
||||||
color: #718c00; }
|
|
||||||
|
|
||||||
/* a keyword */
|
|
||||||
.kwd {
|
|
||||||
color: #8959a8; }
|
|
||||||
|
|
||||||
/* a comment */
|
|
||||||
.com {
|
|
||||||
color: #8e908c; }
|
|
||||||
|
|
||||||
/* a type name */
|
|
||||||
.typ {
|
|
||||||
color: #4271ae; }
|
|
||||||
|
|
||||||
/* a literal value */
|
|
||||||
.lit {
|
|
||||||
color: #f5871f; }
|
|
||||||
|
|
||||||
/* punctuation */
|
|
||||||
.pun {
|
|
||||||
color: #4d4d4c; }
|
|
||||||
|
|
||||||
/* lisp open bracket */
|
|
||||||
.opn {
|
|
||||||
color: #4d4d4c; }
|
|
||||||
|
|
||||||
/* lisp close bracket */
|
|
||||||
.clo {
|
|
||||||
color: #4d4d4c; }
|
|
||||||
|
|
||||||
/* a markup tag name */
|
|
||||||
.tag {
|
|
||||||
color: #c82829; }
|
|
||||||
|
|
||||||
/* a markup attribute name */
|
|
||||||
.atn {
|
|
||||||
color: #f5871f; }
|
|
||||||
|
|
||||||
/* a markup attribute value */
|
|
||||||
.atv {
|
|
||||||
color: #3e999f; }
|
|
||||||
|
|
||||||
/* a declaration */
|
|
||||||
.dec {
|
|
||||||
color: #f5871f; }
|
|
||||||
|
|
||||||
/* a variable name */
|
|
||||||
.var {
|
|
||||||
color: #c82829; }
|
|
||||||
|
|
||||||
/* a function name */
|
|
||||||
.fun {
|
|
||||||
color: #4271ae; } }
|
|
||||||
/* Use higher contrast and text-weight for printable form. */
|
|
||||||
@media print, projection {
|
|
||||||
.str {
|
|
||||||
color: #060; }
|
|
||||||
|
|
||||||
.kwd {
|
|
||||||
color: #006;
|
|
||||||
font-weight: bold; }
|
|
||||||
|
|
||||||
.com {
|
|
||||||
color: #600;
|
|
||||||
font-style: italic; }
|
|
||||||
|
|
||||||
.typ {
|
|
||||||
color: #404;
|
|
||||||
font-weight: bold; }
|
|
||||||
|
|
||||||
.lit {
|
|
||||||
color: #044; }
|
|
||||||
|
|
||||||
.pun, .opn, .clo {
|
|
||||||
color: #440; }
|
|
||||||
|
|
||||||
.tag {
|
|
||||||
color: #006;
|
|
||||||
font-weight: bold; }
|
|
||||||
|
|
||||||
.atn {
|
|
||||||
color: #404; }
|
|
||||||
|
|
||||||
.atv {
|
|
||||||
color: #060; } }
|
|
||||||
/* Style */
|
|
||||||
/*
|
|
||||||
pre.prettyprint {
|
|
||||||
background: white;
|
|
||||||
font-family: Menlo, Monaco, Consolas, monospace;
|
|
||||||
font-size: 12px;
|
|
||||||
line-height: 1.5;
|
|
||||||
border: 1px solid #ccc;
|
|
||||||
padding: 10px; }
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* Specify class=linenums on a pre to get line numbering */
|
|
||||||
ol.linenums {
|
|
||||||
margin-top: 0;
|
|
||||||
margin-bottom: 0; }
|
|
||||||
|
|
||||||
/* IE indents via margin-left */
|
|
||||||
li.L0,
|
|
||||||
li.L1,
|
|
||||||
li.L2,
|
|
||||||
li.L3,
|
|
||||||
li.L4,
|
|
||||||
li.L5,
|
|
||||||
li.L6,
|
|
||||||
li.L7,
|
|
||||||
li.L8,
|
|
||||||
li.L9 {
|
|
||||||
/* */ }
|
|
||||||
|
|
||||||
/* Alternate shading for lines */
|
|
||||||
li.L1,
|
|
||||||
li.L3,
|
|
||||||
li.L5,
|
|
||||||
li.L7,
|
|
||||||
li.L9 {
|
|
||||||
/* */ }
|
|
||||||
@@ -1,174 +0,0 @@
|
|||||||
<?js
|
|
||||||
var self = this;
|
|
||||||
docs.forEach(function(doc, i) {
|
|
||||||
?>
|
|
||||||
|
|
||||||
<?js if (doc.kind === 'mainpage' || (doc.kind === 'package')) { ?>
|
|
||||||
<?js= self.partial('mainpage.tmpl', doc) ?>
|
|
||||||
<?js } else if (doc.kind === 'source') { ?>
|
|
||||||
<?js= self.partial('source.tmpl', doc) ?>
|
|
||||||
<?js } else { ?>
|
|
||||||
|
|
||||||
<section>
|
|
||||||
|
|
||||||
<header>
|
|
||||||
<h2><?js if (doc.ancestors && doc.ancestors.length) { ?>
|
|
||||||
<span class="ancestors"><?js= doc.ancestors.join('') ?></span><?js } ?><?js= doc.name ?>
|
|
||||||
<?js if (doc.variation) { ?>
|
|
||||||
<sup class="variation"><?js= doc.variation ?></sup>
|
|
||||||
<?js } ?></h2>
|
|
||||||
<?js if (doc.classdesc) { ?>
|
|
||||||
<div class="class-description"><?js= doc.classdesc ?></div>
|
|
||||||
<?js } ?>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<article>
|
|
||||||
<div class="container-overview">
|
|
||||||
<?js if (doc.kind === 'module' && doc.module) { ?>
|
|
||||||
<?js= self.partial('method.tmpl', doc.module) ?>
|
|
||||||
<?js } ?>
|
|
||||||
|
|
||||||
<?js if (doc.kind === 'class') { ?>
|
|
||||||
<?js= self.partial('method.tmpl', doc) ?>
|
|
||||||
<?js } else { ?>
|
|
||||||
<?js if (doc.description) { ?>
|
|
||||||
<div class="description"><?js= doc.description ?></div>
|
|
||||||
<?js } ?>
|
|
||||||
|
|
||||||
<?js= self.partial('details.tmpl', doc) ?>
|
|
||||||
|
|
||||||
<?js if (doc.examples && doc.examples.length) { ?>
|
|
||||||
<h3>Example<?js= doc.examples.length > 1? 's':'' ?></h3>
|
|
||||||
<?js= self.partial('examples.tmpl', doc.examples) ?>
|
|
||||||
<?js } ?>
|
|
||||||
<?js } ?>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?js if (doc.kind == 'class') {
|
|
||||||
var subclasses = self.find(function() {
|
|
||||||
return this.augments && this.augments.indexOf(doc.longname) > -1;
|
|
||||||
})
|
|
||||||
if (subclasses.length) {
|
|
||||||
?>
|
|
||||||
<h3 class="subsection-title">Subclasses</h3>
|
|
||||||
<ul><?js subclasses.forEach(function(s) { ?>
|
|
||||||
<li><?js= self.linkto(s.longname, s.longname) ?>
|
|
||||||
<?js= (s.interface ? '(Interface)' : '') ?>
|
|
||||||
</li>
|
|
||||||
<?js }); ?></ul>
|
|
||||||
<?js } } ?>
|
|
||||||
|
|
||||||
<?js if (doc.augments && doc.augments.length) { ?>
|
|
||||||
<h3 class="subsection-title">Extends</h3>
|
|
||||||
|
|
||||||
<ul><?js doc.augments.forEach(function(a) { ?>
|
|
||||||
<li><?js= self.linkto(a, a) ?></li>
|
|
||||||
<?js }); ?></ul>
|
|
||||||
<?js } ?>
|
|
||||||
|
|
||||||
<?js if (doc.mixes && doc.mixes.length) { ?>
|
|
||||||
<h3 class="subsection-title">Mixes In</h3>
|
|
||||||
|
|
||||||
<ul><?js doc.mixes.forEach(function(a) { ?>
|
|
||||||
<li><?js= self.linkto(a, a) ?></li>
|
|
||||||
<?js }); ?></ul>
|
|
||||||
<?js } ?>
|
|
||||||
|
|
||||||
<?js if (doc.requires && doc.requires.length) { ?>
|
|
||||||
<h3 class="subsection-title">Requires</h3>
|
|
||||||
|
|
||||||
<ul><?js doc.requires.forEach(function(r) { ?>
|
|
||||||
<li><?js= self.linkto(r, r) ?></li>
|
|
||||||
<?js }); ?></ul>
|
|
||||||
<?js } ?>
|
|
||||||
|
|
||||||
<?js
|
|
||||||
var classes = self.find({kind: 'class', memberof: doc.longname});
|
|
||||||
if (doc.kind !== 'globalobj' && classes && classes.length) {
|
|
||||||
?>
|
|
||||||
<h3 class="subsection-title">Classes</h3>
|
|
||||||
|
|
||||||
<dl><?js classes.forEach(function(c) { ?>
|
|
||||||
<dt><?js= self.linkto(c.longname, c.name) ?></dt>
|
|
||||||
<dd><?js if (c.summary) { ?><?js= c.summary ?><?js } ?></dd>
|
|
||||||
<?js }); ?></dl>
|
|
||||||
<?js } ?>
|
|
||||||
|
|
||||||
<?js
|
|
||||||
var namespaces = self.find({kind: 'namespace', memberof: doc.longname});
|
|
||||||
if (doc.kind !== 'globalobj' && namespaces && namespaces.length) {
|
|
||||||
?>
|
|
||||||
<h3 class="subsection-title">Namespaces</h3>
|
|
||||||
|
|
||||||
<dl><?js namespaces.forEach(function(n) { ?>
|
|
||||||
<dt><a href="namespaces.html#<?js= n.longname ?>"><?js= self.linkto(n.longname, n.name) ?></a></dt>
|
|
||||||
<dd><?js if (n.summary) { ?><?js= n.summary ?><?js } ?></dd>
|
|
||||||
<?js }); ?></dl>
|
|
||||||
<?js } ?>
|
|
||||||
|
|
||||||
<?js
|
|
||||||
if (doc.observables && doc.observables.length) {
|
|
||||||
?>
|
|
||||||
<h3 class="subsection-title">Observable Properties</h3>
|
|
||||||
<dl><?js= self.partial('observables.tmpl', doc.observables) ?></dl>
|
|
||||||
|
|
||||||
<?js } ?>
|
|
||||||
|
|
||||||
<?js
|
|
||||||
var members = self.find({kind: 'member', memberof: title === 'Global' ? {isUndefined: true} : doc.longname});
|
|
||||||
if (members && members.length && members.forEach) {
|
|
||||||
?>
|
|
||||||
<h3 class="subsection-title">Members</h3>
|
|
||||||
|
|
||||||
<dl><?js members.forEach(function(p) { ?>
|
|
||||||
<?js= self.partial('members.tmpl', p) ?>
|
|
||||||
<?js }); ?></dl>
|
|
||||||
<?js } ?>
|
|
||||||
|
|
||||||
<?js
|
|
||||||
var methods = self.find({kind: 'function', memberof: title === 'Global' ? {isUndefined: true} : doc.longname});
|
|
||||||
if (methods && methods.length && methods.forEach) {
|
|
||||||
?>
|
|
||||||
<h3 class="subsection-title">Methods</h3>
|
|
||||||
|
|
||||||
<dl><?js methods.forEach(function(m) { ?>
|
|
||||||
<?js= self.partial('method.tmpl', m) ?>
|
|
||||||
<?js }); ?></dl>
|
|
||||||
<?js } ?>
|
|
||||||
|
|
||||||
<?js
|
|
||||||
var typedefs = self.find({kind: 'typedef', memberof: title === 'Global' ? {isUndefined: true} : doc.longname});
|
|
||||||
if (typedefs && typedefs.length && typedefs.forEach) {
|
|
||||||
?>
|
|
||||||
<h3 class="subsection-title">Type Definitions</h3>
|
|
||||||
|
|
||||||
<dl><?js typedefs.forEach(function(e) {
|
|
||||||
if (e.signature) {
|
|
||||||
?>
|
|
||||||
<?js= self.partial('method.tmpl', e) ?>
|
|
||||||
<?js
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
?>
|
|
||||||
<?js= self.partial('members.tmpl', e) ?>
|
|
||||||
<?js
|
|
||||||
}
|
|
||||||
}); ?></dl>
|
|
||||||
<?js } ?>
|
|
||||||
|
|
||||||
<?js
|
|
||||||
var events = self.find({kind: 'event', memberof: title === 'Global' ? {isUndefined: true} : doc.longname});
|
|
||||||
if (events && events.length && events.forEach) {
|
|
||||||
?>
|
|
||||||
<h3 class="subsection-title">Events</h3>
|
|
||||||
|
|
||||||
<dl><?js events.forEach(function(e) { ?>
|
|
||||||
<?js= self.partial('method.tmpl', e) ?>
|
|
||||||
<?js }); ?></dl>
|
|
||||||
<?js } ?>
|
|
||||||
</article>
|
|
||||||
|
|
||||||
</section>
|
|
||||||
<?js } ?>
|
|
||||||
|
|
||||||
<?js }); ?>
|
|
||||||
@@ -1,84 +0,0 @@
|
|||||||
<?js
|
|
||||||
var data = obj;
|
|
||||||
var self = this;
|
|
||||||
?>
|
|
||||||
<dl class="details">
|
|
||||||
<?js
|
|
||||||
var properties = data.properties;
|
|
||||||
if (properties && properties.length && properties.forEach) {
|
|
||||||
?>
|
|
||||||
|
|
||||||
<h5 class="subsection-title">Properties:</h5>
|
|
||||||
|
|
||||||
<dl><?js= this.partial('properties.tmpl', properties) ?></dl>
|
|
||||||
|
|
||||||
<?js } ?>
|
|
||||||
|
|
||||||
<?js if (data.version) {?>
|
|
||||||
<dt class="tag-version">Version:</dt>
|
|
||||||
<dd class="tag-version"><ul class="dummy"><li><?js= version ?></li></ul></dd>
|
|
||||||
<?js } ?>
|
|
||||||
|
|
||||||
<?js if (data.since) {?>
|
|
||||||
<dt class="tag-since">Since:</dt>
|
|
||||||
<dd class="tag-since"><ul class="dummy"><li><?js= since ?></dd>
|
|
||||||
<?js } ?>
|
|
||||||
|
|
||||||
<?js if (data.deprecated) { ?>
|
|
||||||
<dt class="important tag-deprecated">Deprecated</dt><?js
|
|
||||||
if (data.deprecated === true) { ?><dd class="yes-def tag-deprecated"><ul class="dummy"><li>Yes</li></ul></dd><?js }
|
|
||||||
else { ?><dd><ul class="dummy"><li><?js= data.deprecated ?></li><ul></dd><?js }
|
|
||||||
?>
|
|
||||||
<?js } ?>
|
|
||||||
|
|
||||||
<?js if (data.author && author.length) {?>
|
|
||||||
<dt class="tag-author">Author:</dt>
|
|
||||||
<dd class="tag-author">
|
|
||||||
<ul><?js author.forEach(function(a) { ?>
|
|
||||||
<li><?js= self.resolveAuthorLinks(a) ?></li>
|
|
||||||
<?js }); ?></ul>
|
|
||||||
</dd>
|
|
||||||
<?js } ?>
|
|
||||||
|
|
||||||
<?js if (data.copyright) {?>
|
|
||||||
<dt class="tag-copyright">Copyright:</dt>
|
|
||||||
<dd class="tag-copyright"><ul class="dummy"><li><?js= copyright ?></li></ul></dd>
|
|
||||||
<?js } ?>
|
|
||||||
|
|
||||||
<?js if (data.license) {?>
|
|
||||||
<dt class="tag-license">License:</dt>
|
|
||||||
<dd class="tag-license"><ul class="dummy"><li><?js= license ?></li></ul></dd>
|
|
||||||
<?js } ?>
|
|
||||||
|
|
||||||
<?js if (data.defaultvalue) {?>
|
|
||||||
<dt class="tag-default">Default Value:</dt>
|
|
||||||
<dd class="tag-default"><ul class="dummy"><li><?js= data.defaultvalue ?></li></ul></dd>
|
|
||||||
<?js } ?>
|
|
||||||
|
|
||||||
<?js if (data.tutorials && tutorials.length) {?>
|
|
||||||
<dt class="tag-tutorial">Tutorials:</dt>
|
|
||||||
<dd class="tag-tutorial">
|
|
||||||
<ul><?js tutorials.forEach(function(t) { ?>
|
|
||||||
<li><?js= self.tutoriallink(t) ?></li>
|
|
||||||
<?js }); ?></ul>
|
|
||||||
</dd>
|
|
||||||
<?js } ?>
|
|
||||||
|
|
||||||
<?js if (data.see && see.length) {?>
|
|
||||||
<dt class="tag-see">See:</dt>
|
|
||||||
<dd class="tag-see">
|
|
||||||
<ul><?js see.forEach(function(s) { ?>
|
|
||||||
<li><?js= self.linkto(s) ?></li>
|
|
||||||
<?js }); ?></ul>
|
|
||||||
</dd>
|
|
||||||
<?js } ?>
|
|
||||||
|
|
||||||
<?js if (data.todo && todo.length) {?>
|
|
||||||
<dt class="tag-todo">TODO</dt>
|
|
||||||
<dd class="tag-todo">
|
|
||||||
<ul><?js todo.forEach(function(t) { ?>
|
|
||||||
<li><?js= t ?></li>
|
|
||||||
<?js }); ?></ul>
|
|
||||||
</dd>
|
|
||||||
<?js } ?>
|
|
||||||
</dl>
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
<?js var data = obj; ?>
|
|
||||||
<pre class="prettyprint"><code><?js= data ?></code></pre>
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
<?js
|
|
||||||
var data = obj;
|
|
||||||
data.forEach(function(example) {
|
|
||||||
if (example.caption) {
|
|
||||||
?>
|
|
||||||
<p class="code-caption"><?js= example.caption ?></p>
|
|
||||||
<?js } ?>
|
|
||||||
|
|
||||||
<?js if (example.code.toString().indexOf('<pre>') === -1) { ?>
|
|
||||||
<pre class="prettyprint"><code><?js= example.code ?></code></pre>
|
|
||||||
<?js } else { ?>
|
|
||||||
<?js= example.code.replace(/<pre>/g, '<pre class="prettyprint">') ?>
|
|
||||||
<?js } ?>
|
|
||||||
<?js
|
|
||||||
});
|
|
||||||
?>
|
|
||||||