RetinaTileLayer.js (349B)
1 import L from 'leaflet'; 2 3 import {RetinaTileLayer} from '~/lib/leaflet.layer.RetinaTileLayer'; 4 import './TileLayer'; 5 6 RetinaTileLayer.include({ 7 cloneForPrint: function(options) { 8 const newOptions = L.Util.extend({}, this.options, options); 9 return new RetinaTileLayer(this.urls, newOptions, newOptions.scaleDependent); 10 }, 11 });
