forked from Snck3rs/contao-leaflet-libraries
Update leaflet-omnivore to 0.3.4.
This commit is contained in:
@@ -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
|
||||
|
||||
* Move `brfs` and `hintify` to dependencies.
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
[](https://travis-ci.org/mapbox/leaflet-omnivore)
|
||||
|
||||
# leaflet-omnivore
|
||||
|
||||

|
||||
@@ -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):
|
||||
|
||||
```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/)
|
||||
|
||||
```js
|
||||
var map = L.mapbox.map('map', 'examples.map-9ijuk24y')
|
||||
var map = L.mapbox.map('map', 'mapbox.streets')
|
||||
.setView([38, -102.0], 5);
|
||||
|
||||
omnivore.csv('a.csv').addTo(map);
|
||||
|
||||
@@ -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
@@ -1,22 +1,26 @@
|
||||
{
|
||||
"name": "leaflet-omnivore",
|
||||
"version": "0.3.2",
|
||||
"version": "0.3.4",
|
||||
"description": "a geospatial format parser for Leaflet",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "zuul --local -- test/test.js",
|
||||
"test-remote": "zuul -- 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"
|
||||
"test-headless": "zuul --phantom -- test/test.js",
|
||||
"prepublish": "browserify -s omnivore index.js > leaflet-omnivore.js && uglifyjs leaflet-omnivore.js -c -m > leaflet-omnivore.min.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git@github.com:mapbox/leaflet-omnivore.git"
|
||||
},
|
||||
"files": [
|
||||
"index.js",
|
||||
"leaflet-omnivore.js",
|
||||
"leaflet-omnivore.min.js"
|
||||
],
|
||||
"browserify": {
|
||||
"transform": [
|
||||
"brfs",
|
||||
"hintify"
|
||||
"brfs"
|
||||
]
|
||||
},
|
||||
"keywords": [
|
||||
@@ -38,30 +42,29 @@
|
||||
"converter"
|
||||
],
|
||||
"author": "Tom MacWright",
|
||||
"license": "BSD",
|
||||
"license": "BSD-3-Clause",
|
||||
"bugs": {
|
||||
"url": "https://github.com/mapbox/leaflet-omnivore/issues"
|
||||
},
|
||||
"homepage": "https://github.com/mapbox/leaflet-omnivore",
|
||||
"dependencies": {
|
||||
"csv2geojson": "~3.6.1",
|
||||
"togeojson": "0.10.1",
|
||||
"corslite": "0.0.6",
|
||||
"wellknown": "0.3.0",
|
||||
"hintify": "~0.1.0",
|
||||
"brfs": "0.2.1",
|
||||
"topojson": "1.6.8",
|
||||
"polyline": "0.0.3"
|
||||
"csv2geojson": "~5.0.0",
|
||||
"togeojson": "0.13.0",
|
||||
"corslite": "0.0.7",
|
||||
"wellknown": "0.4.2",
|
||||
"brfs": "1.4.3",
|
||||
"topojson": "1.6.26",
|
||||
"polyline": "0.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"browserify": "7.0.2",
|
||||
"tape": "2.4.2",
|
||||
"uglify-js": "2.4.16",
|
||||
"jshint": "2.5.0",
|
||||
"mocha": "~1.20.1",
|
||||
"zuul": "~1.7.0",
|
||||
"st": "0.5.1",
|
||||
"mapbox.js": "1.6.4",
|
||||
"phantomjs": "~1.9.7-15"
|
||||
"browserify": "13.0.1",
|
||||
"tape": "4.5.1",
|
||||
"uglify-js": "^2.6.2",
|
||||
"jshint": "2.9.2",
|
||||
"mocha": "~2.5.3",
|
||||
"zuul": "~3.10.1",
|
||||
"st": "1.1.0",
|
||||
"mapbox.js": "2.4.0",
|
||||
"phantomjs-prebuilt": "2.1.7"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ $GLOBALS['LEAFLET_LIBRARIES']['leaflet-providers'] = array
|
||||
$GLOBALS['LEAFLET_LIBRARIES']['leaflet-omnivore'] = array
|
||||
(
|
||||
'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>',
|
||||
'homepage' => 'https://github.com/mapbox/leaflet-omnivore',
|
||||
'javascript' => 'assets/leaflet/libs/leaflet-omnivore/leaflet-omnivore.min.js'
|
||||
|
||||
Reference in New Issue
Block a user