Marker data

Map Name: Pennsylvania

JavaScript Alias: maps/pennsylvania


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

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": "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 JSON format for map marker data, using separate application and definition blocks.