Sha256: 512bd672466aaba1e13350341be30aff7fa4fda6709d84b94171d172ee6febc7
Contents?: true
Size: 1.89 KB
Versions: 154
Compression:
Stored size: 1.89 KB
Contents
'use strict'; var geocoderControl = require('./geocoder_control'), gridControl = require('./grid_control'), featureLayer = require('./feature_layer'), legendControl = require('./legend_control'), shareControl = require('./share_control'), tileLayer = require('./tile_layer'), map = require('./map'), gridLayer = require('./grid_layer'), styleLayer = require('./style_layer'); L.mapbox = module.exports = { VERSION: require('../package.json').version, geocoder: require('./geocoder'), marker: require('./marker'), simplestyle: require('./simplestyle'), tileLayer: tileLayer.tileLayer, TileLayer: tileLayer.TileLayer, styleLayer: styleLayer.styleLayer, StyleLayer: styleLayer.StyleLayer, shareControl: shareControl.shareControl, ShareControl: shareControl.ShareControl, legendControl: legendControl.legendControl, LegendControl: legendControl.LegendControl, geocoderControl: geocoderControl.geocoderControl, GeocoderControl: geocoderControl.GeocoderControl, gridControl: gridControl.gridControl, GridControl: gridControl.GridControl, gridLayer: gridLayer.gridLayer, GridLayer: gridLayer.GridLayer, featureLayer: featureLayer.featureLayer, FeatureLayer: featureLayer.FeatureLayer, map: map.map, Map: map.Map, config: require('./config'), sanitize: require('sanitize-caja'), template: require('mustache').to_html, feedback: require('./feedback') }; // Hardcode image path, because Leaflet's autodetection // fails, because mapbox.js is not named leaflet.js window.L.Icon.Default.imagePath = // Detect bad-news protocols like file:// and hardcode // to https if they're detected. ((document.location.protocol === 'https:' || document.location.protocol === 'http:') ? '' : 'https:') + '//api.tiles.mapbox.com/mapbox.js/' + 'v' + require('../package.json').version + '/images/';
Version data entries
154 entries across 154 versions & 2 rubygems