Skip to content

Commit

Permalink
release version 4.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Christos Charmatzis committed Nov 6, 2019
1 parent 94d39b9 commit 8e2a335
Show file tree
Hide file tree
Showing 6 changed files with 11,357 additions and 3,790 deletions.
1 change: 1 addition & 0 deletions dist/main.js

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions dist/react-leaflet-bing.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

44 changes: 44 additions & 0 deletions lib/Bing.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

exports.__esModule = true;
exports.default = void 0;

var _inheritsLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/inheritsLoose"));

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));

var _react = _interopRequireDefault(require("react"));

var _propTypes = _interopRequireDefault(require("prop-types"));

var _reactLeaflet = require("react-leaflet");

var _leaflet = require("./leaflet.bing");

var BingLayer =
/*#__PURE__*/
function (_GridLayer) {
(0, _inheritsLoose2.default)(BingLayer, _GridLayer);

function BingLayer() {
return _GridLayer.apply(this, arguments) || this;
}

var _proto = BingLayer.prototype;

_proto.createLeafletElement = function createLeafletElement(props) {
return L.bingLayer(props.bingkey, this.getOptions(props));
};

return BingLayer;
}(_reactLeaflet.GridLayer);

(0, _defineProperty2.default)(BingLayer, "propTypes", {
bingkey: _propTypes.default.string.isRequired
});

var _default = (0, _reactLeaflet.withLeaflet)(BingLayer);

exports.default = _default;
9 changes: 9 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

exports.__esModule = true;

var _Bing = _interopRequireDefault(require("./Bing"));

exports.BingLayer = _Bing.default;
Loading

0 comments on commit 8e2a335

Please sign in to comment.