/
config.yml
152 lines (142 loc) · 3.6 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
# Settings for the app
app:
# HTML Title
title: Shareabouts
# Header name
name: Shareabouts
# Meta description that will show up in Google search results
meta_description: _(Shareabouts is a mapping tool to gather crowd sourced public input. Use it to collect suggested locations and comments in a social, engaging process.)
# Settings for map and layer configs
map:
geolocation_enabled: true
geolocation_onload: true
options:
center:
lat: 41.05502
lng: -73.539562
zoom: 14
minZoom: 10
maxZoom: 17
base_layer:
url: http://{s}.tiles.mapbox.com/v3/openplans.map-dmar86ym/{z}/{x}/{y}.png
attribution: '© OpenStreetMap contributors, CC-BY-SA. <a href="http://mapbox.com/about/maps" target="_blank">Terms & Feedback</a>'
layers: []
# The keys show up in the dropdown list when you are adding a new place
# The values map the place type to map icons (defined below).
place_types:
landmark:
default: blue
focused: red
label: _(Landmark)
park:
default: blue
focused: red
label: _(Park)
school:
default: blue
focused: red
label: _(School)
# Defines place icons. See http://leaflet.cloudmade.com/reference.html#icon
# for documention of each property. Any omitted property will be undefined.
place_type_icons:
blue:
iconUrl: /static/css/images/feature-point.png
iconSize:
width: 17
height: 18
iconAnchor:
x: 9
y: 9
red:
iconUrl: /static/css/images/marker-focused.png
shadowUrl: /static/css/images/marker-shadow.png
iconSize:
width: 25
height: 41
shadowSize:
width: 41
height: 41
iconAnchor:
x: 12
y: 41
activity:
# Optional. Activity is supported by default. Set to false to disable.
enabled: false
# How often to refresh the activity list, in milliseconds.
interval: 30000
place:
adding_supported: true
add_button_label: _(Add a Place)
action_text: _(added)
title: _(Tell us more...)
action_text: _(created)
anonymous_name: _(Someone)
submit_button_label: _(Submit)
items:
- prompt: _(Location Name)
type: text
name: name
attrs:
- key: placeholder
value: _(Location Name)
- key: size
value: 30
- prompt: _(Location Type)
type: select
options:
- label: _(Landmark)
value: landmark
- label: _(Park)
value: park
- label: _(School)
value: school
name: location_type
- prompt: _(Image)
inputfile_label: _(Add an Image)
type: file
name: my_image
optional: true
attrs:
- key: accept
value: image/*
- prompt: _(Your Name)
type: text
name: submitter_name
optional: true
attrs:
- key: placeholder
value: _(Name)
- key: size
value: 30
- prompt: _(Description)
type: textarea
name: description
optional: true
attrs:
- key: placeholder
value: _(Description...)
survey:
submission_type: comments
# Response config
show_responses: true
response_name: _(comment)
response_plural_name: _(comments)
action_text: _(commented on)
anonymous_name: _(Someone)
# Survey form config
title: _(Leave a Comment)
form_link_text: _(Leave a Comment)
submit_btn_text: _(Comment)
items:
- prompt: _(Comment)
label: _(Comment)
type: textarea
name: comment
- prompt: _(Your Name)
type: text
name: submitter_name
support:
submission_type: support
submit_btn_text: _(Support This!)
action_text: supported
anonymous_name: _(Someone)