Marker data

Map Name: Nepal

JavaScript Alias: maps/nepal


{
    "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": "NP.BA"
        },
        {
            "id": "NP.BH"
        },
        {
            "id": "NP.DH"
        },
        {
            "id": "NP.GA"
        },
        {
            "id": "NP.JA"
        },
        {
            "id": "NP.KA"
        },
        {
            "id": "NP.KO"
        },
        {
            "id": "NP.LU"
        },
        {
            "id": "NP.MA"
        },
        {
            "id": "NP.ME"
        },
        {
            "id": "NP.NA"
        },
        {
            "id": "NP.RA"
        },
        {
            "id": "NP.SA"
        },
        {
            "id": "NP.SE"
        }
    ],
    "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": "KA",
                "shapeid": "myCustomShape",
                "x": "489.89",
                "y": "274.87",
                "label": "Kathmandu"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "501.17",
                "y": "281.02",
                "label": "Bhaktapur",
                "labelpos": "right"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "488.87",
                "y": "286.15",
                "label": "Patan",
                "labelpos": "left"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "402.71",
                "y": "262.56",
                "label": "Bharatpur"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "310.41",
                "y": "281.02",
                "label": "Bhairahawa",
                "labelpos": "left"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "310.41",
                "y": "250.25",
                "label": "Butwal"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "144.25",
                "y": "225.64",
                "label": "Nepalganj",
                "labelpos": "left"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "35.53",
                "y": "155.89",
                "label": "Mahendranagar",
                "labelpos": "right"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "67.33",
                "y": "180.51",
                "label": "Dhangarhi",
                "labelpos": "right"
            },
            {
                "id": "011",
                "shapeid": "newCustomShape",
                "x": "349.38",
                "y": "187.69",
                "label": "Pokhara"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "430.41",
                "y": "321.02",
                "label": "Birganj",
                "labelpos": "left"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "526.82",
                "y": "348.71",
                "label": "Janakpur"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "647.84",
                "y": "327.17",
                "label": "Dharan Bazar",
                "labelpos": "left"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "642.71",
                "y": "368.2",
                "label": "Biratnagar",
                "labelpos": "right"
            }
        ]
    }
}

New JSON format for map marker data.


{
    "map": {
        "animation": "0",
        "showshadow": "0",
        "showlabels": "0",
        "showmarkerlabels": "1",
        "fillcolor": "F1f1f1",
        "bordercolor": "999999",
        "basefont": "Verdana",
        "basefontsize": "10",
        "markerbordercolor": "000000",
        "markerbgcolor": "FF5904",
        "markerradius": "6",
        "legendposition": "bottom",
        "usehovercolor": "1",
        "showmarkertooltip": "1"
    },
    "data": [
        {
            "id": "NP.BA"
        },
        {
            "id": "NP.BH"
        },
        {
            "id": "NP.DH"
        },
        {
            "id": "NP.GA"
        },
        {
            "id": "NP.JA"
        },
        {
            "id": "NP.KA"
        },
        {
            "id": "NP.KO"
        },
        {
            "id": "NP.LU"
        },
        {
            "id": "NP.MA"
        },
        {
            "id": "NP.ME"
        },
        {
            "id": "NP.NA"
        },
        {
            "id": "NP.RA"
        },
        {
            "id": "NP.SA"
        },
        {
            "id": "NP.SE"
        }
    ],
    "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": "KA",
                "x": "489.89",
                "y": "274.87",
                "label": "Kathmandu"
            },
            {
                "id": "01",
                "x": "501.17",
                "y": "281.02",
                "label": "Bhaktapur",
                "labelpos": "right"
            },
            {
                "id": "02",
                "x": "488.87",
                "y": "286.15",
                "label": "Patan",
                "labelpos": "left"
            },
            {
                "id": "03",
                "x": "402.71",
                "y": "262.56",
                "label": "Bharatpur"
            },
            {
                "id": "05",
                "x": "310.41",
                "y": "281.02",
                "label": "Bhairahawa",
                "labelpos": "left"
            },
            {
                "id": "06",
                "x": "310.41",
                "y": "250.25",
                "label": "Butwal"
            },
            {
                "id": "04",
                "x": "144.25",
                "y": "225.64",
                "label": "Nepalganj",
                "labelpos": "left"
            },
            {
                "id": "07",
                "x": "35.53",
                "y": "155.89",
                "label": "Mahendranagar",
                "labelpos": "right"
            },
            {
                "id": "08",
                "x": "67.33",
                "y": "180.51",
                "label": "Dhangarhi",
                "labelpos": "right"
            },
            {
                "id": "011",
                "x": "349.38",
                "y": "187.69",
                "label": "Pokhara"
            },
            {
                "id": "09",
                "x": "430.41",
                "y": "321.02",
                "label": "Birganj",
                "labelpos": "left"
            },
            {
                "id": "10",
                "x": "526.82",
                "y": "348.71",
                "label": "Janakpur"
            },
            {
                "id": "12",
                "x": "647.84",
                "y": "327.17",
                "label": "Dharan Bazar",
                "labelpos": "left"
            },
            {
                "id": "13",
                "x": "642.71",
                "y": "368.2",
                "label": "Biratnagar",
                "labelpos": "right"
            }
        ],
        "application": [
            {
                "id": "KA",
                "shapeid": "myCustomShape"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape"
            },
            {
                "id": "011",
                "shapeid": "newCustomShape"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

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