Marker data

Map Name: Mauritius

JavaScript Alias: maps/mauritius


{
    "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": "MU.BL"
        },
        {
            "id": "MU.FL"
        },
        {
            "id": "MU.GP"
        },
        {
            "id": "MU.MO"
        },
        {
            "id": "MU.PA"
        },
        {
            "id": "MU.PW"
        },
        {
            "id": "MU.PL"
        },
        {
            "id": "MU.RR"
        },
        {
            "id": "MU.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": "PO",
                "shapeid": "myCustomShape",
                "x": "127.28",
                "y": "118.74",
                "label": "Port Louis",
                "labelpos": "left"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "171.78",
                "y": "33.89",
                "label": "Grand Baie",
                "labelpos": "right"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "255.6",
                "y": "86.66",
                "label": "Poudre d'or"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "141.77",
                "y": "103.22",
                "label": "Pamplemousses",
                "labelpos": "right"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "155.22",
                "y": "140.47",
                "label": "Valton",
                "labelpos": "right"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "222.49",
                "y": "134.27",
                "label": "Bon Acceuil",
                "labelpos": "right"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "209.03",
                "y": "157.03",
                "label": "Lalmatie",
                "labelpos": "right"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "228.69",
                "y": "173.59",
                "label": "Centre de Flacq",
                "labelpos": "bottom"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "278.37",
                "y": "206.7",
                "label": "Trou D'Eau Douce",
                "labelpos": "left"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "256.64",
                "y": "241.89",
                "label": "Pavillon du Grand Port",
                "labelpos": "left"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "233.87",
                "y": "265.69",
                "label": "Mahebourg",
                "labelpos": "right"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "187.3",
                "y": "311.22",
                "label": "Souillac",
                "labelpos": "bottom"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "155.22",
                "y": "302.94",
                "label": "Surinam",
                "labelpos": "right"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "54.84",
                "y": "311.22",
                "label": "Baie du Cap",
                "labelpos": "bottom"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape",
                "x": "99.34",
                "y": "317.43",
                "label": "Bel Ombre"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape",
                "x": "46.56",
                "y": "220.16",
                "label": "Tamarin"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape",
                "x": "95.2",
                "y": "152.89",
                "label": "Petite Riviere",
                "labelpos": "left"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape",
                "x": "98.3",
                "y": "183.94",
                "label": "Bambous",
                "labelpos": "left"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape",
                "x": "159.36",
                "y": "160.14",
                "label": "Moka",
                "labelpos": "left"
            },
            {
                "id": "19",
                "shapeid": "newCustomShape",
                "x": "120.04",
                "y": "186.01",
                "label": "Rose Hill",
                "labelpos": "bottom"
            },
            {
                "id": "20",
                "shapeid": "newCustomShape",
                "x": "177.99",
                "y": "282.25",
                "label": "Riviere Des Anguilles"
            }
        ]
    }
}

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": "MU.BL"
        },
        {
            "id": "MU.FL"
        },
        {
            "id": "MU.GP"
        },
        {
            "id": "MU.MO"
        },
        {
            "id": "MU.PA"
        },
        {
            "id": "MU.PW"
        },
        {
            "id": "MU.PL"
        },
        {
            "id": "MU.RR"
        },
        {
            "id": "MU.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": "PO",
                "x": "127.28",
                "y": "118.74",
                "label": "Port Louis",
                "labelpos": "left"
            },
            {
                "id": "01",
                "x": "171.78",
                "y": "33.89",
                "label": "Grand Baie",
                "labelpos": "right"
            },
            {
                "id": "02",
                "x": "255.6",
                "y": "86.66",
                "label": "Poudre d'or"
            },
            {
                "id": "03",
                "x": "141.77",
                "y": "103.22",
                "label": "Pamplemousses",
                "labelpos": "right"
            },
            {
                "id": "04",
                "x": "155.22",
                "y": "140.47",
                "label": "Valton",
                "labelpos": "right"
            },
            {
                "id": "05",
                "x": "222.49",
                "y": "134.27",
                "label": "Bon Acceuil",
                "labelpos": "right"
            },
            {
                "id": "06",
                "x": "209.03",
                "y": "157.03",
                "label": "Lalmatie",
                "labelpos": "right"
            },
            {
                "id": "07",
                "x": "228.69",
                "y": "173.59",
                "label": "Centre de Flacq",
                "labelpos": "bottom"
            },
            {
                "id": "08",
                "x": "278.37",
                "y": "206.7",
                "label": "Trou D'Eau Douce",
                "labelpos": "left"
            },
            {
                "id": "09",
                "x": "256.64",
                "y": "241.89",
                "label": "Pavillon du Grand Port",
                "labelpos": "left"
            },
            {
                "id": "10",
                "x": "233.87",
                "y": "265.69",
                "label": "Mahebourg",
                "labelpos": "right"
            },
            {
                "id": "11",
                "x": "187.3",
                "y": "311.22",
                "label": "Souillac",
                "labelpos": "bottom"
            },
            {
                "id": "12",
                "x": "155.22",
                "y": "302.94",
                "label": "Surinam",
                "labelpos": "right"
            },
            {
                "id": "13",
                "x": "54.84",
                "y": "311.22",
                "label": "Baie du Cap",
                "labelpos": "bottom"
            },
            {
                "id": "14",
                "x": "99.34",
                "y": "317.43",
                "label": "Bel Ombre"
            },
            {
                "id": "15",
                "x": "46.56",
                "y": "220.16",
                "label": "Tamarin"
            },
            {
                "id": "16",
                "x": "95.2",
                "y": "152.89",
                "label": "Petite Riviere",
                "labelpos": "left"
            },
            {
                "id": "17",
                "x": "98.3",
                "y": "183.94",
                "label": "Bambous",
                "labelpos": "left"
            },
            {
                "id": "18",
                "x": "159.36",
                "y": "160.14",
                "label": "Moka",
                "labelpos": "left"
            },
            {
                "id": "19",
                "x": "120.04",
                "y": "186.01",
                "label": "Rose Hill",
                "labelpos": "bottom"
            },
            {
                "id": "20",
                "x": "177.99",
                "y": "282.25",
                "label": "Riviere Des Anguilles"
            }
        ],
        "application": [
            {
                "id": "PO",
                "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"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape"
            },
            {
                "id": "19",
                "shapeid": "newCustomShape"
            },
            {
                "id": "20",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

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