Marker data

Map Name: Pakistan

JavaScript Alias: maps/pakistan


{
    "map": {
        "showshadow": "0",
        "showlabels": "0",
        "showmarkerlabels": "1",
        "fillcolor": "F1f1f1",
        "bordercolor": "CCCCCC",
        "basefont": "Verdana",
        "basefontsize": "10",
        "markerbordercolor": "000000",
        "markerbgcolor": "FF5904",
        "markerradius": "6",
        "usehovercolor": "0",
        "hoveronempty": "0",
        "showmarkertooltip": "1",
        "canvasBorderColor": "375277",
        "canvasBorderAlpha": "0"
    },
    "data": [
        {
            "id": "PK.JK"
        },
        {
            "id": "PK.BA"
        },
        {
            "id": "PK.TA"
        },
        {
            "id": "PK.IS"
        },
        {
            "id": "PK.NA"
        },
        {
            "id": "PK.NW"
        },
        {
            "id": "PK.PB"
        },
        {
            "id": "PK.SD"
        }
    ],
    "markers": {
        "shapes": [
            {
                "id": "myCustomShape",
                "type": "circle",
                "fillcolor": "FFFFFF,333333",
                "fillpattern": "radial",
                "showborder": "0",
                "radius": "4"
            },
            {
                "id": "newCustomShape",
                "type": "circle",
                "fillcolor": "FFFFFF,000099",
                "fillpattern": "radial",
                "showborder": "0",
                "radius": "3"
            }
        ],
        "items": [
            {
                "id": "IS",
                "shapeid": "myCustomShape",
                "x": "156.18",
                "y": "58.8",
                "label": "Islamabad",
                "labelpos": "left"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "167.73",
                "y": "19.95",
                "label": "Gilgit"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "137.28",
                "y": "47.25",
                "label": "Peshawar",
                "labelpos": "left"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "170.88",
                "y": "89.25",
                "label": "Lahore"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "141.48",
                "y": "86.1",
                "label": "Faisalabad",
                "labelpos": "left"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "101.58",
                "y": "98.7",
                "label": "Zhob",
                "labelpos": "left"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "31.23",
                "y": "121.8",
                "label": "Nok Kundi"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "24.93",
                "y": "171.15",
                "label": "Gwadar",
                "labelpos": "bottom"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "59.58",
                "y": "172.2",
                "label": "Ormara"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "81.63",
                "y": "175.35",
                "label": "Karachi",
                "labelpos": "right"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "104.73",
                "y": "156.45",
                "label": "Hyderabad",
                "labelpos": "right"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "116.28",
                "y": "127.05",
                "label": "Sukkur"
            }
        ]
    }
}

New JSON format for map marker data.


{
    "map": {
        "animation": "0",
        "showshadow": "0",
        "showmarkerlabels": "1",
        "fillcolor": "F1f1f1",
        "bordercolor": "999999",
        "basefont": "Verdana",
        "basefontsize": "10",
        "markerbordercolor": "000000",
        "markerbgcolor": "FF5904",
        "markerradius": "6",
        "legendposition": "bottom",
        "usehovercolor": "1",
        "showmarkertooltip": "1",
        "showlabels": "0"
    },
    "data": [
        {
            "id": "PK.JK"
        },
        {
            "id": "PK.BA"
        },
        {
            "id": "PK.TA"
        },
        {
            "id": "PK.IS"
        },
        {
            "id": "PK.NA"
        },
        {
            "id": "PK.NW"
        },
        {
            "id": "PK.PB"
        },
        {
            "id": "PK.SD"
        }
    ],
    "markers": {
        "shapes": [
            {
                "id": "myCustomShape",
                "type": "circle",
                "fillcolor": "FFFFFF,333333",
                "fillpattern": "radial",
                "showborder": "0",
                "radius": "4"
            },
            {
                "id": "newCustomShape",
                "type": "circle",
                "fillcolor": "FFFFFF,000099",
                "fillpattern": "radial",
                "showborder": "0",
                "radius": "3"
            }
        ],
        "definition": [
            {
                "id": "IS",
                "x": "156.18",
                "y": "58.8",
                "label": "Islamabad",
                "labelpos": "left"
            },
            {
                "id": "01",
                "x": "167.73",
                "y": "19.95",
                "label": "Gilgit"
            },
            {
                "id": "02",
                "x": "137.28",
                "y": "47.25",
                "label": "Peshawar",
                "labelpos": "left"
            },
            {
                "id": "03",
                "x": "170.88",
                "y": "89.25",
                "label": "Lahore"
            },
            {
                "id": "04",
                "x": "141.48",
                "y": "86.1",
                "label": "Faisalabad",
                "labelpos": "left"
            },
            {
                "id": "05",
                "x": "101.58",
                "y": "98.7",
                "label": "Zhob",
                "labelpos": "left"
            },
            {
                "id": "06",
                "x": "31.23",
                "y": "121.8",
                "label": "Nok Kundi"
            },
            {
                "id": "08",
                "x": "24.93",
                "y": "171.15",
                "label": "Gwadar",
                "labelpos": "bottom"
            },
            {
                "id": "07",
                "x": "59.58",
                "y": "172.2",
                "label": "Ormara"
            },
            {
                "id": "10",
                "x": "81.63",
                "y": "175.35",
                "label": "Karachi",
                "labelpos": "right"
            },
            {
                "id": "11",
                "x": "104.73",
                "y": "156.45",
                "label": "Hyderabad",
                "labelpos": "right"
            },
            {
                "id": "13",
                "x": "116.28",
                "y": "127.05",
                "label": "Sukkur"
            }
        ],
        "application": [
            {
                "id": "IS",
                "shapeid": "myCustomShape"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

Old JSON format for map marker data, using separate application and definition blocks.