Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var mapv = require('mapv')
var SuperMapCloudTileLayerView = leaflet.LeafletTileLayerView.extend({
create_obj: function () {
var url = this.model.get('url');
var options = this.get_options();
if (!options.attribution) {
delete options.attribution;
}
this.obj = L.supermap.cloudTileLayer(url, options);
}
})
var SuperMapTileMapLayerView = leaflet.LeafletTileLayerView.extend({
create_obj: function () {
var url = this.model.get('url')
this.obj = L.supermap.tiledMapLayer(url)
}
})
var SuperMapRankSymbolThemeLayerView = leaflet.LeafletLayerView.extend({
create_obj: function () {
var name = this.model.get('name');
var symbolType = this.model.get('symbol_type')
var options = this.get_options();
if (!options.attribution) {
delete options.attribution;
}
this.obj = L.supermap.rankSymbolThemeLayer(name, SuperMap.ChartType[symbolType], options);
var leaflet = require('jupyter-leaflet')
var _ = require('underscore')
var version = require('../package.json').version
import L from 'leaflet'
require('leaflet.heat')
require('@supermap/iclient-leaflet')
var mapv = require('mapv')
var SuperMapCloudTileLayerView = leaflet.LeafletTileLayerView.extend({
create_obj: function () {
var url = this.model.get('url');
var options = this.get_options();
if (!options.attribution) {
delete options.attribution;
}
this.obj = L.supermap.cloudTileLayer(url, options);
}
})
var SuperMapTileMapLayerView = leaflet.LeafletTileLayerView.extend({
create_obj: function () {
var url = this.model.get('url')
this.obj = L.supermap.tiledMapLayer(url)