Massachusetts

Map Name: Massachusetts

Javascript Alias: maps/massachusetts

New format for marker data in JSON:

{
    "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"
            }
        ]
    }
}

Old format for marker data in JSON, using separate application and definition blocks:

{
    "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 format for marker data in XML, using separate and blocks:

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

        </definition>
        <application>
            <marker id='BO' shapeId='myCustomShape'  />
            <marker id='01' shapeId='newCustomShape'  />
            <marker id='02' shapeId='newCustomShape'  />
            <marker id='03' shapeId='newCustomShape'  />
            <marker id='04' shapeId='newCustomShape'  />
            <marker id='05' shapeId='newCustomShape'  />
            <marker id='08' shapeId='newCustomShape'  />
            <marker id='06' shapeId='newCustomShape'  />
            <marker id='07' shapeId='newCustomShape'  />
            <marker id='10' shapeId='newCustomShape'  />
            <marker id='11' shapeId='newCustomShape'  />
            <marker id='12' shapeId='newCustomShape'  />
            <marker id='13' shapeId='newCustomShape'  />
            <marker id='15' shapeId='newCustomShape'  />
            <marker id='14' shapeId='newCustomShape'  />
            <marker id='16' shapeId='newCustomShape'  />
            <marker id='09' shapeId='newCustomShape'  />
            <marker id='17' shapeId='newCustomShape'  />
            <marker id='18' shapeId='newCustomShape'  />
            <marker id='21' shapeId='newCustomShape'  />
            <marker id='22' shapeId='newCustomShape'  />
            <marker id='23' shapeId='newCustomShape'  />
            <marker id='24' shapeId='newCustomShape'  />
            <marker id='25' shapeId='newCustomShape'  />
            <marker id='26' shapeId='newCustomShape'  />
            <marker id='27' shapeId='newCustomShape'  />
            <marker id='28' shapeId='newCustomShape'  />
            <marker id='29' shapeId='newCustomShape'  />
            <marker id='30' shapeId='newCustomShape'  />
            <marker id='31' shapeId='newCustomShape'  />
            <marker id='32' shapeId='newCustomShape'  />
            <marker id='33' shapeId='newCustomShape'  />
            <marker id='34' shapeId='newCustomShape'  />
            <marker id='35' shapeId='newCustomShape'  />
            <marker id='36' shapeId='newCustomShape'  />
            <marker id='37' shapeId='newCustomShape'  />
            <marker id='38' shapeId='newCustomShape'  />
            <marker id='39' shapeId='newCustomShape'  />
            <marker id='40' shapeId='newCustomShape'  />
            <marker id='41' shapeId='newCustomShape'  />
            <marker id='42' shapeId='newCustomShape'  />
            <marker id='19' shapeId='newCustomShape'  />
            <marker id='20' shapeId='newCustomShape'  />

        </application>
    </markers>
</map>