Marker data

Map Name: Mexico

JavaScript Alias: maps/mexico


{
    "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": "ME",
                "shapeid": "myCustomShape",
                "x": "245.68",
                "y": "171.6",
                "label": "Mexico City ",
                "labelpos": "top"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "21.61",
                "y": "7.1",
                "label": "Tijuana",
                "labelpos": "left"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "28.17",
                "y": "14.2",
                "label": "Ensenada",
                "labelpos": "left"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "151.13",
                "y": "15.3",
                "label": "Ciudad Juarez"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "98.67",
                "y": "61.2",
                "label": "Guaymas"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "160.42",
                "y": "49.18",
                "label": "Chihuahua"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "243.49",
                "y": "78.15",
                "label": "Nuevo Laredo",
                "labelpos": "left"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "232.02",
                "y": "104.93",
                "label": "Monterrey"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "198.13",
                "y": "115.31",
                "label": "Durango"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "121.62",
                "y": "89.08",
                "label": "Topolobampo",
                "labelpos": "right"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "111.78",
                "y": "115.86",
                "label": "La Paz",
                "labelpos": "right"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "155.5",
                "y": "119.13",
                "label": "Mazatlan"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "171.35",
                "y": "154.11",
                "label": "Puerto Vallarta"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape",
                "x": "182.28",
                "y": "172.69",
                "label": "Manzanillo"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape",
                "x": "207.97",
                "y": "185.81",
                "label": "Lazaro Cardenas"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape",
                "x": "240.21",
                "y": "201.66",
                "label": "Acapulco"
            },
            {
                "id": "19",
                "shapeid": "newCustomShape",
                "x": "304.7",
                "y": "186.36",
                "label": "Coatzacoalcos",
                "labelpos": "right"
            },
            {
                "id": "24",
                "shapeid": "newCustomShape",
                "x": "291.04",
                "y": "196.19",
                "label": "Oaxaca"
            },
            {
                "id": "23",
                "shapeid": "newCustomShape",
                "x": "281.75",
                "y": "173.24",
                "label": "Veracruz"
            },
            {
                "id": "25",
                "shapeid": "newCustomShape",
                "x": "266.45",
                "y": "147.01",
                "label": "Tuxpan",
                "labelpos": "left"
            },
            {
                "id": "26",
                "shapeid": "newCustomShape",
                "x": "262.07",
                "y": "125.15",
                "label": "Tampico",
                "labelpos": "left"
            },
            {
                "id": "27",
                "shapeid": "newCustomShape",
                "x": "359.35",
                "y": "148.65",
                "label": "Progresco"
            },
            {
                "id": "29",
                "shapeid": "newCustomShape",
                "x": "358.81",
                "y": "154.66",
                "label": "Merida",
                "labelpos": "bottom"
            },
            {
                "id": "28",
                "shapeid": "newCustomShape",
                "x": "269.73",
                "y": "90.17",
                "label": "Matamoros",
                "labelpos": "right"
            },
            {
                "id": "30",
                "shapeid": "newCustomShape",
                "x": "398.7",
                "y": "146.46",
                "label": "Cancun"
            },
            {
                "id": "31",
                "shapeid": "newCustomShape",
                "x": "294.87",
                "y": "209.31",
                "label": "Salina Cruz",
                "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": "ME",
                "x": "245.68",
                "y": "171.6",
                "label": "Mexico City ",
                "labelpos": "top"
            },
            {
                "id": "01",
                "x": "21.61",
                "y": "7.1",
                "label": "Tijuana",
                "labelpos": "left"
            },
            {
                "id": "02",
                "x": "28.17",
                "y": "14.2",
                "label": "Ensenada",
                "labelpos": "left"
            },
            {
                "id": "03",
                "x": "151.13",
                "y": "15.3",
                "label": "Ciudad Juarez"
            },
            {
                "id": "04",
                "x": "98.67",
                "y": "61.2",
                "label": "Guaymas"
            },
            {
                "id": "05",
                "x": "160.42",
                "y": "49.18",
                "label": "Chihuahua"
            },
            {
                "id": "06",
                "x": "243.49",
                "y": "78.15",
                "label": "Nuevo Laredo",
                "labelpos": "left"
            },
            {
                "id": "07",
                "x": "232.02",
                "y": "104.93",
                "label": "Monterrey"
            },
            {
                "id": "08",
                "x": "198.13",
                "y": "115.31",
                "label": "Durango"
            },
            {
                "id": "09",
                "x": "121.62",
                "y": "89.08",
                "label": "Topolobampo",
                "labelpos": "right"
            },
            {
                "id": "11",
                "x": "111.78",
                "y": "115.86",
                "label": "La Paz",
                "labelpos": "right"
            },
            {
                "id": "12",
                "x": "155.5",
                "y": "119.13",
                "label": "Mazatlan"
            },
            {
                "id": "13",
                "x": "171.35",
                "y": "154.11",
                "label": "Puerto Vallarta"
            },
            {
                "id": "14",
                "x": "182.28",
                "y": "172.69",
                "label": "Manzanillo"
            },
            {
                "id": "15",
                "x": "207.97",
                "y": "185.81",
                "label": "Lazaro Cardenas"
            },
            {
                "id": "16",
                "x": "240.21",
                "y": "201.66",
                "label": "Acapulco"
            },
            {
                "id": "19",
                "x": "304.7",
                "y": "186.36",
                "label": "Coatzacoalcos",
                "labelpos": "right"
            },
            {
                "id": "24",
                "x": "291.04",
                "y": "196.19",
                "label": "Oaxaca"
            },
            {
                "id": "23",
                "x": "281.75",
                "y": "173.24",
                "label": "Veracruz"
            },
            {
                "id": "25",
                "x": "266.45",
                "y": "147.01",
                "label": "Tuxpan",
                "labelpos": "left"
            },
            {
                "id": "26",
                "x": "262.07",
                "y": "125.15",
                "label": "Tampico",
                "labelpos": "left"
            },
            {
                "id": "27",
                "x": "359.35",
                "y": "148.65",
                "label": "Progresco"
            },
            {
                "id": "29",
                "x": "358.81",
                "y": "154.66",
                "label": "Merida",
                "labelpos": "bottom"
            },
            {
                "id": "28",
                "x": "269.73",
                "y": "90.17",
                "label": "Matamoros",
                "labelpos": "right"
            },
            {
                "id": "30",
                "x": "398.7",
                "y": "146.46",
                "label": "Cancun"
            },
            {
                "id": "31",
                "x": "294.87",
                "y": "209.31",
                "label": "Salina Cruz",
                "labelpos": "right"
            }
        ],
        "application": [
            {
                "id": "ME",
                "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": "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": "19",
                "shapeid": "newCustomShape"
            },
            {
                "id": "24",
                "shapeid": "newCustomShape"
            },
            {
                "id": "23",
                "shapeid": "newCustomShape"
            },
            {
                "id": "25",
                "shapeid": "newCustomShape"
            },
            {
                "id": "26",
                "shapeid": "newCustomShape"
            },
            {
                "id": "27",
                "shapeid": "newCustomShape"
            },
            {
                "id": "29",
                "shapeid": "newCustomShape"
            },
            {
                "id": "28",
                "shapeid": "newCustomShape"
            },
            {
                "id": "30",
                "shapeid": "newCustomShape"
            },
            {
                "id": "31",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

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