Marker data

Map Name: YukonTerritory

JavaScript Alias: maps/yukonterritory


{
    "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"
    },
    "data": [
        {
            "id": "CA.YT.NO"
        },
        {
            "id": "CA.YT.ST"
        },
        {
            "id": "CA.YT.KL"
        },
        {
            "id": "CA.YT.KU"
        },
        {
            "id": "CA.YT.WH"
        },
        {
            "id": "CA.YT.CA"
        },
        {
            "id": "CA.YT.WL"
        }
    ],
    "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": "WH",
                "shapeid": "myCustomShape",
                "x": "210",
                "y": "584",
                "label": "Whitehorse",
                "labelpos": "right"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "296",
                "y": "682",
                "label": "Teslin"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "416",
                "y": "726",
                "label": "Watson Lake"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "192",
                "y": "646",
                "label": "Carcross",
                "labelpos": "left"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "112",
                "y": "524",
                "label": "Haines Junction"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "72",
                "y": "422",
                "label": "Beaver Creek"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "202",
                "y": "294",
                "label": "Dawson"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "302",
                "y": "338",
                "label": "Keno Hill"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "262",
                "y": "358",
                "label": "Mayo",
                "labelpos": "left"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "254",
                "y": "128",
                "label": "Old Crow"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "198",
                "y": "470",
                "label": "Carmacks",
                "labelpos": "left"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "214",
                "y": "398",
                "label": "Pelly Crossing",
                "labelpos": "right"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "304",
                "y": "470",
                "label": "Faro"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape",
                "x": "344",
                "y": "492",
                "label": "Ross River",
                "labelpos": "right"
            }
        ]
    }
}

New JSON format for map marker data.


{
    "map": {
        "animation": "0",
        "showshadow": "0",
        "showmarkerlabels": "1",
        "fillcolor": "F1f1f1",
        "bordercolor": "999999",
        "basefont": "Verdana",
        "basefontsize": "10",
        "markerbordercolor": "000000",
        "markerbgcolor": "FF5904",
        "markerradius": "6",
        "legendposition": "bottom",
        "usehovercolor": "1",
        "showmarkertooltip": "1",
        "showlabels": "0"
    },
    "data": [
        {
            "id": "CA.YT.NO"
        },
        {
            "id": "CA.YT.ST"
        },
        {
            "id": "CA.YT.KL"
        },
        {
            "id": "CA.YT.KU"
        },
        {
            "id": "CA.YT.WH"
        },
        {
            "id": "CA.YT.CA"
        },
        {
            "id": "CA.YT.WL"
        }
    ],
    "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": "WH",
                "x": "210",
                "y": "584",
                "label": "Whitehorse",
                "labelpos": "right"
            },
            {
                "id": "01",
                "x": "296",
                "y": "682",
                "label": "Teslin"
            },
            {
                "id": "02",
                "x": "416",
                "y": "726",
                "label": "Watson Lake"
            },
            {
                "id": "03",
                "x": "192",
                "y": "646",
                "label": "Carcross",
                "labelpos": "left"
            },
            {
                "id": "04",
                "x": "112",
                "y": "524",
                "label": "Haines Junction"
            },
            {
                "id": "06",
                "x": "72",
                "y": "422",
                "label": "Beaver Creek"
            },
            {
                "id": "05",
                "x": "202",
                "y": "294",
                "label": "Dawson"
            },
            {
                "id": "07",
                "x": "302",
                "y": "338",
                "label": "Keno Hill"
            },
            {
                "id": "08",
                "x": "262",
                "y": "358",
                "label": "Mayo",
                "labelpos": "left"
            },
            {
                "id": "10",
                "x": "254",
                "y": "128",
                "label": "Old Crow"
            },
            {
                "id": "11",
                "x": "198",
                "y": "470",
                "label": "Carmacks",
                "labelpos": "left"
            },
            {
                "id": "12",
                "x": "214",
                "y": "398",
                "label": "Pelly Crossing",
                "labelpos": "right"
            },
            {
                "id": "13",
                "x": "304",
                "y": "470",
                "label": "Faro"
            },
            {
                "id": "18",
                "x": "344",
                "y": "492",
                "label": "Ross River",
                "labelpos": "right"
            }
        ],
        "application": [
            {
                "id": "WH",
                "shapeid": "myCustomShape"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

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