Marker data

Map Name: Lithuania

JavaScript Alias: maps/lithuania


{
    "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": "VI",
                "shapeid": "myCustomShape",
                "x": "612.59",
                "y": "436.15",
                "label": "Vilnius",
                "labelpos": "right"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "32.07",
                "y": "169.78",
                "label": "Klaipeda"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "32.07",
                "y": "89.46",
                "label": "Butinge"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "184.57",
                "y": "282.63",
                "label": "Taurage"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "316.74",
                "y": "103.69",
                "label": "Siauliai"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "458.05",
                "y": "159.61",
                "label": "Panevezys"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "602.42",
                "y": "237.89",
                "label": "Utena"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "376.72",
                "y": "323.29",
                "label": "Kaunas"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "285.22",
                "y": "431.06",
                "label": "Marijamopole"
            }
        ]
    }
}

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": "VI",
                "x": "612.59",
                "y": "436.15",
                "label": "Vilnius",
                "labelpos": "right"
            },
            {
                "id": "01",
                "x": "32.07",
                "y": "169.78",
                "label": "Klaipeda"
            },
            {
                "id": "02",
                "x": "32.07",
                "y": "89.46",
                "label": "Butinge"
            },
            {
                "id": "03",
                "x": "184.57",
                "y": "282.63",
                "label": "Taurage"
            },
            {
                "id": "04",
                "x": "316.74",
                "y": "103.69",
                "label": "Siauliai"
            },
            {
                "id": "05",
                "x": "458.05",
                "y": "159.61",
                "label": "Panevezys"
            },
            {
                "id": "07",
                "x": "602.42",
                "y": "237.89",
                "label": "Utena"
            },
            {
                "id": "08",
                "x": "376.72",
                "y": "323.29",
                "label": "Kaunas"
            },
            {
                "id": "09",
                "x": "285.22",
                "y": "431.06",
                "label": "Marijamopole"
            }
        ],
        "application": [
            {
                "id": "VI",
                "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": "08",
                "shapeid": "newCustomShape"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

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