Marker data

Map Name: SierraLeone

JavaScript Alias: maps/sierraleone


{
    "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": "SL.SO.BO"
        },
        {
            "id": "SL.NO.BM"
        },
        {
            "id": "SL.SO.BN"
        },
        {
            "id": "SL.EA.KL"
        },
        {
            "id": "SL.NO.KM"
        },
        {
            "id": "SL.EA.KE"
        },
        {
            "id": "SL.NO.KD"
        },
        {
            "id": "SL.EA.KN"
        },
        {
            "id": "SL.SO.MO"
        },
        {
            "id": "SL.NO.PL"
        },
        {
            "id": "SL.SO.PU"
        },
        {
            "id": "SL.SO.TO"
        },
        {
            "id": "SL.WE.WR"
        },
        {
            "id": "SL.WE.WU"
        }
    ],
    "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": "FT",
                "shapeid": "myCustomShape",
                "x": "72.17",
                "y": "241.6",
                "label": "Freetown",
                "labelpos": "right"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "115.02",
                "y": "126.57",
                "label": "Kambia",
                "labelpos": "right"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "327.02",
                "y": "44.26",
                "label": "Kabala",
                "labelpos": "right"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "396.93",
                "y": "186.34",
                "label": "Sefadu",
                "labelpos": "right"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "474.74",
                "y": "267.53",
                "label": "Kailahun",
                "labelpos": "bottom"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "359.72",
                "y": "336.32",
                "label": "Kenema",
                "labelpos": "right"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "259.36",
                "y": "316.02",
                "label": "Bo",
                "labelpos": "right"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "71.04",
                "y": "202.13",
                "label": "Lungi",
                "labelpos": "right"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "103.74",
                "y": "215.66",
                "label": "Pepel",
                "labelpos": "right"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "119.53",
                "y": "317.15",
                "label": "Shenge",
                "labelpos": "right"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "174.78",
                "y": "376.92",
                "label": "Bonthe",
                "labelpos": "left"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "195.08",
                "y": "366.77",
                "label": "Momaligi",
                "labelpos": "right"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "224.4",
                "y": "149.13",
                "label": "Makeni",
                "labelpos": "right"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "173.65",
                "y": "179.57",
                "label": "Lunsar",
                "labelpos": "right"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape",
                "x": "322.51",
                "y": "462.62",
                "label": "Sulima"
            }
        ]
    }
}

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": "SL.SO.BO"
        },
        {
            "id": "SL.NO.BM"
        },
        {
            "id": "SL.SO.BN"
        },
        {
            "id": "SL.EA.KL"
        },
        {
            "id": "SL.NO.KM"
        },
        {
            "id": "SL.EA.KE"
        },
        {
            "id": "SL.NO.KD"
        },
        {
            "id": "SL.EA.KN"
        },
        {
            "id": "SL.SO.MO"
        },
        {
            "id": "SL.NO.PL"
        },
        {
            "id": "SL.SO.PU"
        },
        {
            "id": "SL.SO.TO"
        },
        {
            "id": "SL.WE.WR"
        },
        {
            "id": "SL.WE.WU"
        }
    ],
    "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": "FT",
                "x": "72.17",
                "y": "241.6",
                "label": "Freetown",
                "labelpos": "right"
            },
            {
                "id": "01",
                "x": "115.02",
                "y": "126.57",
                "label": "Kambia",
                "labelpos": "right"
            },
            {
                "id": "02",
                "x": "327.02",
                "y": "44.26",
                "label": "Kabala",
                "labelpos": "right"
            },
            {
                "id": "03",
                "x": "396.93",
                "y": "186.34",
                "label": "Sefadu",
                "labelpos": "right"
            },
            {
                "id": "04",
                "x": "474.74",
                "y": "267.53",
                "label": "Kailahun",
                "labelpos": "bottom"
            },
            {
                "id": "05",
                "x": "359.72",
                "y": "336.32",
                "label": "Kenema",
                "labelpos": "right"
            },
            {
                "id": "06",
                "x": "259.36",
                "y": "316.02",
                "label": "Bo",
                "labelpos": "right"
            },
            {
                "id": "07",
                "x": "71.04",
                "y": "202.13",
                "label": "Lungi",
                "labelpos": "right"
            },
            {
                "id": "08",
                "x": "103.74",
                "y": "215.66",
                "label": "Pepel",
                "labelpos": "right"
            },
            {
                "id": "09",
                "x": "119.53",
                "y": "317.15",
                "label": "Shenge",
                "labelpos": "right"
            },
            {
                "id": "10",
                "x": "174.78",
                "y": "376.92",
                "label": "Bonthe",
                "labelpos": "left"
            },
            {
                "id": "11",
                "x": "195.08",
                "y": "366.77",
                "label": "Momaligi",
                "labelpos": "right"
            },
            {
                "id": "12",
                "x": "224.4",
                "y": "149.13",
                "label": "Makeni",
                "labelpos": "right"
            },
            {
                "id": "13",
                "x": "173.65",
                "y": "179.57",
                "label": "Lunsar",
                "labelpos": "right"
            },
            {
                "id": "14",
                "x": "322.51",
                "y": "462.62",
                "label": "Sulima"
            }
        ],
        "application": [
            {
                "id": "FT",
                "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"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

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