Marker data

Map Name: Vanuatu

JavaScript Alias: maps/vanuatu


{
    "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": "VU.ML"
        },
        {
            "id": "VU.PM"
        },
        {
            "id": "VU.SN"
        },
        {
            "id": "VU.SE"
        },
        {
            "id": "VU.TF"
        },
        {
            "id": "VU.TR"
        }
    ],
    "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": "PO",
                "shapeid": "myCustomShape",
                "x": "104.21",
                "y": "248.94",
                "label": "Portvila",
                "labelpos": "left"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "42.1",
                "y": "132.1",
                "label": "Luganville",
                "labelpos": "right"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "147.36",
                "y": "306.84",
                "label": "Ipota",
                "labelpos": "left"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "110.52",
                "y": "242.63",
                "label": "Forari"
            }
        ]
    }
}

New JSON format for map marker data.


{
    "map": {
        "animation": "0",
        "showshadow": "0",
        "showlabels": "0",
        "showmarkerlabels": "1",
        "fillcolor": "F1f1f1",
        "bordercolor": "999999",
        "basefont": "Verdana",
        "basefontsize": "10",
        "legendposition": "bottom",
        "usehovercolor": "1",
        "showmarkertooltip": "1"
    },
    "data": [
        {
            "id": "VU.ML"
        },
        {
            "id": "VU.PM"
        },
        {
            "id": "VU.SN"
        },
        {
            "id": "VU.SE"
        },
        {
            "id": "VU.TF"
        },
        {
            "id": "VU.TR"
        }
    ],
    "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": "PO",
                "x": "104.21",
                "y": "248.94",
                "label": "Portvila",
                "labelpos": "left"
            },
            {
                "id": "01",
                "x": "42.1",
                "y": "132.1",
                "label": "Luganville",
                "labelpos": "right"
            },
            {
                "id": "02",
                "x": "147.36",
                "y": "306.84",
                "label": "Ipota",
                "labelpos": "left"
            },
            {
                "id": "03",
                "x": "110.52",
                "y": "242.63",
                "label": "Forari"
            }
        ],
        "application": [
            {
                "id": "PO",
                "shapeid": "myCustomShape"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

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