[UPD] rename ol3-ext to ol-ext

This commit is contained in:
Jean-Marc Viglino 2017-12-24 15:19:54 +01:00
parent 1d9d265f9e
commit 70d380fe94
12 changed files with 16449 additions and 30 deletions

View File

@ -18,3 +18,8 @@ bar.addControl (c);
```
- add `autoActive` option to `ol.control.Toggle` to auto activate the control when inserted in a subbar
- add `autoDeactivate` option to `ol.control.Bar` to auto deactivate all controls in a subbar when desactivating it
## v1.1.2 2017-12
**change project name ol-ext is now ol-ext**
- add doc-pages [#53]
- see [#65]

View File

@ -1,8 +1,10 @@
# ol3-ext
# ol-ext
*Cool extensions for [OpenLayers](https://github.com/openlayers/openlayers) (ol/ol3/ol4)*.
[ol3-ext](https://github.com/Viglino/ol3-ext) is a set of extensions, controls, interactions to use with Openlayers.
[View live examples online](http://viglino.github.io/ol3-ext/) or the [API documentation](http://viglino.github.io/ol3-ext/doc/doc-pages/).
### ol3-ext is now [ol-ext](https://github.com/Viglino/ol-ext) update your bookmark and your code
[ol-ext](https://github.com/Viglino/ol-ext) is a set of extensions, controls, interactions to use with Openlayers.
[View live examples online](http://viglino.github.io/ol-ext/) or the [API documentation](http://viglino.github.io/ol-ext/doc/doc-pages/).
**Keywords:** CSS popup,
Font Awesome symbol renderer,
@ -32,20 +34,20 @@ animations
![](img/map.overlay.magnify.jpg?raw=true)
![](img/map.filter.lego.jpg?raw=true)
![](img/map.interaction.synchronize.jpg?raw=true)
](http://viglino.github.io/ol3-ext/)
](http://viglino.github.io/ol-ext/)
## Getting Started
* Just download the [build script](https://github.com/Viglino/ol3-ext/tree/gh-pages/dist) in the dist directory of the project.
* Just download the [build script](https://github.com/Viglino/ol-ext/tree/gh-pages/dist) in the dist directory of the project.
* If you just want to add a `<script>` tag to test things out, you can link directly to the builds from the github rawgit (not recommended in production):
````
<!-- OL3-ext -->
<link rel="stylesheet" href="https://cdn.rawgit.com/Viglino/ol3-ext/gh-pages/dist/ol3-ext.min.css" />
<script type="text/javascript" src="https://cdn.rawgit.com/Viglino/ol3-ext/gh-pages/dist/ol3-ext.min.js"></script>
<!-- OL-ext -->
<link rel="stylesheet" href="https://cdn.rawgit.com/Viglino/ol-ext/gh-pages/dist/ol-ext.min.css" />
<script type="text/javascript" src="https://cdn.rawgit.com/Viglino/ol-ext/gh-pages/dist/ol-ext.min.js"></script>
````
* Use npm [ol3-ext package](https://www.npmjs.com/package/ol3-ext):
* Use npm [ol-ext package](https://www.npmjs.com/package/ol-ext):
````
npm install ol3-ext
npm install ol-ext
````
#### Building the project:
@ -56,7 +58,7 @@ gulp
## Documentation
Check out the [hosted examples](http://viglino.github.io/ol3-ext/) or the [API documentation](http://viglino.github.io/ol3-ext/doc/doc-pages/).
Check out the [hosted examples](http://viglino.github.io/ol-ext/) or the [API documentation](http://viglino.github.io/ol-ext/doc/doc-pages/).
#### Building the documenctation:
The documentation use [gulp-jsdoc3](https://www.npmjs.com/package/gulp-jsdoc3) to create the doc.
@ -64,18 +66,18 @@ The documentation use [gulp-jsdoc3](https://www.npmjs.com/package/gulp-jsdoc3) t
````
npm install gulp-jsdoc3
````
2. then run the gulp command to create the doc in the [doc/doc-pages](http://viglino.github.io/ol3-ext/doc/doc-pages/) directory:
2. then run the gulp command to create the doc in the [doc/doc-pages](http://viglino.github.io/ol-ext/doc/doc-pages/) directory:
````
gulp doc
````
## Bugs
Please use the [GitHub issue tracker](https://github.com/Viglino/ol3-ext/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.
Please use the [GitHub issue tracker](https://github.com/Viglino/ol-ext/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.
## Licence
ol3-ext is licenced under the French Opensource **BSD** compatible CeCILL-B FREE SOFTWARE LICENSE.
ol-ext is licenced under the French Opensource **BSD** compatible CeCILL-B FREE SOFTWARE LICENSE.
(c) 2016-2017 - Jean-Marc Viglino
Some resources (mapping services and API) used in this sofware may have a specific license.

View File

@ -1,6 +1,6 @@
{
"name": "viglino/ol3-ext",
"description": "Cool extensions for OpenLayers 3",
"name": "viglino/ol-ext",
"description": "Cool extensions for OpenLayers (ol)",
"license": "CeCILL-B",
"authors": [
{

1997
dist/ol-ext.css vendored Normal file

File diff suppressed because one or more lines are too long

14383
dist/ol-ext.js vendored Normal file

File diff suppressed because one or more lines are too long

17
dist/ol-ext.min.css vendored Normal file

File diff suppressed because one or more lines are too long

16
dist/ol-ext.min.js vendored Normal file

File diff suppressed because one or more lines are too long

6
dist/ol3-ext.js vendored
View File

@ -1,9 +1,9 @@
/**
* ol3-ext - A set of cool extensions for OpenLayers 3 (ol3).
* ol-ext - A set of cool extensions for OpenLayers (ol).
* @abstract ol3,openlayers,popup,menu,symbol,renderer,filter,canvas,interaction,split,statistic,charts,pie,LayerSwitcher,toolbar,animation
* @version v1.0.1
* @version v1.1.1
* @author Jean-Marc Viglino (https://github.com/Viglino)
* @link https://github.com/Viglino/ol3-ext#,
* @link https://github.com/Viglino/ol-ext#,
* @license BSD
*/
/* Copyright (c) 2015 Jean-Marc VIGLINO,

6
dist/ol3-ext.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -38,7 +38,7 @@ gulp.task("css", function() {
compress: !options.debug,
sourcemap: options.debug
}))
.pipe(concat("ol3-ext"+(!options.debug?".min.css":".css")))
.pipe(concat("ol-ext"+(!options.debug?".min.css":".css")))
.pipe(gulp.dest("./dist/"))
});
@ -62,7 +62,7 @@ gulp.task("js", function() {
"!./*/*.min.js",
"!./*/texturefilterimage.js"
])
.pipe(concat("ol3-ext.js"))
.pipe(concat("ol-ext.js"))
.pipe(minify(
{ ext: {
src:".js",

View File

@ -1,5 +1,4 @@
OL3-ext is licenced under the French Opensource BSD like CeCILL-B FREE SOFTWARE LICENSE.
(c) 2016 - Jean-Marc Viglino, IGN-France
ol-ext (c) 2016 - Jean-Marc Viglino, IGN-France
Some resources (mapping services and API) used in this sofware may have a specific license.
You must check before use.

View File

@ -1,6 +1,6 @@
{
"name": "ol-ext",
"version": "1.1.1",
"version": "1.1.2",
"description": "A set of cool extensions for OpenLayers (ol).",
"main": "index.js",
"directories": {
@ -9,7 +9,7 @@
"scripts": {},
"repository": {
"type": "git",
"url": "git+https://github.com/Viglino/ol3-ext.git"
"url": "git+https://github.com/Viglino/ol-ext.git"
},
"keywords": [
"ol3",
@ -32,9 +32,9 @@
"author": "Jean-Marc Viglino (https://github.com/Viglino)",
"license": "BSD",
"bugs": {
"url": "https://github.com/Viglino/ol3-ext/issues"
"url": "https://github.com/Viglino/ol-ext/issues"
},
"homepage": "https://github.com/Viglino/ol3-ext#,",
"homepage": "https://github.com/Viglino/ol-ext#,",
"dependencies": {},
"devDependencies": {
"gulp": "^3.9.1",