Pennsylvania

Map Name: Pennsylvania

Javascript Alias: maps/pennsylvania

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": "HA",
                "shapeid": "myCustomShape",
                "x": "477.15",
                "y": "324.24",
                "label": "Harrisburg",
                "labelpos": "right"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "71.08",
                "y": "29.66",
                "label": "Erie"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "71.08",
                "y": "115.58",
                "label": "Meadville",
                "labelpos": "left"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "20.96",
                "y": "164.67",
                "label": "Farrell",
                "labelpos": "right"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "46.53",
                "y": "210.7",
                "label": "New Castle",
                "labelpos": "right"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "90.52",
                "y": "231.16",
                "label": "Butler",
                "labelpos": "right"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "57.79",
                "y": "257.75",
                "label": "New Brighton",
                "labelpos": "right"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "102.79",
                "y": "303.78",
                "label": "Pittsburgh",
                "labelpos": "right"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "115.06",
                "y": "319.12",
                "label": "McKeesport",
                "labelpos": "right"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "265.42",
                "y": "326.28",
                "label": "Johnstown",
                "labelpos": "right"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "322.7",
                "y": "369.24",
                "label": "Chambersburg",
                "labelpos": "left"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "352.36",
                "y": "384.58",
                "label": "Gettysburg",
                "labelpos": "left"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "315.54",
                "y": "287.41",
                "label": "Altoona",
                "labelpos": "right"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "378.96",
                "y": "253.66",
                "label": "StateCollege",
                "labelpos": "right"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape",
                "x": "445.44",
                "y": "155.47",
                "label": "Williamsport"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape",
                "x": "539.54",
                "y": "363.1",
                "label": "Lancaster",
                "labelpos": "left"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape",
                "x": "510.9",
                "y": "398.9",
                "label": "York",
                "labelpos": "left"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape",
                "x": "689.9",
                "y": "394.81",
                "label": "Philadelphia",
                "labelpos": "left"
            },
            {
                "id": "19",
                "shapeid": "newCustomShape",
                "x": "665.35",
                "y": "362.08",
                "label": "Norristown",
                "labelpos": "left"
            },
            {
                "id": "20",
                "shapeid": "newCustomShape",
                "x": "607.05",
                "y": "325.26",
                "label": "Reading",
                "labelpos": "left"
            },
            {
                "id": "21",
                "shapeid": "newCustomShape",
                "x": "624.44",
                "y": "296.62",
                "label": "Allentown",
                "labelpos": "left"
            },
            {
                "id": "22",
                "shapeid": "newCustomShape",
                "x": "638.76",
                "y": "291.5",
                "label": "Bethlehem",
                "labelpos": "right"
            },
            {
                "id": "23",
                "shapeid": "newCustomShape",
                "x": "580.46",
                "y": "221.95",
                "label": "Hazleton",
                "labelpos": "left"
            },
            {
                "id": "24",
                "shapeid": "newCustomShape",
                "x": "578.41",
                "y": "180.02",
                "label": "Wilkes-Barre",
                "labelpos": "right"
            },
            {
                "id": "25",
                "shapeid": "newCustomShape",
                "x": "592.73",
                "y": "156.49",
                "label": "Scranton",
                "labelpos": "right"
            },
            {
                "id": "26",
                "shapeid": "newCustomShape",
                "x": "593.75",
                "y": "111.48",
                "label": "Carbondale"
            }
        ]
    }
}

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": "HA",
                "x": "477.15",
                "y": "324.24",
                "label": "Harrisburg",
                "labelpos": "right"
            },
            {
                "id": "01",
                "x": "71.08",
                "y": "29.66",
                "label": "Erie"
            },
            {
                "id": "02",
                "x": "71.08",
                "y": "115.58",
                "label": "Meadville",
                "labelpos": "left"
            },
            {
                "id": "03",
                "x": "20.96",
                "y": "164.67",
                "label": "Farrell",
                "labelpos": "right"
            },
            {
                "id": "04",
                "x": "46.53",
                "y": "210.7",
                "label": "New Castle",
                "labelpos": "right"
            },
            {
                "id": "05",
                "x": "90.52",
                "y": "231.16",
                "label": "Butler",
                "labelpos": "right"
            },
            {
                "id": "06",
                "x": "57.79",
                "y": "257.75",
                "label": "New Brighton",
                "labelpos": "right"
            },
            {
                "id": "07",
                "x": "102.79",
                "y": "303.78",
                "label": "Pittsburgh",
                "labelpos": "right"
            },
            {
                "id": "08",
                "x": "115.06",
                "y": "319.12",
                "label": "McKeesport",
                "labelpos": "right"
            },
            {
                "id": "09",
                "x": "265.42",
                "y": "326.28",
                "label": "Johnstown",
                "labelpos": "right"
            },
            {
                "id": "10",
                "x": "322.7",
                "y": "369.24",
                "label": "Chambersburg",
                "labelpos": "left"
            },
            {
                "id": "11",
                "x": "352.36",
                "y": "384.58",
                "label": "Gettysburg",
                "labelpos": "left"
            },
            {
                "id": "12",
                "x": "315.54",
                "y": "287.41",
                "label": "Altoona",
                "labelpos": "right"
            },
            {
                "id": "13",
                "x": "378.96",
                "y": "253.66",
                "label": "StateCollege",
                "labelpos": "right"
            },
            {
                "id": "14",
                "x": "445.44",
                "y": "155.47",
                "label": "Williamsport"
            },
            {
                "id": "16",
                "x": "539.54",
                "y": "363.1",
                "label": "Lancaster",
                "labelpos": "left"
            },
            {
                "id": "17",
                "x": "510.9",
                "y": "398.9",
                "label": "York",
                "labelpos": "left"
            },
            {
                "id": "18",
                "x": "689.9",
                "y": "394.81",
                "label": "Philadelphia",
                "labelpos": "left"
            },
            {
                "id": "19",
                "x": "665.35",
                "y": "362.08",
                "label": "Norristown",
                "labelpos": "left"
            },
            {
                "id": "20",
                "x": "607.05",
                "y": "325.26",
                "label": "Reading",
                "labelpos": "left"
            },
            {
                "id": "21",
                "x": "624.44",
                "y": "296.62",
                "label": "Allentown",
                "labelpos": "left"
            },
            {
                "id": "22",
                "x": "638.76",
                "y": "291.5",
                "label": "Bethlehem",
                "labelpos": "right"
            },
            {
                "id": "23",
                "x": "580.46",
                "y": "221.95",
                "label": "Hazleton",
                "labelpos": "left"
            },
            {
                "id": "24",
                "x": "578.41",
                "y": "180.02",
                "label": "Wilkes-Barre",
                "labelpos": "right"
            },
            {
                "id": "25",
                "x": "592.73",
                "y": "156.49",
                "label": "Scranton",
                "labelpos": "right"
            },
            {
                "id": "26",
                "x": "593.75",
                "y": "111.48",
                "label": "Carbondale"
            }
        ],
        "application": [
            {
                "id": "HA",
                "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"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape"
            },
            {
                "id": "19",
                "shapeid": "newCustomShape"
            },
            {
                "id": "20",
                "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"
            }
        ]
    }
}

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='HA' x='477.15' y='324.24' label='Harrisburg' labelPos='right'  />
            <marker id='01' x='71.08' y='29.66' label='Erie'  />
            <marker id='02' x='71.08' y='115.58' label='Meadville' labelPos='left'  />
            <marker id='03' x='20.96' y='164.67' label='Farrell' labelPos='right'  />
            <marker id='04' x='46.53' y='210.7' label='New Castle' labelPos='right'  />
            <marker id='05' x='90.52' y='231.16' label='Butler' labelPos='right'  />
            <marker id='06' x='57.79' y='257.75' label='New Brighton' labelPos='right'  />
            <marker id='07' x='102.79' y='303.78' label='Pittsburgh' labelPos='right'  />
            <marker id='08' x='115.06' y='319.12' label='McKeesport' labelPos='right'  />
            <marker id='09' x='265.42' y='326.28' label='Johnstown' labelPos='right'  />
            <marker id='10' x='322.7' y='369.24' label='Chambersburg' labelPos='left'  />
            <marker id='11' x='352.36' y='384.58' label='Gettysburg' labelPos='left'  />
            <marker id='12' x='315.54' y='287.41' label='Altoona' labelPos='right'  />
            <marker id='13' x='378.96' y='253.66' label='StateCollege' labelPos='right'  />
            <marker id='14' x='445.44' y='155.47' label='Williamsport'  />
            <marker id='16' x='539.54' y='363.1' label='Lancaster' labelPos='left'  />
            <marker id='17' x='510.9' y='398.9' label='York' labelPos='left'  />
            <marker id='18' x='689.9' y='394.81' label='Philadelphia' labelPos='left'  />
            <marker id='19' x='665.35' y='362.08' label='Norristown' labelPos='left'  />
            <marker id='20' x='607.05' y='325.26' label='Reading' labelPos='left'  />
            <marker id='21' x='624.44' y='296.62' label='Allentown' labelPos='left'  />
            <marker id='22' x='638.76' y='291.5' label='Bethlehem' labelPos='right'  />
            <marker id='23' x='580.46' y='221.95' label='Hazleton' labelPos='left'  />
            <marker id='24' x='578.41' y='180.02' label='Wilkes-Barre' labelPos='right'  />
            <marker id='25' x='592.73' y='156.49' label='Scranton' labelPos='right'  />
            <marker id='26' x='593.75' y='111.48' label='Carbondale'  />

        </definition>
        <application>
            <marker id='HA' 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='06' shapeId='newCustomShape'  />
            <marker id='07' shapeId='newCustomShape'  />
            <marker id='08' shapeId='newCustomShape'  />
            <marker id='09' shapeId='newCustomShape'  />
            <marker id='10' shapeId='newCustomShape'  />
            <marker id='11' shapeId='newCustomShape'  />
            <marker id='12' shapeId='newCustomShape'  />
            <marker id='13' shapeId='newCustomShape'  />
            <marker id='14' shapeId='newCustomShape'  />
            <marker id='15' shapeId='newCustomShape'  />
            <marker id='16' shapeId='newCustomShape'  />
            <marker id='17' shapeId='newCustomShape'  />
            <marker id='18' shapeId='newCustomShape'  />
            <marker id='19' shapeId='newCustomShape'  />
            <marker id='20' 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'  />

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