Marker data

Map Name: Malaysia

JavaScript Alias: maps/malaysia


{
    "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": "KL",
                "shapeid": "myCustomShape",
                "x": "71",
                "y": "160.5",
                "label": "Kuala Lumpur",
                "labelpos": "right"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "43",
                "y": "124.5",
                "label": "Lumut",
                "labelpos": "left"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "57",
                "y": "107.5",
                "label": "Ipoh"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "90",
                "y": "77.5",
                "label": "Kota Baharu"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "105",
                "y": "95.5",
                "label": "Kuala Terengganu",
                "labelpos": "right"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "116",
                "y": "138.5",
                "label": "Kuantan",
                "labelpos": "right"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "84",
                "y": "178.5",
                "label": "Melaka",
                "labelpos": "left"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "128",
                "y": "205.5",
                "label": "Johor Baharu",
                "labelpos": "right"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "65",
                "y": "166.5",
                "label": "Port Dickson",
                "labelpos": "left"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "480",
                "y": "58.5",
                "label": "Kudat"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "463",
                "y": "85.5",
                "label": "Kota Kinabalu"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "445",
                "y": "114.5",
                "label": "Miri",
                "labelpos": "left"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "348",
                "y": "185.5",
                "label": "Sibu"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape",
                "x": "301",
                "y": "207.5",
                "label": "Kuching"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape",
                "x": "513",
                "y": "80.5",
                "label": "Sandakan",
                "labelpos": "right"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape",
                "x": "526",
                "y": "103.5",
                "label": "Lahad Datu",
                "labelpos": "left"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape",
                "x": "505",
                "y": "125.5",
                "label": "Tawau",
                "labelpos": "bottom"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape",
                "x": "382",
                "y": "164.5",
                "label": "Bintulu",
                "labelpos": "right"
            }
        ]
    }
}

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": "KL",
                "x": "71",
                "y": "160.5",
                "label": "Kuala Lumpur",
                "labelpos": "right"
            },
            {
                "id": "01",
                "x": "43",
                "y": "124.5",
                "label": "Lumut",
                "labelpos": "left"
            },
            {
                "id": "02",
                "x": "57",
                "y": "107.5",
                "label": "Ipoh"
            },
            {
                "id": "03",
                "x": "90",
                "y": "77.5",
                "label": "Kota Baharu"
            },
            {
                "id": "06",
                "x": "105",
                "y": "95.5",
                "label": "Kuala Terengganu",
                "labelpos": "right"
            },
            {
                "id": "04",
                "x": "116",
                "y": "138.5",
                "label": "Kuantan",
                "labelpos": "right"
            },
            {
                "id": "07",
                "x": "84",
                "y": "178.5",
                "label": "Melaka",
                "labelpos": "left"
            },
            {
                "id": "05",
                "x": "128",
                "y": "205.5",
                "label": "Johor Baharu",
                "labelpos": "right"
            },
            {
                "id": "08",
                "x": "65",
                "y": "166.5",
                "label": "Port Dickson",
                "labelpos": "left"
            },
            {
                "id": "10",
                "x": "480",
                "y": "58.5",
                "label": "Kudat"
            },
            {
                "id": "11",
                "x": "463",
                "y": "85.5",
                "label": "Kota Kinabalu"
            },
            {
                "id": "12",
                "x": "445",
                "y": "114.5",
                "label": "Miri",
                "labelpos": "left"
            },
            {
                "id": "13",
                "x": "348",
                "y": "185.5",
                "label": "Sibu"
            },
            {
                "id": "14",
                "x": "301",
                "y": "207.5",
                "label": "Kuching"
            },
            {
                "id": "15",
                "x": "513",
                "y": "80.5",
                "label": "Sandakan",
                "labelpos": "right"
            },
            {
                "id": "16",
                "x": "526",
                "y": "103.5",
                "label": "Lahad Datu",
                "labelpos": "left"
            },
            {
                "id": "17",
                "x": "505",
                "y": "125.5",
                "label": "Tawau",
                "labelpos": "bottom"
            },
            {
                "id": "18",
                "x": "382",
                "y": "164.5",
                "label": "Bintulu",
                "labelpos": "right"
            }
        ],
        "application": [
            {
                "id": "KL",
                "shapeid": "myCustomShape"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

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