diff --git a/config.json b/config.json index 6473c20..eabc06b 100644 --- a/config.json +++ b/config.json @@ -6,6 +6,7 @@ }, "map": { "preview_attribute": "organization_name", + "new_point_address_attribute": "address", "center":[42.3725, -71.1266], "zoom":13, "maxZoom":16, @@ -62,5 +63,48 @@ "hostname": "auto", "detail_enabled": true }, - "geojson_source": "data.geojson" + "geojson_source": "data.geojson", + "edit_mode": true, + "new_feature_popup_label": "Add service provider named...", + "feature_property_json_schema": { + "title": "Organization", + "type": "object", + "id": "properties", + "properties": { + "organization_name": { "title": "Name", "type": "string" }, + "address": { "title": "Address", "type": "string", "format": "textarea" }, + "city": { "title": "City", "type": "string" }, + "web_url": { "title": "Web URL", "type": "string", "format": "url" }, + "phone_numbers": { + "title": "Phone numbers", + "type": "array", "format": "table", "items": { "type": "string" } + }, + "contact_emails": { + "title": "Email addresses", + "type": "array", "format": "table", "items": { "type": "string" } + }, + "contact_names": { + "title": "Contact names", + "type": "array", "format": "table", "items": { "type": "string" } + }, + "target_populations": { + "title": "Target Populations", + "type": "array", "format": "table", "items": { "type": "string" } + }, + "youth_category": { + "title": "Youth category", + "type": "array", "format": "table", "items": { "type": "string" } + }, + "service_class_level_1": { + "title": "Service class lvl 1", + "type": "array", "format": "table", "items": { "type": "string" } + }, + "service_class_level_2": { + "title": "Service class lvl 2", + "type": "array", "format": "table", "items": { "type": "string" } + }, + "age_range": { "title": "Age Range", "type": "string" }, + "additional_notes": { "title": "Further Notes", "type": "string" } + } + } } diff --git a/fonts/glyphicons-halflings-regular.eot b/fonts/glyphicons-halflings-regular.eot new file mode 100644 index 0000000..4a4ca86 Binary files /dev/null and b/fonts/glyphicons-halflings-regular.eot differ diff --git a/fonts/glyphicons-halflings-regular.svg b/fonts/glyphicons-halflings-regular.svg new file mode 100644 index 0000000..25691af --- /dev/null +++ b/fonts/glyphicons-halflings-regular.svg @@ -0,0 +1,229 @@ + + + \ No newline at end of file diff --git a/fonts/glyphicons-halflings-regular.ttf b/fonts/glyphicons-halflings-regular.ttf new file mode 100644 index 0000000..67fa00b Binary files /dev/null and b/fonts/glyphicons-halflings-regular.ttf differ diff --git a/fonts/glyphicons-halflings-regular.woff b/fonts/glyphicons-halflings-regular.woff new file mode 100644 index 0000000..8c54182 Binary files /dev/null and b/fonts/glyphicons-halflings-regular.woff differ diff --git a/index.html b/index.html index a9f0968..7e439f3 100644 --- a/index.html +++ b/index.html @@ -31,8 +31,13 @@
+ @@ -54,6 +60,9 @@