Marker data

Map Name: Brazil

JavaScript Alias: maps/brazil


{
    "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": "BA",
                "shapeid": "myCustomShape",
                "x": "178.57",
                "y": "150.23",
                "label": "Brasilia",
                "labelpos": "bottom"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "78.57",
                "y": "51.66",
                "label": "Manaus"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "46.19",
                "y": "109.76",
                "label": "Rio Branco"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "124.28",
                "y": "144.52",
                "label": "Cuiaba"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "111.42",
                "y": "172.61",
                "label": "Corumba"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "156.66",
                "y": "243.09",
                "label": "Porto Alegre"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "173.33",
                "y": "211.66",
                "label": "Santos",
                "labelpos": "right"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "172.85",
                "y": "205",
                "label": "San Paulo"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "193.33",
                "y": "201.19",
                "label": "Rio de Janeiro",
                "labelpos": "right"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "225.71",
                "y": "181.19",
                "label": "Vitoria",
                "labelpos": "left"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "204.76",
                "y": "166.42",
                "label": "Belo Horizonte"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "240.95",
                "y": "128.33",
                "label": "Salvador"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "261.9",
                "y": "99.76",
                "label": "Recife",
                "labelpos": "left"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "242.85",
                "y": "73.57",
                "label": "Fortaleza"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape",
                "x": "202.38",
                "y": "60.71",
                "label": "Sao Luis",
                "labelpos": "left"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape",
                "x": "175.23",
                "y": "52.61",
                "label": "Belem",
                "labelpos": "right"
            }
        ]
    }
}

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": "BA",
                "x": "178.57",
                "y": "150.23",
                "label": "Brasilia",
                "labelpos": "bottom"
            },
            {
                "id": "01",
                "x": "78.57",
                "y": "51.66",
                "label": "Manaus"
            },
            {
                "id": "02",
                "x": "46.19",
                "y": "109.76",
                "label": "Rio Branco"
            },
            {
                "id": "03",
                "x": "124.28",
                "y": "144.52",
                "label": "Cuiaba"
            },
            {
                "id": "04",
                "x": "111.42",
                "y": "172.61",
                "label": "Corumba"
            },
            {
                "id": "05",
                "x": "156.66",
                "y": "243.09",
                "label": "Porto Alegre"
            },
            {
                "id": "06",
                "x": "173.33",
                "y": "211.66",
                "label": "Santos",
                "labelpos": "right"
            },
            {
                "id": "07",
                "x": "172.85",
                "y": "205",
                "label": "San Paulo"
            },
            {
                "id": "08",
                "x": "193.33",
                "y": "201.19",
                "label": "Rio de Janeiro",
                "labelpos": "right"
            },
            {
                "id": "09",
                "x": "225.71",
                "y": "181.19",
                "label": "Vitoria",
                "labelpos": "left"
            },
            {
                "id": "10",
                "x": "204.76",
                "y": "166.42",
                "label": "Belo Horizonte"
            },
            {
                "id": "11",
                "x": "240.95",
                "y": "128.33",
                "label": "Salvador"
            },
            {
                "id": "12",
                "x": "261.9",
                "y": "99.76",
                "label": "Recife",
                "labelpos": "left"
            },
            {
                "id": "13",
                "x": "242.85",
                "y": "73.57",
                "label": "Fortaleza"
            },
            {
                "id": "14",
                "x": "202.38",
                "y": "60.71",
                "label": "Sao Luis",
                "labelpos": "left"
            },
            {
                "id": "15",
                "x": "175.23",
                "y": "52.61",
                "label": "Belem",
                "labelpos": "right"
            }
        ],
        "application": [
            {
                "id": "BA",
                "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"
            }
        ]
    }
}

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