Marker data

Map Name: WestVirginia

JavaScript Alias: maps/westvirginia


{
    "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": "CH",
                "shapeid": "myCustomShape",
                "x": "159.86",
                "y": "395.59",
                "label": "Charleston",
                "labelpos": "right"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "305.28",
                "y": "58.98",
                "label": "Weirton",
                "labelpos": "left"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "292.06",
                "y": "128.13",
                "label": "Wheeling",
                "labelpos": "left"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "389.69",
                "y": "203.38",
                "label": "Morgantown",
                "labelpos": "left"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "374.44",
                "y": "221.69",
                "label": "Fairmont",
                "labelpos": "right"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "322.57",
                "y": "252.2",
                "label": "Clarksburg"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "361.22",
                "y": "289.83",
                "label": "Elkins",
                "labelpos": "right"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "171.05",
                "y": "259.32",
                "label": "Parkersburg"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "646.98",
                "y": "216.61",
                "label": "Martinsburg",
                "labelpos": "left"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "89.69",
                "y": "369.15",
                "label": "Huntington"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "119.18",
                "y": "385.42",
                "label": "St Albans",
                "labelpos": "right"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "116.13",
                "y": "488.13",
                "label": "Logan"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "224.94",
                "y": "463.72",
                "label": "Beckley"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "247.32",
                "y": "570.5",
                "label": "Princeton"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape",
                "x": "222.91",
                "y": "584.74",
                "label": "Bluefield",
                "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": "CH",
                "x": "159.86",
                "y": "395.59",
                "label": "Charleston",
                "labelpos": "right"
            },
            {
                "id": "01",
                "x": "305.28",
                "y": "58.98",
                "label": "Weirton",
                "labelpos": "left"
            },
            {
                "id": "02",
                "x": "292.06",
                "y": "128.13",
                "label": "Wheeling",
                "labelpos": "left"
            },
            {
                "id": "03",
                "x": "389.69",
                "y": "203.38",
                "label": "Morgantown",
                "labelpos": "left"
            },
            {
                "id": "04",
                "x": "374.44",
                "y": "221.69",
                "label": "Fairmont",
                "labelpos": "right"
            },
            {
                "id": "05",
                "x": "322.57",
                "y": "252.2",
                "label": "Clarksburg"
            },
            {
                "id": "06",
                "x": "361.22",
                "y": "289.83",
                "label": "Elkins",
                "labelpos": "right"
            },
            {
                "id": "07",
                "x": "171.05",
                "y": "259.32",
                "label": "Parkersburg"
            },
            {
                "id": "08",
                "x": "646.98",
                "y": "216.61",
                "label": "Martinsburg",
                "labelpos": "left"
            },
            {
                "id": "09",
                "x": "89.69",
                "y": "369.15",
                "label": "Huntington"
            },
            {
                "id": "10",
                "x": "119.18",
                "y": "385.42",
                "label": "St Albans",
                "labelpos": "right"
            },
            {
                "id": "11",
                "x": "116.13",
                "y": "488.13",
                "label": "Logan"
            },
            {
                "id": "12",
                "x": "224.94",
                "y": "463.72",
                "label": "Beckley"
            },
            {
                "id": "13",
                "x": "247.32",
                "y": "570.5",
                "label": "Princeton"
            },
            {
                "id": "14",
                "x": "222.91",
                "y": "584.74",
                "label": "Bluefield",
                "labelpos": "left"
            }
        ],
        "application": [
            {
                "id": "CH",
                "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"
            }
        ]
    }
}

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