Marker data

Map Name: Tunisia

JavaScript Alias: maps/tunisia


{
    "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": "TN.AN"
        },
        {
            "id": "TN.BJ"
        },
        {
            "id": "TN.BA"
        },
        {
            "id": "TN.BZ"
        },
        {
            "id": "TN.GB"
        },
        {
            "id": "TN.GF"
        },
        {
            "id": "TN.JE"
        },
        {
            "id": "TN.KR"
        },
        {
            "id": "TN.KS"
        },
        {
            "id": "TN.KB"
        },
        {
            "id": "TN.KF"
        },
        {
            "id": "TN.MH"
        },
        {
            "id": "TN.MN"
        },
        {
            "id": "TN.ME"
        },
        {
            "id": "TN.MS"
        },
        {
            "id": "TN.NB"
        },
        {
            "id": "TN.SF"
        },
        {
            "id": "TN.SZ"
        },
        {
            "id": "TN.SL"
        },
        {
            "id": "TN.SS"
        },
        {
            "id": "TN.TA"
        },
        {
            "id": "TN.TO"
        },
        {
            "id": "TN.TU"
        },
        {
            "id": "TN.ZA"
        }
    ],
    "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": "TN",
                "shapeid": "myCustomShape",
                "x": "217.68",
                "y": "63.02",
                "label": "Tunis",
                "labelpos": "right"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "280.6",
                "y": "334.28",
                "label": "Zarzis",
                "labelpos": "right"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "114.54",
                "y": "111.49",
                "label": "Le Kef",
                "labelpos": "left"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "221.8",
                "y": "44.45",
                "label": "LAriana",
                "labelpos": "right"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "214.58",
                "y": "416.8",
                "label": "Tataouine",
                "labelpos": "right"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "236.24",
                "y": "345.63",
                "label": "Medenine",
                "labelpos": "left"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "212.52",
                "y": "295.09",
                "label": "Gabes",
                "labelpos": "right"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "50.59",
                "y": "314.68",
                "label": "Tozeur",
                "labelpos": "right"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "248.62",
                "y": "245.58",
                "label": "Sfax",
                "labelpos": "left"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "99.06",
                "y": "208.45",
                "label": "Kasserine",
                "labelpos": "right"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "94.94",
                "y": "274.46",
                "label": "Gafsa",
                "labelpos": "right"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "249.65",
                "y": "138.31",
                "label": "Sousse",
                "labelpos": "right"
            }
        ]
    }
}

New JSON format for map marker data.


{
    "map": {
        "animation": "0",
        "showshadow": "0",
        "showlabels": "0",
        "showmarkerlabels": "1",
        "fillcolor": "F1f1f1",
        "bordercolor": "999999",
        "basefont": "Verdana",
        "basefontsize": "10",
        "markerbordercolor": "000000",
        "markerbgcolor": "",
        "markerradius": "",
        "legendposition": "bottom",
        "usehovercolor": "1",
        "showmarkertooltip": "1"
    },
    "data": [
        {
            "id": "TN.AN"
        },
        {
            "id": "TN.BJ"
        },
        {
            "id": "TN.BA"
        },
        {
            "id": "TN.BZ"
        },
        {
            "id": "TN.GB"
        },
        {
            "id": "TN.GF"
        },
        {
            "id": "TN.JE"
        },
        {
            "id": "TN.KR"
        },
        {
            "id": "TN.KS"
        },
        {
            "id": "TN.KB"
        },
        {
            "id": "TN.KF"
        },
        {
            "id": "TN.MH"
        },
        {
            "id": "TN.MN"
        },
        {
            "id": "TN.ME"
        },
        {
            "id": "TN.MS"
        },
        {
            "id": "TN.NB"
        },
        {
            "id": "TN.SF"
        },
        {
            "id": "TN.SZ"
        },
        {
            "id": "TN.SL"
        },
        {
            "id": "TN.SS"
        },
        {
            "id": "TN.TA"
        },
        {
            "id": "TN.TO"
        },
        {
            "id": "TN.TU"
        },
        {
            "id": "TN.ZA"
        }
    ],
    "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": "TN",
                "x": "217.68",
                "y": "63.02",
                "label": "Tunis",
                "labelpos": "right"
            },
            {
                "id": "01",
                "x": "280.6",
                "y": "334.28",
                "label": "Zarzis",
                "labelpos": "right"
            },
            {
                "id": "02",
                "x": "114.54",
                "y": "111.49",
                "label": "Le Kef",
                "labelpos": "left"
            },
            {
                "id": "03",
                "x": "221.8",
                "y": "44.45",
                "label": "LAriana",
                "labelpos": "right"
            },
            {
                "id": "04",
                "x": "214.58",
                "y": "416.8",
                "label": "Tataouine",
                "labelpos": "right"
            },
            {
                "id": "05",
                "x": "236.24",
                "y": "345.63",
                "label": "Medenine",
                "labelpos": "left"
            },
            {
                "id": "06",
                "x": "212.52",
                "y": "295.09",
                "label": "Gabes",
                "labelpos": "right"
            },
            {
                "id": "07",
                "x": "50.59",
                "y": "314.68",
                "label": "Tozeur",
                "labelpos": "right"
            },
            {
                "id": "08",
                "x": "248.62",
                "y": "245.58",
                "label": "Sfax",
                "labelpos": "left"
            },
            {
                "id": "10",
                "x": "99.06",
                "y": "208.45",
                "label": "Kasserine",
                "labelpos": "right"
            },
            {
                "id": "09",
                "x": "94.94",
                "y": "274.46",
                "label": "Gafsa",
                "labelpos": "right"
            },
            {
                "id": "11",
                "x": "249.65",
                "y": "138.31",
                "label": "Sousse",
                "labelpos": "right"
            }
        ],
        "application": [
            {
                "id": "TN",
                "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": "07",
                "shapeid": "newCustomShape"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

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