Marker data

Map Name: Togo

JavaScript Alias: maps/togo


{
    "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": "TG.CE"
        },
        {
            "id": "TG.KA"
        },
        {
            "id": "TG.MA"
        },
        {
            "id": "TG.PL"
        },
        {
            "id": "TG.SA"
        }
    ],
    "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": "LO",
                "shapeid": "myCustomShape",
                "x": "113.28",
                "y": "372.94",
                "label": "Lome",
                "labelpos": "left"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "32.06",
                "y": "39.49",
                "label": "Dapaong",
                "labelpos": "right"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "55.57",
                "y": "79.03",
                "label": "Mango",
                "labelpos": "right"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "110.08",
                "y": "138.88",
                "label": "Kara",
                "labelpos": "left"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "65.19",
                "y": "162.39",
                "label": "Bassar",
                "labelpos": "right"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "79.08",
                "y": "203",
                "label": "Soutouboua",
                "labelpos": "right"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "94.05",
                "y": "278.89",
                "label": "Atakpame",
                "labelpos": "right"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "73.74",
                "y": "315.22",
                "label": "Kpalime",
                "labelpos": "left"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "103.66",
                "y": "312.02",
                "label": "Notse",
                "labelpos": "right"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "96.18",
                "y": "337.67",
                "label": "Tsevie",
                "labelpos": "left"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "129.31",
                "y": "367.59",
                "label": "Kpeme"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "146.41",
                "y": "363.32",
                "label": "Aneho",
                "labelpos": "bottom"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "102.6",
                "y": "172.01",
                "label": "Sokode",
                "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": "TG.CE"
        },
        {
            "id": "TG.KA"
        },
        {
            "id": "TG.MA"
        },
        {
            "id": "TG.PL"
        },
        {
            "id": "TG.SA"
        }
    ],
    "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": "LO",
                "x": "113.28",
                "y": "372.94",
                "label": "Lome",
                "labelpos": "left"
            },
            {
                "id": "01",
                "x": "32.06",
                "y": "39.49",
                "label": "Dapaong",
                "labelpos": "right"
            },
            {
                "id": "02",
                "x": "55.57",
                "y": "79.03",
                "label": "Mango",
                "labelpos": "right"
            },
            {
                "id": "03",
                "x": "110.08",
                "y": "138.88",
                "label": "Kara",
                "labelpos": "left"
            },
            {
                "id": "04",
                "x": "65.19",
                "y": "162.39",
                "label": "Bassar",
                "labelpos": "right"
            },
            {
                "id": "05",
                "x": "79.08",
                "y": "203",
                "label": "Soutouboua",
                "labelpos": "right"
            },
            {
                "id": "06",
                "x": "94.05",
                "y": "278.89",
                "label": "Atakpame",
                "labelpos": "right"
            },
            {
                "id": "07",
                "x": "73.74",
                "y": "315.22",
                "label": "Kpalime",
                "labelpos": "left"
            },
            {
                "id": "08",
                "x": "103.66",
                "y": "312.02",
                "label": "Notse",
                "labelpos": "right"
            },
            {
                "id": "09",
                "x": "96.18",
                "y": "337.67",
                "label": "Tsevie",
                "labelpos": "left"
            },
            {
                "id": "10",
                "x": "129.31",
                "y": "367.59",
                "label": "Kpeme"
            },
            {
                "id": "11",
                "x": "146.41",
                "y": "363.32",
                "label": "Aneho",
                "labelpos": "bottom"
            },
            {
                "id": "12",
                "x": "102.6",
                "y": "172.01",
                "label": "Sokode",
                "labelpos": "right"
            }
        ],
        "application": [
            {
                "id": "LO",
                "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": "09",
                "shapeid": "newCustomShape"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

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