Update leaflet-omnivore to 0.3.4.

This commit is contained in:
David Molineus
2016-11-25 09:36:15 +01:00
parent aab101e58e
commit 0dbb9424e2
7 changed files with 45 additions and 1647 deletions

View File

@@ -1,3 +1,12 @@
## 0.3.4
* From now on, the repository doesn't contain leaflet-omnivore.js or leaflet-omnivore.min.js. Those
files will be in the npm package and you can use unpkg.com to get them.
## 0.3.3
* Call either `setGeoJSON` or `addData` on GeoJSON layers, not both.
## 0.3.2 ## 0.3.2
* Move `brfs` and `hintify` to dependencies. * Move `brfs` and `hintify` to dependencies.

View File

@@ -1,5 +1,3 @@
[![Build Status](https://travis-ci.org/mapbox/leaflet-omnivore.svg)](https://travis-ci.org/mapbox/leaflet-omnivore)
# leaflet-omnivore # leaflet-omnivore
![](https://farm8.staticflickr.com/7373/12376158164_e335b4e61d_b.jpg) ![](https://farm8.staticflickr.com/7373/12376158164_e335b4e61d_b.jpg)
@@ -24,7 +22,7 @@ so you can specify what you want to add to the map with just a URL.
use it easily with the [Mapbox Plugins CDN](http://mapbox.com/mapbox.js/plugins/#leaflet-omnivore): use it easily with the [Mapbox Plugins CDN](http://mapbox.com/mapbox.js/plugins/#leaflet-omnivore):
```html ```html
<script src='//api.tiles.mapbox.com/mapbox.js/plugins/leaflet-omnivore/v0.2.0/leaflet-omnivore.min.js'></script> <script src='//api.tiles.mapbox.com/mapbox.js/plugins/leaflet-omnivore/v0.3.1/leaflet-omnivore.min.js'></script>
``` ```
@@ -43,7 +41,7 @@ Live examples:
* [CSV](https://www.mapbox.com/mapbox.js/example/v1.0.0/markers-from-csv/) * [CSV](https://www.mapbox.com/mapbox.js/example/v1.0.0/markers-from-csv/)
```js ```js
var map = L.mapbox.map('map', 'examples.map-9ijuk24y') var map = L.mapbox.map('map', 'mapbox.streets')
.setView([38, -102.0], 5); .setView([38, -102.0], 5);
omnivore.csv('a.csv').addTo(map); omnivore.csv('a.csv').addTo(map);

View File

@@ -1,5 +0,0 @@
{
"name": "leaflet-omnivore",
"version": "0.3.0",
"description": "a geospatial format parser for Leaflet"
}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -1,22 +1,26 @@
{ {
"name": "leaflet-omnivore", "name": "leaflet-omnivore",
"version": "0.3.2", "version": "0.3.4",
"description": "a geospatial format parser for Leaflet", "description": "a geospatial format parser for Leaflet",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "zuul --local -- test/test.js", "test": "zuul --local -- test/test.js",
"test-remote": "zuul -- test/test.js", "test-remote": "zuul -- test/test.js",
"test-headless": "zuul --phantom test/test.js", "test-headless": "zuul --phantom -- test/test.js",
"build": "browserify -s omnivore index.js > leaflet-omnivore.js && uglifyjs leaflet-omnivore.js -c -m > leaflet-omnivore.min.js" "prepublish": "browserify -s omnivore index.js > leaflet-omnivore.js && uglifyjs leaflet-omnivore.js -c -m > leaflet-omnivore.min.js"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git@github.com:mapbox/leaflet-omnivore.git" "url": "git@github.com:mapbox/leaflet-omnivore.git"
}, },
"files": [
"index.js",
"leaflet-omnivore.js",
"leaflet-omnivore.min.js"
],
"browserify": { "browserify": {
"transform": [ "transform": [
"brfs", "brfs"
"hintify"
] ]
}, },
"keywords": [ "keywords": [
@@ -38,30 +42,29 @@
"converter" "converter"
], ],
"author": "Tom MacWright", "author": "Tom MacWright",
"license": "BSD", "license": "BSD-3-Clause",
"bugs": { "bugs": {
"url": "https://github.com/mapbox/leaflet-omnivore/issues" "url": "https://github.com/mapbox/leaflet-omnivore/issues"
}, },
"homepage": "https://github.com/mapbox/leaflet-omnivore", "homepage": "https://github.com/mapbox/leaflet-omnivore",
"dependencies": { "dependencies": {
"csv2geojson": "~3.6.1", "csv2geojson": "~5.0.0",
"togeojson": "0.10.1", "togeojson": "0.13.0",
"corslite": "0.0.6", "corslite": "0.0.7",
"wellknown": "0.3.0", "wellknown": "0.4.2",
"hintify": "~0.1.0", "brfs": "1.4.3",
"brfs": "0.2.1", "topojson": "1.6.26",
"topojson": "1.6.8", "polyline": "0.2.0"
"polyline": "0.0.3"
}, },
"devDependencies": { "devDependencies": {
"browserify": "7.0.2", "browserify": "13.0.1",
"tape": "2.4.2", "tape": "4.5.1",
"uglify-js": "2.4.16", "uglify-js": "^2.6.2",
"jshint": "2.5.0", "jshint": "2.9.2",
"mocha": "~1.20.1", "mocha": "~2.5.3",
"zuul": "~1.7.0", "zuul": "~3.10.1",
"st": "0.5.1", "st": "1.1.0",
"mapbox.js": "1.6.4", "mapbox.js": "2.4.0",
"phantomjs": "~1.9.7-15" "phantomjs-prebuilt": "2.1.7"
} }
} }

View File

@@ -36,7 +36,7 @@ $GLOBALS['LEAFLET_LIBRARIES']['leaflet-providers'] = array
$GLOBALS['LEAFLET_LIBRARIES']['leaflet-omnivore'] = array $GLOBALS['LEAFLET_LIBRARIES']['leaflet-omnivore'] = array
( (
'name' => 'Leaflet-omnivore', 'name' => 'Leaflet-omnivore',
'version' => '0.3.2', 'version' => '0.3.4',
'license' => '<a href="https://github.com/mapbox/leaflet-omnivore/blob/master/LICENSE" target="_blank">BSD</a>', 'license' => '<a href="https://github.com/mapbox/leaflet-omnivore/blob/master/LICENSE" target="_blank">BSD</a>',
'homepage' => 'https://github.com/mapbox/leaflet-omnivore', 'homepage' => 'https://github.com/mapbox/leaflet-omnivore',
'javascript' => 'assets/leaflet/libs/leaflet-omnivore/leaflet-omnivore.min.js' 'javascript' => 'assets/leaflet/libs/leaflet-omnivore/leaflet-omnivore.min.js'