Marker data

Map Name: Connecticut

JavaScript Alias: maps/connecticut


{
    "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": "377.08",
                "y": "134.4",
                "label": "Hartford "
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "64.5",
                "y": "537.6",
                "label": "Greenwich"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "94.02",
                "y": "517.23",
                "label": "Stamford"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "137.81",
                "y": "483.63",
                "label": "Norwalk"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "212.13",
                "y": "467.34",
                "label": "Bridgeport"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "253.88",
                "y": "430.69",
                "label": "Milford"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "195.84",
                "y": "416.43",
                "label": "Trumbull"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "127.62",
                "y": "342.1",
                "label": "Danbury"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "304.79",
                "y": "406.25",
                "label": "New Haven"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "296.64",
                "y": "343.12",
                "label": "Hamden"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "337.37",
                "y": "301.38",
                "label": "Meridan"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "250.82",
                "y": "272.87",
                "label": "Waterbury"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "313.95",
                "y": "221.96",
                "label": "Bristol"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "364.86",
                "y": "230.1",
                "label": "New Britain"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape",
                "x": "256.93",
                "y": "154.76",
                "label": "Torrington"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape",
                "x": "475.84",
                "y": "173.09",
                "label": "Manchester"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape",
                "x": "542.02",
                "y": "126.25",
                "label": "Storrs"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape",
                "x": "541.01",
                "y": "192.43",
                "label": "Willimantic"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape",
                "x": "678.46",
                "y": "89.6",
                "label": "Putnam"
            },
            {
                "id": "20",
                "shapeid": "newCustomShape",
                "x": "594.97",
                "y": "281.01",
                "label": "Norwich"
            },
            {
                "id": "21",
                "shapeid": "newCustomShape",
                "x": "605.15",
                "y": "395.05",
                "label": "Groton",
                "labelpos": "left"
            },
            {
                "id": "22",
                "shapeid": "newCustomShape",
                "x": "587.84",
                "y": "380.8",
                "label": "New London"
            },
            {
                "id": "19",
                "shapeid": "newCustomShape",
                "x": "458.53",
                "y": "412.36",
                "label": "Old Lyme"
            },
            {
                "id": "23",
                "shapeid": "newCustomShape",
                "x": "162.24",
                "y": "239.27",
                "label": "New Milford"
            },
            {
                "id": "24",
                "shapeid": "newCustomShape",
                "x": "305.81",
                "y": "93.67",
                "label": "Winsted"
            },
            {
                "id": "25",
                "shapeid": "newCustomShape",
                "x": "182.61",
                "y": "38.69",
                "label": "Canaan",
                "labelpos": "bottom"
            },
            {
                "id": "26",
                "shapeid": "newCustomShape",
                "x": "465.66",
                "y": "62.1",
                "label": "Windsor Locks"
            }
        ]
    }
}

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": "377.08",
                "y": "134.4",
                "label": "Hartford "
            },
            {
                "id": "01",
                "x": "64.5",
                "y": "537.6",
                "label": "Greenwich"
            },
            {
                "id": "02",
                "x": "94.02",
                "y": "517.23",
                "label": "Stamford"
            },
            {
                "id": "03",
                "x": "137.81",
                "y": "483.63",
                "label": "Norwalk"
            },
            {
                "id": "04",
                "x": "212.13",
                "y": "467.34",
                "label": "Bridgeport"
            },
            {
                "id": "05",
                "x": "253.88",
                "y": "430.69",
                "label": "Milford"
            },
            {
                "id": "06",
                "x": "195.84",
                "y": "416.43",
                "label": "Trumbull"
            },
            {
                "id": "07",
                "x": "127.62",
                "y": "342.1",
                "label": "Danbury"
            },
            {
                "id": "08",
                "x": "304.79",
                "y": "406.25",
                "label": "New Haven"
            },
            {
                "id": "09",
                "x": "296.64",
                "y": "343.12",
                "label": "Hamden"
            },
            {
                "id": "10",
                "x": "337.37",
                "y": "301.38",
                "label": "Meridan"
            },
            {
                "id": "11",
                "x": "250.82",
                "y": "272.87",
                "label": "Waterbury"
            },
            {
                "id": "12",
                "x": "313.95",
                "y": "221.96",
                "label": "Bristol"
            },
            {
                "id": "13",
                "x": "364.86",
                "y": "230.1",
                "label": "New Britain"
            },
            {
                "id": "14",
                "x": "256.93",
                "y": "154.76",
                "label": "Torrington"
            },
            {
                "id": "15",
                "x": "475.84",
                "y": "173.09",
                "label": "Manchester"
            },
            {
                "id": "16",
                "x": "542.02",
                "y": "126.25",
                "label": "Storrs"
            },
            {
                "id": "17",
                "x": "541.01",
                "y": "192.43",
                "label": "Willimantic"
            },
            {
                "id": "18",
                "x": "678.46",
                "y": "89.6",
                "label": "Putnam"
            },
            {
                "id": "20",
                "x": "594.97",
                "y": "281.01",
                "label": "Norwich"
            },
            {
                "id": "21",
                "x": "605.15",
                "y": "395.05",
                "label": "Groton",
                "labelpos": "left"
            },
            {
                "id": "22",
                "x": "587.84",
                "y": "380.8",
                "label": "New London"
            },
            {
                "id": "19",
                "x": "458.53",
                "y": "412.36",
                "label": "Old Lyme"
            },
            {
                "id": "23",
                "x": "162.24",
                "y": "239.27",
                "label": "New Milford"
            },
            {
                "id": "24",
                "x": "305.81",
                "y": "93.67",
                "label": "Winsted"
            },
            {
                "id": "25",
                "x": "182.61",
                "y": "38.69",
                "label": "Canaan",
                "labelpos": "bottom"
            },
            {
                "id": "26",
                "x": "465.66",
                "y": "62.1",
                "label": "Windsor Locks"
            }
        ],
        "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": "20",
                "shapeid": "newCustomShape"
            },
            {
                "id": "21",
                "shapeid": "newCustomShape"
            },
            {
                "id": "22",
                "shapeid": "newCustomShape"
            },
            {
                "id": "19",
                "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.