Marker data

Map Name: CentralAfricanRepublic

JavaScript Alias: maps/centralafricanrepublic


{
    "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": "CF.BB"
        },
        {
            "id": "CF.BG"
        },
        {
            "id": "CF.BK"
        },
        {
            "id": "CF.HK"
        },
        {
            "id": "CF.HM"
        },
        {
            "id": "CF.KG"
        },
        {
            "id": "CF.LB"
        },
        {
            "id": "CF.HS"
        },
        {
            "id": "CF.MB"
        },
        {
            "id": "CF.KB"
        },
        {
            "id": "CF.NM"
        },
        {
            "id": "CF.MP"
        },
        {
            "id": "CF.UK"
        },
        {
            "id": "CF.AC"
        },
        {
            "id": "CF.OP"
        },
        {
            "id": "CF.SE"
        },
        {
            "id": "CF.VK"
        }
    ],
    "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": "BN",
                "shapeid": "myCustomShape",
                "x": "154.74",
                "y": "215.96",
                "label": "Bangui",
                "labelpos": "right"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "76.2",
                "y": "254.19",
                "label": "Nola",
                "labelpos": "bottom"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "61.74",
                "y": "228.36",
                "label": "Berberati",
                "labelpos": "right"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "59.67",
                "y": "206.66",
                "label": "Carnot",
                "labelpos": "right"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "47.27",
                "y": "171.53",
                "label": "Bouar",
                "labelpos": "right"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "99.97",
                "y": "145.69",
                "label": "Bossangoa",
                "labelpos": "right"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "279.77",
                "y": "38.23",
                "label": "Birao",
                "labelpos": "left"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "211.57",
                "y": "84.73",
                "label": "Ndele",
                "labelpos": "right"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "282.87",
                "y": "210.8",
                "label": "Bangassou"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "231.2",
                "y": "160.16",
                "label": "Bambari",
                "labelpos": "right"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "264.27",
                "y": "143.63",
                "label": "Bria",
                "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": "CF.BB"
        },
        {
            "id": "CF.BG"
        },
        {
            "id": "CF.BK"
        },
        {
            "id": "CF.HK"
        },
        {
            "id": "CF.HM"
        },
        {
            "id": "CF.KG"
        },
        {
            "id": "CF.LB"
        },
        {
            "id": "CF.HS"
        },
        {
            "id": "CF.MB"
        },
        {
            "id": "CF.KB"
        },
        {
            "id": "CF.NM"
        },
        {
            "id": "CF.MP"
        },
        {
            "id": "CF.UK"
        },
        {
            "id": "CF.AC"
        },
        {
            "id": "CF.OP"
        },
        {
            "id": "CF.SE"
        },
        {
            "id": "CF.VK"
        }
    ],
    "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": "BN",
                "x": "154.74",
                "y": "215.96",
                "label": "Bangui",
                "labelpos": "right"
            },
            {
                "id": "01",
                "x": "76.2",
                "y": "254.19",
                "label": "Nola",
                "labelpos": "bottom"
            },
            {
                "id": "02",
                "x": "61.74",
                "y": "228.36",
                "label": "Berberati",
                "labelpos": "right"
            },
            {
                "id": "03",
                "x": "59.67",
                "y": "206.66",
                "label": "Carnot",
                "labelpos": "right"
            },
            {
                "id": "04",
                "x": "47.27",
                "y": "171.53",
                "label": "Bouar",
                "labelpos": "right"
            },
            {
                "id": "05",
                "x": "99.97",
                "y": "145.69",
                "label": "Bossangoa",
                "labelpos": "right"
            },
            {
                "id": "06",
                "x": "279.77",
                "y": "38.23",
                "label": "Birao",
                "labelpos": "left"
            },
            {
                "id": "07",
                "x": "211.57",
                "y": "84.73",
                "label": "Ndele",
                "labelpos": "right"
            },
            {
                "id": "08",
                "x": "282.87",
                "y": "210.8",
                "label": "Bangassou"
            },
            {
                "id": "09",
                "x": "231.2",
                "y": "160.16",
                "label": "Bambari",
                "labelpos": "right"
            },
            {
                "id": "10",
                "x": "264.27",
                "y": "143.63",
                "label": "Bria",
                "labelpos": "right"
            }
        ],
        "application": [
            {
                "id": "BN",
                "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"
            }
        ]
    }
}

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