Marker data

Map Name: Cyprus

JavaScript Alias: maps/cyprus


{
    "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": "NI",
                "shapeid": "myCustomShape",
                "x": "261.78",
                "y": "178.7",
                "label": "Nicosia"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "247.41",
                "y": "120.16",
                "label": "Kyrenia"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "183.73",
                "y": "173.56",
                "label": "Morphou"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "47.14",
                "y": "218.75",
                "label": "Polis"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "45.08",
                "y": "290.64",
                "label": "Paphos"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "170.38",
                "y": "328.64",
                "label": "Episkopi",
                "labelpos": "left"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "203.24",
                "y": "324.54",
                "label": "Limassol",
                "labelpos": "top"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "436.38",
                "y": "192.05",
                "label": "Famagusta",
                "labelpos": "left"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "334.7",
                "y": "279.35",
                "label": "Vasilikos"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "562.7",
                "y": "24.64",
                "label": "Rizokarpaso"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "355.24",
                "y": "254.7",
                "label": "Larnaca"
            }
        ]
    }
}

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": "NI",
                "x": "261.78",
                "y": "178.7",
                "label": "Nicosia"
            },
            {
                "id": "01",
                "x": "247.41",
                "y": "120.16",
                "label": "Kyrenia"
            },
            {
                "id": "02",
                "x": "183.73",
                "y": "173.56",
                "label": "Morphou"
            },
            {
                "id": "03",
                "x": "47.14",
                "y": "218.75",
                "label": "Polis"
            },
            {
                "id": "04",
                "x": "45.08",
                "y": "290.64",
                "label": "Paphos"
            },
            {
                "id": "05",
                "x": "170.38",
                "y": "328.64",
                "label": "Episkopi",
                "labelpos": "left"
            },
            {
                "id": "07",
                "x": "203.24",
                "y": "324.54",
                "label": "Limassol",
                "labelpos": "top"
            },
            {
                "id": "06",
                "x": "436.38",
                "y": "192.05",
                "label": "Famagusta",
                "labelpos": "left"
            },
            {
                "id": "08",
                "x": "334.7",
                "y": "279.35",
                "label": "Vasilikos"
            },
            {
                "id": "09",
                "x": "562.7",
                "y": "24.64",
                "label": "Rizokarpaso"
            },
            {
                "id": "10",
                "x": "355.24",
                "y": "254.7",
                "label": "Larnaca"
            }
        ],
        "application": [
            {
                "id": "NI",
                "shapeid": "myCustomShape"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

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