* @copyright 2014-2016 netzmacht David Molineus * @license LGPL 3.0 * @filesource * */ /* * Support all providers and variants which are supported by leaflet-providers. * See https://github.com/leaflet-extras/leaflet-providers/blob/master/leaflet-providers.js */ $GLOBALS['LEAFLET_TILE_PROVIDERS'] = array ( 'OpenStreetMap' => array ( 'variants' => array('Mapnik', 'BlackAndWhite', 'DE', 'CH', 'France', 'HOT', 'BZH'), ), 'OpenSeaMap' => array(), 'OpenTopoMap' => array(), 'OpenPtMap' => array(), 'OpenRailwayMap' => array(), 'OpenFireMap' => array(), 'SafeCast' => array(), 'Thunderforest' => array ( 'class' => 'Netzmacht\LeafletPHP\Plugins\LeafletProviders\ThunderforestProvider', 'variants' => array( 'OpenCycleMap', 'Transport', 'TransportDark', 'SpinalMap', 'Landscape', 'Outdoors', 'Pioneer' ), 'options' => array( 'apyKey' => 'tile_provider_key' ), ), 'OpenMapSurfer' => array ( 'variants' => array('Roads', 'AdminBounds', 'Grayscale') ), 'Hydda' => array( 'variants' => array('Full', 'Base', 'RoadsAndLabels') ), 'MapBox' => array( 'class' => 'Netzmacht\LeafletPHP\Plugins\LeafletProviders\MapBoxProvider', 'options' => array( 'accessToken' => 'tile_provider_key' ), ), 'Stamen' => array( 'variants' => array( 'Toner', 'TonerBackground', 'TonerHybrid', 'TonerLines', 'TonerLabels', 'TonerLite', 'Terrain', 'TerrainBackground', 'TopOSMRelief', 'TopOSMFeatures', 'Watercolor' ) ), 'Esri' => array( 'variants' => array( 'WorldStreetMap', 'DeLorme', 'WorldTopoMap', 'WorldImagery', 'WorldTerrain', 'WorldShadedRelief', 'WorldPhysical', 'OceanBasemap', 'NatGeoWorldMap', 'WorldGrayCanvas' ) ), 'OpenWeatherMap' => array( 'class' => 'Netzmacht\LeafletPHP\Plugins\LeafletProviders\OpenWeatherMapProvider', 'variants' => array( 'Clouds', 'CloudsClassic', 'Precipitation', 'PrecipitationClassic', 'Rain', 'RainClassic', 'Pressure', 'PressureContour', 'Wind', 'Temperature', 'Snow' ), 'options' => array( 'apiKey' => 'tile_provider_key' ), ), 'HERE' => array( 'class' => 'Netzmacht\LeafletPHP\Plugins\LeafletProviders\HereProvider', 'variants' => array( 'normalDay', 'normalDayCustom', 'normalDayGrey', 'normalDayMobile', 'normalDayGreyMobile', 'normalDayTransit', 'normalDayTransitMobile', 'normalNight', 'normalNightMobile', 'normalNightGrey', 'normalNightGreyMobile', 'normalNightTransit', 'reducedDay', 'reducedNight', 'basicMap', 'mapLabels', 'trafficFlow', 'carnavDayGrey', 'hybridDay', 'hybridDayMobile', 'hybridDayTransit', 'hybridDayGrey', 'pedestrianDay', 'pedestrianNight', 'satelliteDay', 'terrainDay', 'terrainDayMobile', ), 'options' => array( 'appId' => 'tile_provider_key', 'appCode' => 'tile_provider_code', ), 'fields' => array('tile_provider_key', 'tile_provider_code'), ), 'JusticeMap' => array( 'variants' => array( 'income', 'americanIndian', 'asian', 'black', 'hispanic', 'multi', 'nonWhite', 'white', 'plurality', ) ), 'FreeMapSK' => array(), 'MtbMap' => array(), 'CartoDB' => array( 'variants' => array( 'Positron', 'PositronNoLabels', 'PositronOnlyLabels', 'DarkMatter', 'DarkMatterNoLabels', 'DarkMatterOnlyLabels', 'Voyager', 'VoyagerNoLabels', 'VoyagerOnlyLabels', 'VoyagerLabelsUnder', ) ), 'HikeBike' => array( 'variants' => array( 'HikeBike', 'HillShading', ) ), 'BasemapAT' => array( 'variants' => array( 'basemap', 'grau', 'overlay', 'highdpi', 'orthofoto', ) ), 'nlmaps' => array( 'variants' => array('standaard', 'pastel', 'grijs', 'luchtfoto') ), 'NASAGIBS' => array( 'variants' => array( 'ModisTerraTrueColorCR', 'ModisTerraBands367CR', 'ViirsEarthAtNight2012', 'ModisTerraLSTDay', 'ModisTerraSnowCover', 'ModisTerraAOD', 'ModisTerraChlorophyll', ) ), 'NLS' => array(), 'Wikimedia' => array(), 'GeoportailFrance' => array( 'variants' => array( 'parcels', 'ignMaps', 'maps', 'orthos' ), ), 'OneMapSG' => array( 'variants' => array( 'Default', 'Night', 'Original', 'Grey', 'LandLot' ), ) );