Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "$jason": {
- "head": {
- "title": "demo travel guide",
- "actions": {
- "$foreground": {
- "type": "$reload"
- },
- "$pull": {
- "type": "$reload"
- }
- },
- "data": {
- "tweets": [
- {
- "text": "test1111",
- "image": "https://upload.wikimedia.org/wikipedia/commons/d/d2/Chennai_train_station.jpg"
- },
- {
- "text": "test222222",
- "image": "https://upload.wikimedia.org/wikipedia/commons/d/d2/Chennai_train_station.jpg"
- }
- ]
- }
- },
- "body": {
- "header": {
- "title": {
- "type": "label",
- "text": "Travel Chennai App",
- "style": {
- "width": "80",
- "height": "50",
- "background": "#ff0000",
- "color": "#ffffff",
- "align": "center"
- }
- }
- },
- "sections": [
- {
- "items": [
- {
- "type": "vertical",
- "components": [
- {
- "type": "image",
- "url": "http://www.livemint.com/rf/Image-621x414/LiveMint/Period1/2015/12/26/Photos/photo-kcYB--621x414@LiveMint.jpg",
- "href": {
- "url": "https://en.wikipedia.org/wiki/Marina_Beach",
- "view": "Web"
- },
- "style": {
- "width": "100%",
- "height": "200"
- }
- },
- {
- "type": "label",
- "text": "Marina Beach",
- "style": {
- "color": "#000000",
- "size": "15",
- "align": "center"
- }
- }
- ]
- },
- {
- "type": "map",
- "region": {
- "coord": "13.054576, 80.283835",
- "width": "600",
- "height": "600"
- },
- "pins": [
- {
- "title": "Marina Beach",
- "coord": "13.054576, 80.283835",
- "style": {
- "selected": "true"
- }
- }
- ],
- "style": {
- "width": "100%",
- "height": "200"
- }
- },
- {
- "type": "vertical",
- "components": [
- {
- "type": "image",
- "url": "http://www.remotetraveler.com/wp-content/uploads/2014/10/Kapaleeshwarar-Temple-Chennai.jpg",
- "href": {
- "url": "https://en.wikipedia.org/wiki/Kapaleeshwarar_Temple",
- "view": "Web"
- },
- "style": {
- "width": "100%",
- "height": "200"
- }
- },
- {
- "type": "label",
- "text": "Kapaleeshwarar Temple",
- "style": {
- "align": "center"
- }
- }
- ]
- },
- {
- "type": "map",
- "region": {
- "coord": "13.033627, 80.270190",
- "width": "200",
- "height": "200"
- },
- "pins": [
- {
- "title": "Kapaleeshwarar Temple",
- "coord": "13.033627, 80.270190",
- "style": {
- "selected": "true"
- }
- }
- ],
- "style": {
- "width": "100%",
- "height": "200"
- }
- },
- {
- "type": "vertical",
- "components": [
- {
- "type": "image",
- "url": "https://upload.wikimedia.org/wikipedia/commons/d/d2/Chennai_train_station.jpg",
- "href": {
- "url": "https://en.wikipedia.org/wiki/Chennai_Central_railway_station",
- "view": "Web"
- },
- "style": {
- "width": "100%",
- "height": "200"
- }
- },
- {
- "type": "label",
- "text": "Chennai Train Station",
- "style": {
- "align": "center"
- }
- }
- ]
- },
- {
- "type": "map",
- "region": {
- "coord": "13.086957, 80.275044",
- "width": "600",
- "height": "600"
- },
- "pins": [
- {
- "title": "Chennai Train Station",
- "coord": "13.086957, 80.275044",
- "style": {
- "selected": "true"
- }
- }
- ],
- "style": {
- "width": "100%",
- "height": "200"
- }
- },
- {
- "type": "vertical",
- "components": [
- {
- "type": "image",
- "url": "https://upload.wikimedia.org/wikipedia/commons/6/69/Chennai_National_Art_Gallery.jpg",
- "href": {
- "url": "https://en.wikipedia.org/wiki/The_National_Art_Gallery_(Chennai)",
- "view": "Web"
- },
- "style": {
- "width": "100%",
- "height": "200"
- }
- },
- {
- "type": "label",
- "text": "National Art Gallery",
- "style": {
- "align": "center"
- }
- }
- ]
- },
- {
- "type": "map",
- "region": {
- "coord": "13.069790, 80.256050",
- "width": "200",
- "height": "200"
- },
- "pins": [
- {
- "title": "National Art Gallery",
- "coord": "13.069790, 80.256050",
- "style": {
- "selected": "true"
- }
- }
- ],
- "style": {
- "width": "100%",
- "height": "200"
- }
- },
- {
- "type": "vertical",
- "components": [
- {
- "type": "image",
- "url": "https://upload.wikimedia.org/wikipedia/commons/b/b0/Fort_St._George%2C_Chennai_2.jpg",
- "href": {
- "url": "https://en.wikipedia.org/wiki/Fort_St._George,_India",
- "view": "Web"
- },
- "style": {
- "width": "100%",
- "height": "200"
- }
- },
- {
- "type": "label",
- "text": "Fort St. George",
- "style": {
- "align": "center"
- }
- }
- ]
- },
- {
- "type": "map",
- "region": {
- "coord": "13.079599, 80.287409",
- "width": "200",
- "height": "200"
- },
- "pins": [
- {
- "title": "Fort St. George",
- "coord": "13.079599, 80.287409",
- "style": {
- "selected": "true"
- }
- }
- ],
- "style": {
- "width": "100%",
- "height": "200"
- }
- },
- {
- "type": "vertical",
- "components": [
- {
- "type": "image",
- "url": "https://upload.wikimedia.org/wikipedia/commons/6/62/Chennai_High_Court.jpg",
- "href": {
- "url": "https://en.wikipedia.org/wiki/Madras_High_Court",
- "view": "Web"
- },
- "style": {
- "width": "100%",
- "height": "200"
- }
- },
- {
- "type": "label",
- "text": "High Court",
- "style": {
- "align": "center"
- }
- }
- ]
- },
- {
- "type": "map",
- "region": {
- "coord": "13.087215, 80.286362",
- "width": "200",
- "height": "200"
- },
- "pins": [
- {
- "title": "High Court",
- "coord": "13.087215, 80.286362",
- "style": {
- "selected": "true"
- }
- }
- ],
- "style": {
- "width": "100%",
- "height": "200"
- }
- },
- {
- "type": "vertical",
- "components": [
- {
- "type": "image",
- "url": "https://upload.wikimedia.org/wikipedia/commons/a/a2/Church_stmt.jpg",
- "href": {
- "url": "https://en.wikipedia.org/wiki/St._Thomas_Mount",
- "view": "Web"
- },
- "style": {
- "width": "100%",
- "height": "200"
- }
- },
- {
- "type": "label",
- "text": "St.Thomas Mount",
- "style": {
- "align": "center"
- }
- }
- ]
- },
- {
- "type": "map",
- "region": {
- "coord": "13.087215, 80.286362",
- "width": "200",
- "height": "200"
- },
- "pins": [
- {
- "title": "St.Thomas Mount",
- "coord": "13.087215, 80.286362",
- "style": {
- "selected": "true"
- }
- }
- ],
- "style": {
- "width": "100%",
- "height": "200"
- }
- },
- {
- "type": "vertical",
- "components": [
- {
- "type": "image",
- "url": "http://www.chennai-webcity.com/image-files/sunset-elliots-beach.jpg",
- "href": {
- "url": "https://en.wikipedia.org/wiki/Edward_Elliot%27s_Beach",
- "view": "Web"
- },
- "style": {
- "width": "100%",
- "height": "200"
- }
- },
- {
- "type": "label",
- "text": "Elliot Beach",
- "style": {
- "align": "center"
- }
- }
- ]
- },
- {
- "type": "map",
- "region": {
- "coord": "12.998930, 80.271706",
- "width": "500",
- "height": "500"
- },
- "pins": [
- {
- "title": "Elliot Beach",
- "coord": "12.998930, 80.271706",
- "style": {
- "selected": "true"
- }
- }
- ],
- "style": {
- "width": "100%",
- "height": "200"
- }
- },
- {
- "type": "vertical",
- "components": [
- {
- "type": "image",
- "url": "https://upload.wikimedia.org/wikipedia/commons/4/47/Ripon_building%2C_Chennai_2.jpg",
- "href": {
- "url": "https://en.wikipedia.org/wiki/Ripon_Building",
- "view": "Web"
- },
- "style": {
- "width": "100%",
- "height": "200"
- }
- },
- {
- "type": "label",
- "text": "Ripon Building",
- "style": {
- "align": "center"
- }
- }
- ]
- },
- {
- "type": "map",
- "region": {
- "coord": "13.081911, 80.271624",
- "width": "200",
- "height": "200"
- },
- "pins": [
- {
- "title": "Ripon Building",
- "coord": "13.081911, 80.271624",
- "style": {
- "selected": "true"
- }
- }
- ],
- "style": {
- "width": "100%",
- "height": "200"
- }
- }
- ]
- }
- ],
- "footer": {
- "tabs": {
- "style": {
- "background": "rgba(255,255,255,0.8)",
- "color:disabled": "#cecece",
- "color": "#009efa"
- },
- "items": [
- {
- "image": "http://img.freepik.com/free-icon/home-icon-silhouette_318-85097.jpg?size=338c&ext=jpg",
- "text": "home",
- "style": {
- "height": "20"
- },
- "href": {
- "url": "http://cnsitdc2.cns-inc.com:3000/mPOC/travel?travel=1"
- }
- },
- {
- "image": "http://www.iconsdb.com/icons/preview/black/contacts-xxl.png",
- "text": "contact",
- "style": {
- "height": "20"
- },
- "href": {
- "url": "http://cnsitdc2.cns-inc.com:3000/mPOC/travel?travel=1"
- }
- }
- ]
- }
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment