Marker data

Map Name: NewHampshire

JavaScript Alias: maps/newhampshire


{
    "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": "CO",
                "shapeid": "myCustomShape",
                "x": "233.62",
                "y": "675.54",
                "label": "Concord "
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "242.21",
                "y": "282.15",
                "label": "Lancaster",
                "labelpos": "left"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "331.54",
                "y": "299.33",
                "label": "Berlin"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "197.55",
                "y": "337.12",
                "label": "Littleton",
                "labelpos": "left"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "137.42",
                "y": "392.1",
                "label": "Woodsvile",
                "labelpos": "left"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "331.54",
                "y": "438.48",
                "label": "Conway"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "225.03",
                "y": "483.14",
                "label": "Plymouth"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "77.3",
                "y": "543.27",
                "label": "Hanover",
                "labelpos": "right"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "104.78",
                "y": "582.78",
                "label": "Lebanon",
                "labelpos": "right"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "65.27",
                "y": "636.03",
                "label": "Claremont",
                "labelpos": "right"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "240.49",
                "y": "569.04",
                "label": "Franklin",
                "labelpos": "right"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "280.01",
                "y": "512.35",
                "label": "Laconia",
                "labelpos": "right"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape",
                "x": "383.08",
                "y": "666.95",
                "label": "Rochester",
                "labelpos": "left"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape",
                "x": "400.26",
                "y": "692.72",
                "label": "Dover",
                "labelpos": "left"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "439.77",
                "y": "752.85",
                "label": "Portsmouth"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape",
                "x": "374.49",
                "y": "775.18",
                "label": "Exeter",
                "labelpos": "right"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape",
                "x": "274.85",
                "y": "842.17",
                "label": "Nashua",
                "labelpos": "left"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape",
                "x": "231.91",
                "y": "807.82",
                "label": "Milford",
                "labelpos": "left"
            },
            {
                "id": "19",
                "shapeid": "newCustomShape",
                "x": "82.45",
                "y": "785.49",
                "label": "Keene"
            },
            {
                "id": "20",
                "shapeid": "newCustomShape",
                "x": "276.57",
                "y": "715.05",
                "label": "Manchester",
                "labelpos": "left"
            }
        ]
    }
}

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": "CO",
                "x": "233.62",
                "y": "675.54",
                "label": "Concord "
            },
            {
                "id": "01",
                "x": "242.21",
                "y": "282.15",
                "label": "Lancaster",
                "labelpos": "left"
            },
            {
                "id": "02",
                "x": "331.54",
                "y": "299.33",
                "label": "Berlin"
            },
            {
                "id": "03",
                "x": "197.55",
                "y": "337.12",
                "label": "Littleton",
                "labelpos": "left"
            },
            {
                "id": "04",
                "x": "137.42",
                "y": "392.1",
                "label": "Woodsvile",
                "labelpos": "left"
            },
            {
                "id": "05",
                "x": "331.54",
                "y": "438.48",
                "label": "Conway"
            },
            {
                "id": "06",
                "x": "225.03",
                "y": "483.14",
                "label": "Plymouth"
            },
            {
                "id": "07",
                "x": "77.3",
                "y": "543.27",
                "label": "Hanover",
                "labelpos": "right"
            },
            {
                "id": "09",
                "x": "104.78",
                "y": "582.78",
                "label": "Lebanon",
                "labelpos": "right"
            },
            {
                "id": "10",
                "x": "65.27",
                "y": "636.03",
                "label": "Claremont",
                "labelpos": "right"
            },
            {
                "id": "11",
                "x": "240.49",
                "y": "569.04",
                "label": "Franklin",
                "labelpos": "right"
            },
            {
                "id": "13",
                "x": "280.01",
                "y": "512.35",
                "label": "Laconia",
                "labelpos": "right"
            },
            {
                "id": "14",
                "x": "383.08",
                "y": "666.95",
                "label": "Rochester",
                "labelpos": "left"
            },
            {
                "id": "15",
                "x": "400.26",
                "y": "692.72",
                "label": "Dover",
                "labelpos": "left"
            },
            {
                "id": "12",
                "x": "439.77",
                "y": "752.85",
                "label": "Portsmouth"
            },
            {
                "id": "16",
                "x": "374.49",
                "y": "775.18",
                "label": "Exeter",
                "labelpos": "right"
            },
            {
                "id": "18",
                "x": "274.85",
                "y": "842.17",
                "label": "Nashua",
                "labelpos": "left"
            },
            {
                "id": "17",
                "x": "231.91",
                "y": "807.82",
                "label": "Milford",
                "labelpos": "left"
            },
            {
                "id": "19",
                "x": "82.45",
                "y": "785.49",
                "label": "Keene"
            },
            {
                "id": "20",
                "x": "276.57",
                "y": "715.05",
                "label": "Manchester",
                "labelpos": "left"
            }
        ],
        "application": [
            {
                "id": "CO",
                "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": "09",
                "shapeid": "newCustomShape"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape"
            },
            {
                "id": "19",
                "shapeid": "newCustomShape"
            },
            {
                "id": "20",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

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