Marker data

Map Name: Oman

JavaScript Alias: maps/oman


{
    "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": "OM.DA"
        },
        {
            "id": "OM.ZA"
        },
        {
            "id": "OM.BA"
        },
        {
            "id": "OM.WU"
        },
        {
            "id": "OM.SH"
        },
        {
            "id": "OM.JA"
        },
        {
            "id": "OM.MU"
        },
        {
            "id": "OM.MA"
        }
    ],
    "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": "MU",
                "shapeid": "myCustomShape",
                "x": "360",
                "y": "172.53",
                "label": "Muscat",
                "labelpos": "right"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "352.84",
                "y": "168.44",
                "label": "Matrah",
                "labelpos": "top"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "343.63",
                "y": "168.44",
                "label": "Mina al Fahl",
                "labelpos": "left"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "262.84",
                "y": "120.37",
                "label": "Suhar",
                "labelpos": "left"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "403.97",
                "y": "226.73",
                "label": "Sur",
                "labelpos": "left"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "241.36",
                "y": "187.87",
                "label": "Ibri"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "294.54",
                "y": "212.42",
                "label": "Nizwa"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "320.11",
                "y": "387.3",
                "label": "Duqm",
                "labelpos": "right"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "127.84",
                "y": "538.67",
                "label": "Raysut",
                "labelpos": "right"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "133.97",
                "y": "531.51",
                "label": "Salalah"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "136.02",
                "y": "475.26",
                "label": "Thamarit",
                "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": "OM.DA"
        },
        {
            "id": "OM.ZA"
        },
        {
            "id": "OM.BA"
        },
        {
            "id": "OM.WU"
        },
        {
            "id": "OM.SH"
        },
        {
            "id": "OM.JA"
        },
        {
            "id": "OM.MU"
        },
        {
            "id": "OM.MA"
        }
    ],
    "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": "MU",
                "x": "360",
                "y": "172.53",
                "label": "Muscat",
                "labelpos": "right"
            },
            {
                "id": "01",
                "x": "352.84",
                "y": "168.44",
                "label": "Matrah",
                "labelpos": "top"
            },
            {
                "id": "02",
                "x": "343.63",
                "y": "168.44",
                "label": "Mina al Fahl",
                "labelpos": "left"
            },
            {
                "id": "03",
                "x": "262.84",
                "y": "120.37",
                "label": "Suhar",
                "labelpos": "left"
            },
            {
                "id": "04",
                "x": "403.97",
                "y": "226.73",
                "label": "Sur",
                "labelpos": "left"
            },
            {
                "id": "06",
                "x": "241.36",
                "y": "187.87",
                "label": "Ibri"
            },
            {
                "id": "07",
                "x": "294.54",
                "y": "212.42",
                "label": "Nizwa"
            },
            {
                "id": "08",
                "x": "320.11",
                "y": "387.3",
                "label": "Duqm",
                "labelpos": "right"
            },
            {
                "id": "05",
                "x": "127.84",
                "y": "538.67",
                "label": "Raysut",
                "labelpos": "right"
            },
            {
                "id": "09",
                "x": "133.97",
                "y": "531.51",
                "label": "Salalah"
            },
            {
                "id": "10",
                "x": "136.02",
                "y": "475.26",
                "label": "Thamarit",
                "labelpos": "right"
            }
        ],
        "application": [
            {
                "id": "MU",
                "shapeid": "myCustomShape"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

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