Skip to content

Page Spec File: Map Example

ma-ha edited this page Sep 21, 2015 · 1 revision
{
	"layout": {
		"title": "Map Demo",
		"descr": "Map Demo",
		"page_width": "990",
		"header": {
			"logoText": "Map Demo",
			"modules": [],
			"linkList": []
		},
		"rows": [
			{
				"rowId": "63",
				"height": "70px",
				"resourceURL": "svc/dummy/",
				"title": "Search On Map",
				"moduleConfig": {
					"id": "cloudFormId",
					"fieldGroups": [
						{
							"columns": [
								{
									"formFields": [
										{
											"id": "search",
											"type": "text",
											"label": "Location"
										}
									]
								}
							]
						}
					],
					"actions": [
						{
							"id": "Search",
							"name": "Search",
							"updateButton": [
								{ "resId": "map" }
							]
						}
					]
				},
				"type": "pong-form"
			},
			{
				"rowId": "map",
				"height": "600px",
				"resourceURL": "change_me",
				"title": "change me",
				"moduleConfig": {
					"mapKey": "your-mapquest-client-key"
				},
				"type": "pong-map"
			}
		],
		"footer": {
			"copyrightText": "... by PoNG",
			"modules": [],
			"linkList": []
		}
	}
}
Clone this wiki locally