Marker data

Map Name: CapeVerde

JavaScript Alias: maps/capeverde


{
    "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": "CV.RG"
        },
        {
            "id": "CV.PA"
        },
        {
            "id": "CV.PN"
        },
        {
            "id": "CV.MO"
        },
        {
            "id": "CV.SF"
        },
        {
            "id": "CV.SV"
        },
        {
            "id": "CV.SN"
        },
        {
            "id": "CV.SL"
        },
        {
            "id": "CV.BV"
        },
        {
            "id": "CV.MA"
        },
        {
            "id": "CV.BR"
        },
        {
            "id": "CV.TF"
        },
        {
            "id": "CV.SM"
        },
        {
            "id": "CV.SZ"
        },
        {
            "id": "CV.SD"
        },
        {
            "id": "CV.PI"
        },
        {
            "id": "CV.SC"
        }
    ],
    "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": "PR",
                "shapeid": "myCustomShape",
                "x": "470.99",
                "y": "574.26",
                "label": "Praia",
                "labelpos": "right"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "123.39",
                "y": "100.62",
                "label": "Mindelo",
                "labelpos": "right"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "613.29",
                "y": "169.73",
                "label": "Santa Maria",
                "labelpos": "bottom"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "408.99",
                "y": "482.78",
                "label": "Tarrafal",
                "labelpos": "left"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "239.25",
                "y": "564.09",
                "label": "Sao Filipe"
            }
        ]
    }
}

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": "CV.RG"
        },
        {
            "id": "CV.PA"
        },
        {
            "id": "CV.PN"
        },
        {
            "id": "CV.MO"
        },
        {
            "id": "CV.SF"
        },
        {
            "id": "CV.SV"
        },
        {
            "id": "CV.SN"
        },
        {
            "id": "CV.SL"
        },
        {
            "id": "CV.BV"
        },
        {
            "id": "CV.MA"
        },
        {
            "id": "CV.BR"
        },
        {
            "id": "CV.TF"
        },
        {
            "id": "CV.SM"
        },
        {
            "id": "CV.SZ"
        },
        {
            "id": "CV.SD"
        },
        {
            "id": "CV.PI"
        },
        {
            "id": "CV.SC"
        }
    ],
    "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": "PR",
                "x": "470.99",
                "y": "574.26",
                "label": "Praia",
                "labelpos": "right"
            },
            {
                "id": "01",
                "x": "123.39",
                "y": "100.62",
                "label": "Mindelo",
                "labelpos": "right"
            },
            {
                "id": "02",
                "x": "613.29",
                "y": "169.73",
                "label": "Santa Maria",
                "labelpos": "bottom"
            },
            {
                "id": "03",
                "x": "408.99",
                "y": "482.78",
                "label": "Tarrafal",
                "labelpos": "left"
            },
            {
                "id": "04",
                "x": "239.25",
                "y": "564.09",
                "label": "Sao Filipe"
            }
        ],
        "application": [
            {
                "id": "PR",
                "shapeid": "myCustomShape"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

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