Marker data

Map Name: Peru

JavaScript Alias: maps/peru


{
    "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": "LM",
                "shapeid": "myCustomShape",
                "x": "128.97",
                "y": "331.94",
                "label": "Lima",
                "labelpos": "left"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "223.05",
                "y": "106.77",
                "label": "Iquitos"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "155.4",
                "y": "159.62",
                "label": "Yurimaguas"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "214.6",
                "y": "230.45",
                "label": "Pucallpa",
                "labelpos": "right"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "10.57",
                "y": "122.62",
                "label": "Talara"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "15.85",
                "y": "145.88",
                "label": "Paita",
                "labelpos": "bottom"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "32.77",
                "y": "148",
                "label": "Piura"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "52.85",
                "y": "195.57",
                "label": "Chiclayo",
                "labelpos": "right"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "80.34",
                "y": "235.74",
                "label": "Trujillo"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "83.51",
                "y": "241.02",
                "label": "Salavery",
                "labelpos": "right"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "91.97",
                "y": "267.45",
                "label": "Chimbote",
                "labelpos": "left"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "126.85",
                "y": "328.77",
                "label": "Callao"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "167.02",
                "y": "402.77",
                "label": "Ica"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "270.62",
                "y": "459.85",
                "label": "Arequipa"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape",
                "x": "263.22",
                "y": "474.65",
                "label": "Matarani",
                "labelpos": "left"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape",
                "x": "283.31",
                "y": "489.45",
                "label": "Ilo"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape",
                "x": "310.8",
                "y": "506.37",
                "label": "Tacna"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape",
                "x": "270.62",
                "y": "390.08",
                "label": "Cusco"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape",
                "x": "350.97",
                "y": "352.02",
                "label": "Puerto Maldonado",
                "labelpos": "left"
            },
            {
                "id": "19",
                "shapeid": "newCustomShape",
                "x": "152.22",
                "y": "267.45",
                "label": "Huanuco",
                "labelpos": "bottom"
            },
            {
                "id": "20",
                "shapeid": "newCustomShape",
                "x": "204.02",
                "y": "347.8",
                "label": "Huancayo",
                "labelpos": "top"
            },
            {
                "id": "21",
                "shapeid": "newCustomShape",
                "x": "256.32",
                "y": "166.26",
                "label": "Warsaw",
                "labelpos": "right"
            },
            {
                "id": "22",
                "shapeid": "newCustomShape",
                "x": "224.5",
                "y": "196.02",
                "label": "Lodz",
                "labelpos": "right"
            },
            {
                "id": "23",
                "shapeid": "newCustomShape",
                "x": "113.66",
                "y": "255.55",
                "label": "Wroctaw",
                "labelpos": "right"
            },
            {
                "id": "24",
                "shapeid": "newCustomShape",
                "x": "184.48",
                "y": "267.86",
                "label": "Czestochowa",
                "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": "LM",
                "x": "128.97",
                "y": "331.94",
                "label": "Lima",
                "labelpos": "left"
            },
            {
                "id": "01",
                "x": "223.05",
                "y": "106.77",
                "label": "Iquitos"
            },
            {
                "id": "02",
                "x": "155.4",
                "y": "159.62",
                "label": "Yurimaguas"
            },
            {
                "id": "03",
                "x": "214.6",
                "y": "230.45",
                "label": "Pucallpa",
                "labelpos": "right"
            },
            {
                "id": "04",
                "x": "10.57",
                "y": "122.62",
                "label": "Talara"
            },
            {
                "id": "05",
                "x": "15.85",
                "y": "145.88",
                "label": "Paita",
                "labelpos": "bottom"
            },
            {
                "id": "06",
                "x": "32.77",
                "y": "148",
                "label": "Piura"
            },
            {
                "id": "07",
                "x": "52.85",
                "y": "195.57",
                "label": "Chiclayo",
                "labelpos": "right"
            },
            {
                "id": "08",
                "x": "80.34",
                "y": "235.74",
                "label": "Trujillo"
            },
            {
                "id": "10",
                "x": "83.51",
                "y": "241.02",
                "label": "Salavery",
                "labelpos": "right"
            },
            {
                "id": "09",
                "x": "91.97",
                "y": "267.45",
                "label": "Chimbote",
                "labelpos": "left"
            },
            {
                "id": "11",
                "x": "126.85",
                "y": "328.77",
                "label": "Callao"
            },
            {
                "id": "12",
                "x": "167.02",
                "y": "402.77",
                "label": "Ica"
            },
            {
                "id": "13",
                "x": "270.62",
                "y": "459.85",
                "label": "Arequipa"
            },
            {
                "id": "14",
                "x": "263.22",
                "y": "474.65",
                "label": "Matarani",
                "labelpos": "left"
            },
            {
                "id": "15",
                "x": "283.31",
                "y": "489.45",
                "label": "Ilo"
            },
            {
                "id": "16",
                "x": "310.8",
                "y": "506.37",
                "label": "Tacna"
            },
            {
                "id": "17",
                "x": "270.62",
                "y": "390.08",
                "label": "Cusco"
            },
            {
                "id": "18",
                "x": "350.97",
                "y": "352.02",
                "label": "Puerto Maldonado",
                "labelpos": "left"
            },
            {
                "id": "19",
                "x": "152.22",
                "y": "267.45",
                "label": "Huanuco",
                "labelpos": "bottom"
            },
            {
                "id": "20",
                "x": "204.02",
                "y": "347.8",
                "label": "Huancayo",
                "labelpos": "top"
            },
            {
                "id": "21",
                "x": "256.32",
                "y": "166.26",
                "label": "Warsaw",
                "labelpos": "right"
            },
            {
                "id": "22",
                "x": "224.5",
                "y": "196.02",
                "label": "Lodz",
                "labelpos": "right"
            },
            {
                "id": "23",
                "x": "113.66",
                "y": "255.55",
                "label": "Wroctaw",
                "labelpos": "right"
            },
            {
                "id": "24",
                "x": "184.48",
                "y": "267.86",
                "label": "Czestochowa",
                "labelpos": "right"
            }
        ],
        "application": [
            {
                "id": "LM",
                "shapeid": "myCustomShape"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape"
            },
            {
                "id": "09",
                "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"
            },
            {
                "id": "19",
                "shapeid": "newCustomShape"
            },
            {
                "id": "20",
                "shapeid": "newCustomShape"
            },
            {
                "id": "21",
                "shapeid": "newCustomShape"
            },
            {
                "id": "22",
                "shapeid": "newCustomShape"
            },
            {
                "id": "23",
                "shapeid": "newCustomShape"
            },
            {
                "id": "24",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

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