Marker data

Map Name: Portugal

JavaScript Alias: maps/portugal


{
    "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": "LI",
                "shapeid": "myCustomShape",
                "x": "29.16",
                "y": "332.13",
                "label": "Lisbon",
                "labelpos": "top"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "56.25",
                "y": "47.76",
                "label": "Viana do Castelo"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "100",
                "y": "70.67",
                "label": "Braga"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "67.7",
                "y": "110.26",
                "label": "Leixoes",
                "labelpos": "right"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "69.79",
                "y": "119.63",
                "label": "Porto",
                "labelpos": "right"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "59.37",
                "y": "157.13",
                "label": "Aveiro"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "87.5",
                "y": "208.17",
                "label": "Coimbra"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "173.95",
                "y": "181.09",
                "label": "Covilha"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "157.29",
                "y": "285.26",
                "label": "Portalegre",
                "labelpos": "left"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "135.41",
                "y": "406.09",
                "label": "Beja"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "122.91",
                "y": "498.8",
                "label": "Faro"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "42.7",
                "y": "356.09",
                "label": "Setubal",
                "labelpos": "left"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "36.45",
                "y": "334.21",
                "label": "Barreiro",
                "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": "LI",
                "x": "29.16",
                "y": "332.13",
                "label": "Lisbon",
                "labelpos": "top"
            },
            {
                "id": "01",
                "x": "56.25",
                "y": "47.76",
                "label": "Viana do Castelo"
            },
            {
                "id": "02",
                "x": "100",
                "y": "70.67",
                "label": "Braga"
            },
            {
                "id": "03",
                "x": "67.7",
                "y": "110.26",
                "label": "Leixoes",
                "labelpos": "right"
            },
            {
                "id": "04",
                "x": "69.79",
                "y": "119.63",
                "label": "Porto",
                "labelpos": "right"
            },
            {
                "id": "05",
                "x": "59.37",
                "y": "157.13",
                "label": "Aveiro"
            },
            {
                "id": "06",
                "x": "87.5",
                "y": "208.17",
                "label": "Coimbra"
            },
            {
                "id": "07",
                "x": "173.95",
                "y": "181.09",
                "label": "Covilha"
            },
            {
                "id": "08",
                "x": "157.29",
                "y": "285.26",
                "label": "Portalegre",
                "labelpos": "left"
            },
            {
                "id": "09",
                "x": "135.41",
                "y": "406.09",
                "label": "Beja"
            },
            {
                "id": "11",
                "x": "122.91",
                "y": "498.8",
                "label": "Faro"
            },
            {
                "id": "10",
                "x": "42.7",
                "y": "356.09",
                "label": "Setubal",
                "labelpos": "left"
            },
            {
                "id": "13",
                "x": "36.45",
                "y": "334.21",
                "label": "Barreiro",
                "labelpos": "right"
            }
        ],
        "application": [
            {
                "id": "LI",
                "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": "11",
                "shapeid": "newCustomShape"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

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