Marker data

Map Name: Massachusetts

JavaScript Alias: maps/massachusetts


{
    "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": "BO",
                "shapeid": "myCustomShape",
                "x": "533.2",
                "y": "196.08",
                "label": "Boston",
                "labelpos": "top"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "60.35",
                "y": "142.97",
                "label": "Pittsfield"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "102.22",
                "y": "58.21",
                "label": "North Adams"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "38.91",
                "y": "178.72",
                "label": "Stockbridge"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "207.42",
                "y": "85.78",
                "label": "Greenfield"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "148.18",
                "y": "112.34",
                "label": "Gashen"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "258.48",
                "y": "145.02",
                "label": "Amhersi"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "198.22",
                "y": "152.17",
                "label": "Northampton"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "175.76",
                "y": "172.59",
                "label": "Eashampton"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "239.08",
                "y": "181.78",
                "label": "Holyoke",
                "labelpos": "right"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "251.33",
                "y": "198.12",
                "label": "Chicopee",
                "labelpos": "right"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "258.48",
                "y": "214.46",
                "label": "Springfield",
                "labelpos": "right"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "147.16",
                "y": "213.44",
                "label": "Westfield"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape",
                "x": "262.57",
                "y": "73.53",
                "label": "Athol"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape",
                "x": "333.03",
                "y": "84.76",
                "label": "Fitchburg"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape",
                "x": "405.54",
                "y": "150.12",
                "label": "Marlborough"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "364.69",
                "y": "177.7",
                "label": "Worcester"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape",
                "x": "355.5",
                "y": "207.31",
                "label": "Aubum"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape",
                "x": "457.63",
                "y": "77.61",
                "label": "Lowell"
            },
            {
                "id": "21",
                "shapeid": "newCustomShape",
                "x": "553.63",
                "y": "110.29",
                "label": "Salem"
            },
            {
                "id": "22",
                "shapeid": "newCustomShape",
                "x": "527.08",
                "y": "128.68",
                "label": "Lynn"
            },
            {
                "id": "23",
                "shapeid": "newCustomShape",
                "x": "473.97",
                "y": "121.53",
                "label": "Woburn"
            },
            {
                "id": "24",
                "shapeid": "newCustomShape",
                "x": "495.42",
                "y": "132.76",
                "label": "Malden",
                "labelpos": "left"
            },
            {
                "id": "25",
                "shapeid": "newCustomShape",
                "x": "473.97",
                "y": "162.38",
                "label": "Cambridge"
            },
            {
                "id": "26",
                "shapeid": "newCustomShape",
                "x": "462.74",
                "y": "182.8",
                "label": "Brookline",
                "labelpos": "left"
            },
            {
                "id": "27",
                "shapeid": "newCustomShape",
                "x": "432.1",
                "y": "201.19",
                "label": "Framingham"
            },
            {
                "id": "28",
                "shapeid": "newCustomShape",
                "x": "445.37",
                "y": "227.74",
                "label": "Franklin"
            },
            {
                "id": "29",
                "shapeid": "newCustomShape",
                "x": "429.03",
                "y": "166.46",
                "label": "Newton",
                "labelpos": "right"
            },
            {
                "id": "30",
                "shapeid": "newCustomShape",
                "x": "520",
                "y": "198.12",
                "label": "Quincy",
                "labelpos": "left"
            },
            {
                "id": "31",
                "shapeid": "newCustomShape",
                "x": "579.16",
                "y": "197.1",
                "label": "Scituate",
                "labelpos": "right"
            },
            {
                "id": "32",
                "shapeid": "newCustomShape",
                "x": "516.86",
                "y": "240",
                "label": "Brockton"
            },
            {
                "id": "33",
                "shapeid": "newCustomShape",
                "x": "481.12",
                "y": "278.8",
                "label": "Taunton"
            },
            {
                "id": "34",
                "shapeid": "newCustomShape",
                "x": "485.2",
                "y": "341.1",
                "label": "Fall River"
            },
            {
                "id": "35",
                "shapeid": "newCustomShape",
                "x": "540.35",
                "y": "357.44",
                "label": "New Bedford"
            },
            {
                "id": "36",
                "shapeid": "newCustomShape",
                "x": "577.12",
                "y": "319.65",
                "label": "Wareham"
            },
            {
                "id": "37",
                "shapeid": "newCustomShape",
                "x": "579.16",
                "y": "250.21",
                "label": "Plymouth"
            },
            {
                "id": "38",
                "shapeid": "newCustomShape",
                "x": "592.44",
                "y": "381.95",
                "label": "Falmouth"
            },
            {
                "id": "39",
                "shapeid": "newCustomShape",
                "x": "678.22",
                "y": "356.42",
                "label": "Hyamnis",
                "labelpos": "bottom"
            },
            {
                "id": "40",
                "shapeid": "newCustomShape",
                "x": "651.67",
                "y": "326.8",
                "label": "Barnstable",
                "labelpos": "right"
            },
            {
                "id": "41",
                "shapeid": "newCustomShape",
                "x": "693.54",
                "y": "234.89",
                "label": "Provincetown"
            },
            {
                "id": "42",
                "shapeid": "newCustomShape",
                "x": "585.29",
                "y": "72.51",
                "label": "Gloucester",
                "labelpos": "right"
            },
            {
                "id": "19",
                "shapeid": "newCustomShape",
                "x": "490.31",
                "y": "50.04",
                "label": "Lawrence",
                "labelpos": "left"
            },
            {
                "id": "20",
                "shapeid": "newCustomShape",
                "x": "504.61",
                "y": "31.65",
                "label": "Haverhill"
            }
        ]
    }
}

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": "BO",
                "x": "533.2",
                "y": "196.08",
                "label": "Boston",
                "labelpos": "top"
            },
            {
                "id": "01",
                "x": "60.35",
                "y": "142.97",
                "label": "Pittsfield"
            },
            {
                "id": "02",
                "x": "102.22",
                "y": "58.21",
                "label": "North Adams"
            },
            {
                "id": "03",
                "x": "38.91",
                "y": "178.72",
                "label": "Stockbridge"
            },
            {
                "id": "04",
                "x": "207.42",
                "y": "85.78",
                "label": "Greenfield"
            },
            {
                "id": "05",
                "x": "148.18",
                "y": "112.34",
                "label": "Gashen"
            },
            {
                "id": "08",
                "x": "258.48",
                "y": "145.02",
                "label": "Amhersi"
            },
            {
                "id": "06",
                "x": "198.22",
                "y": "152.17",
                "label": "Northampton"
            },
            {
                "id": "07",
                "x": "175.76",
                "y": "172.59",
                "label": "Eashampton"
            },
            {
                "id": "10",
                "x": "239.08",
                "y": "181.78",
                "label": "Holyoke",
                "labelpos": "right"
            },
            {
                "id": "11",
                "x": "251.33",
                "y": "198.12",
                "label": "Chicopee",
                "labelpos": "right"
            },
            {
                "id": "12",
                "x": "258.48",
                "y": "214.46",
                "label": "Springfield",
                "labelpos": "right"
            },
            {
                "id": "13",
                "x": "147.16",
                "y": "213.44",
                "label": "Westfield"
            },
            {
                "id": "15",
                "x": "262.57",
                "y": "73.53",
                "label": "Athol"
            },
            {
                "id": "14",
                "x": "333.03",
                "y": "84.76",
                "label": "Fitchburg"
            },
            {
                "id": "16",
                "x": "405.54",
                "y": "150.12",
                "label": "Marlborough"
            },
            {
                "id": "09",
                "x": "364.69",
                "y": "177.7",
                "label": "Worcester"
            },
            {
                "id": "17",
                "x": "355.5",
                "y": "207.31",
                "label": "Aubum"
            },
            {
                "id": "18",
                "x": "457.63",
                "y": "77.61",
                "label": "Lowell"
            },
            {
                "id": "21",
                "x": "553.63",
                "y": "110.29",
                "label": "Salem"
            },
            {
                "id": "22",
                "x": "527.08",
                "y": "128.68",
                "label": "Lynn"
            },
            {
                "id": "23",
                "x": "473.97",
                "y": "121.53",
                "label": "Woburn"
            },
            {
                "id": "24",
                "x": "495.42",
                "y": "132.76",
                "label": "Malden",
                "labelpos": "left"
            },
            {
                "id": "25",
                "x": "473.97",
                "y": "162.38",
                "label": "Cambridge"
            },
            {
                "id": "26",
                "x": "462.74",
                "y": "182.8",
                "label": "Brookline",
                "labelpos": "left"
            },
            {
                "id": "27",
                "x": "432.1",
                "y": "201.19",
                "label": "Framingham"
            },
            {
                "id": "28",
                "x": "445.37",
                "y": "227.74",
                "label": "Franklin"
            },
            {
                "id": "29",
                "x": "429.03",
                "y": "166.46",
                "label": "Newton",
                "labelpos": "right"
            },
            {
                "id": "30",
                "x": "520",
                "y": "198.12",
                "label": "Quincy",
                "labelpos": "left"
            },
            {
                "id": "31",
                "x": "579.16",
                "y": "197.1",
                "label": "Scituate",
                "labelpos": "right"
            },
            {
                "id": "32",
                "x": "516.86",
                "y": "240",
                "label": "Brockton"
            },
            {
                "id": "33",
                "x": "481.12",
                "y": "278.8",
                "label": "Taunton"
            },
            {
                "id": "34",
                "x": "485.2",
                "y": "341.1",
                "label": "Fall River"
            },
            {
                "id": "35",
                "x": "540.35",
                "y": "357.44",
                "label": "New Bedford"
            },
            {
                "id": "36",
                "x": "577.12",
                "y": "319.65",
                "label": "Wareham"
            },
            {
                "id": "37",
                "x": "579.16",
                "y": "250.21",
                "label": "Plymouth"
            },
            {
                "id": "38",
                "x": "592.44",
                "y": "381.95",
                "label": "Falmouth"
            },
            {
                "id": "39",
                "x": "678.22",
                "y": "356.42",
                "label": "Hyamnis",
                "labelpos": "bottom"
            },
            {
                "id": "40",
                "x": "651.67",
                "y": "326.8",
                "label": "Barnstable",
                "labelpos": "right"
            },
            {
                "id": "41",
                "x": "693.54",
                "y": "234.89",
                "label": "Provincetown"
            },
            {
                "id": "42",
                "x": "585.29",
                "y": "72.51",
                "label": "Gloucester",
                "labelpos": "right"
            },
            {
                "id": "19",
                "x": "490.31",
                "y": "50.04",
                "label": "Lawrence",
                "labelpos": "left"
            },
            {
                "id": "20",
                "x": "504.61",
                "y": "31.65",
                "label": "Haverhill"
            }
        ],
        "application": [
            {
                "id": "BO",
                "shapeid": "myCustomShape"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape"
            },
            {
                "id": "21",
                "shapeid": "newCustomShape"
            },
            {
                "id": "22",
                "shapeid": "newCustomShape"
            },
            {
                "id": "23",
                "shapeid": "newCustomShape"
            },
            {
                "id": "24",
                "shapeid": "newCustomShape"
            },
            {
                "id": "25",
                "shapeid": "newCustomShape"
            },
            {
                "id": "26",
                "shapeid": "newCustomShape"
            },
            {
                "id": "27",
                "shapeid": "newCustomShape"
            },
            {
                "id": "28",
                "shapeid": "newCustomShape"
            },
            {
                "id": "29",
                "shapeid": "newCustomShape"
            },
            {
                "id": "30",
                "shapeid": "newCustomShape"
            },
            {
                "id": "31",
                "shapeid": "newCustomShape"
            },
            {
                "id": "32",
                "shapeid": "newCustomShape"
            },
            {
                "id": "33",
                "shapeid": "newCustomShape"
            },
            {
                "id": "34",
                "shapeid": "newCustomShape"
            },
            {
                "id": "35",
                "shapeid": "newCustomShape"
            },
            {
                "id": "36",
                "shapeid": "newCustomShape"
            },
            {
                "id": "37",
                "shapeid": "newCustomShape"
            },
            {
                "id": "38",
                "shapeid": "newCustomShape"
            },
            {
                "id": "39",
                "shapeid": "newCustomShape"
            },
            {
                "id": "40",
                "shapeid": "newCustomShape"
            },
            {
                "id": "41",
                "shapeid": "newCustomShape"
            },
            {
                "id": "42",
                "shapeid": "newCustomShape"
            },
            {
                "id": "19",
                "shapeid": "newCustomShape"
            },
            {
                "id": "20",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

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