Adds spawn output rendering (variant of night which shows dark areas in red) and support for multiple map types with buttons to switch between them.
This commit is contained in:
16
config.js
16
config.js
@@ -1,6 +1,5 @@
|
||||
|
||||
var config = {
|
||||
path: 'tiles',
|
||||
fileExt: '{imgformat}',
|
||||
tileSize: 384,
|
||||
defaultZoom: 1,
|
||||
@@ -28,6 +27,21 @@ var signGroups = [
|
||||
{label: "All", match: function(s) {return true}}
|
||||
];
|
||||
|
||||
/* mapTypeData -- a list of alternate map renderings available. At least one rendering must be
|
||||
* listed. When more than one are provided, controls to switch between them are provided, with
|
||||
* the first one being the default.
|
||||
*
|
||||
* Required:
|
||||
* label : string. Displayed on the control.
|
||||
* path : string. Location of the rendered tiles.
|
||||
*/
|
||||
var mapTypeData=[
|
||||
{'label': 'Unlit', 'path': 'tiles'},
|
||||
// {'label': 'Day', 'path': 'lighting/tiles'},
|
||||
// {'label': 'Night', 'path': 'night/tiles'},
|
||||
// {'label': 'Spawn', 'path': 'spawn/tiles'}
|
||||
];
|
||||
|
||||
// Please leave the following variables here:
|
||||
var markerCollection = {}; // holds groups of markers
|
||||
|
||||
|
||||
Reference in New Issue
Block a user