Marker data

Map Name: Mozambique

JavaScript Alias: maps/mozambique


{
    "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"
    },
    "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": "MT",
                "shapeid": "myCustomShape",
                "x": "56.89",
                "y": "457.96",
                "label": "Maputo",
                "labelpos": "bottom"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "282.41",
                "y": "109.34",
                "label": "Pemba",
                "labelpos": "left"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "285.51",
                "y": "151.75",
                "label": "Cidade de Nacala",
                "labelpos": "left"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "133.44",
                "y": "104.17",
                "label": "Lichinga",
                "labelpos": "left"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "232.75",
                "y": "179.68",
                "label": "Nampula",
                "labelpos": "bottom"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "89.99",
                "y": "183.82",
                "label": "Tete"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "94.13",
                "y": "270.72",
                "label": "Chimoio",
                "labelpos": "left"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "119.99",
                "y": "288.31",
                "label": "Beira",
                "labelpos": "left"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "170.68",
                "y": "244.86",
                "label": "Quelimane",
                "labelpos": "left"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "37.24",
                "y": "357.62",
                "label": "Chicualacuala",
                "labelpos": "right"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "128.27",
                "y": "404.17",
                "label": "Inhambane",
                "labelpos": "left"
            }
        ]
    }
}

New JSON format for map marker data.


{
    "map": {},
    "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": "MT",
                "x": "56.89",
                "y": "457.96",
                "label": "Maputo",
                "labelpos": "bottom"
            },
            {
                "id": "01",
                "x": "282.41",
                "y": "109.34",
                "label": "Pemba",
                "labelpos": "left"
            },
            {
                "id": "02",
                "x": "285.51",
                "y": "151.75",
                "label": "Cidade de Nacala",
                "labelpos": "left"
            },
            {
                "id": "03",
                "x": "133.44",
                "y": "104.17",
                "label": "Lichinga",
                "labelpos": "left"
            },
            {
                "id": "04",
                "x": "232.75",
                "y": "179.68",
                "label": "Nampula",
                "labelpos": "bottom"
            },
            {
                "id": "05",
                "x": "89.99",
                "y": "183.82",
                "label": "Tete"
            },
            {
                "id": "06",
                "x": "94.13",
                "y": "270.72",
                "label": "Chimoio",
                "labelpos": "left"
            },
            {
                "id": "07",
                "x": "119.99",
                "y": "288.31",
                "label": "Beira",
                "labelpos": "left"
            },
            {
                "id": "08",
                "x": "170.68",
                "y": "244.86",
                "label": "Quelimane",
                "labelpos": "left"
            },
            {
                "id": "09",
                "x": "37.24",
                "y": "357.62",
                "label": "Chicualacuala",
                "labelpos": "right"
            },
            {
                "id": "10",
                "x": "128.27",
                "y": "404.17",
                "label": "Inhambane",
                "labelpos": "left"
            }
        ],
        "application": [
            {
                "id": "MT",
                "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.