Files
ukraine-timemap/example.config.js
Lachlan Kermode b23938b1da add in example
2020-06-18 10:30:25 +02:00

46 lines
1.2 KiB
JavaScript

module.exports = {
title: 'example',
display_title: 'example',
SERVER_ROOT: 'http://localhost:4040',
EVENT_EXT: '/api/example/export_events/deeprows',
CATEGORY_EXT: '/api/example/export_categories/rows',
NARRATIVE_EXT: '/api/example/export_narratives/rows',
SOURCES_EXT: '/api/example/export_sources/deepids',
TAGS_EXT: '/api/example/export_tags/tree',
SITES_EXT: '/api/example/export_sites/rows',
SHAPES_EXT: '/api/example/export_shapes/columns',
INCOMING_DATETIME_FORMAT: '%m/%d/%YT%H:%M',
// MAPBOX_TOKEN: 'pk.YOUR_MAPBOX_TOKEN',
features: {
USE_COVER: false,
USE_TAGS: false,
USE_SEARCH: false,
USE_SITES: true,
USE_SOURCES: true,
USE_SHAPES: false,
CATEGORIES_AS_TAGS: true,
/** setting this to true will 'graph' non-located events. TODO: document
* and rename **/
ASSOCIATIVE_EVENTS_BY_TAG: false
},
store: {
app: {
map: {
anchor: [31.356397, 34.784818]
}
},
ui: {
style: {
categories: {
// alpha: 'blue',
beta: 'orange'
},
shapes: {},
narratives: {},
selectedEvent: {}
// tiles: 'your-mapbox-account-name/x5678-map-id'
}
}
}
}