17 lines
291 B
JavaScript
17 lines
291 B
JavaScript
(function() {
|
|
'use strict';
|
|
|
|
var L = require('leaflet');
|
|
|
|
module.exports = L.Class.extend({
|
|
options: {
|
|
allowUTurn: false,
|
|
},
|
|
initialize: function(latLng, name, options) {
|
|
L.Util.setOptions(this, options);
|
|
this.latLng = L.latLng(latLng);
|
|
this.name = name;
|
|
}
|
|
});
|
|
})();
|