Mexico

Map Name: Mexico

Javascript Alias: maps/mexico

New format for marker data in JSON:

{
    "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"
            }
        ]
    }
}

Old format for marker data in JSON, using separate application and definition blocks:

{
    "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 format for marker data in XML, using separate and blocks:

<map> 
    <markers>
        <shapes>
            <shape id='myCustomShape' type='circle' fillColor='FFFFFF,333333' fillPattern='radial' showBorder='0' radius='4'/>
             <shape id='newCustomShape' type='circle' fillColor='FFFFFF,000099' fillPattern='radial' showBorder='0' radius='3'/>
            </shapes>
        <definition>
            <marker id='ME' x='245.68' y='171.6' label='Mexico City ' labelPos='top'  />
            <marker id='01' x='21.61' y='7.1' label='Tijuana' labelPos='left'  />
            <marker id='02' x='28.17' y='14.2' label='Ensenada' labelPos='left'  />
            <marker id='03' x='151.13' y='15.3' label='Ciudad Juarez'  />
            <marker id='04' x='98.67' y='61.2' label='Guaymas'  />
            <marker id='05' x='160.42' y='49.18' label='Chihuahua'  />
            <marker id='06' x='243.49' y='78.15' label='Nuevo Laredo' labelPos='left'  />
            <marker id='07' x='232.02' y='104.93' label='Monterrey'  />
            <marker id='08' x='198.13' y='115.31' label='Durango'  />
            <marker id='09' x='121.62' y='89.08' label='Topolobampo' labelPos='right' />
            <marker id='11' x='111.78' y='115.86' label='La Paz' labelPos='right' />
            <marker id='12' x='155.5' y='119.13' label='Mazatlan'  />
            <marker id='13' x='171.35' y='154.11' label='Puerto Vallarta'  />
            <marker id='14' x='182.28' y='172.69' label='Manzanillo'  />
            <marker id='15' x='207.97' y='185.81' label='Lazaro Cardenas'  />
            <marker id='16' x='240.21' y='201.66' label='Acapulco'  />
            <marker id='19' x='304.7' y='186.36' label='Coatzacoalcos' labelPos='right'  />
            <marker id='24' x='291.04' y='196.19' label='Oaxaca'  />
            <marker id='23' x='281.75' y='173.24' label='Veracruz'  />
            <marker id='25' x='266.45' y='147.01' label='Tuxpan' labelPos='left' />
            <marker id='26' x='262.07' y='125.15' label='Tampico' labelPos='left' />
            <marker id='27' x='359.35' y='148.65' label='Progresco'  />
            <marker id='29' x='358.81' y='154.66' label='Merida' labelPos='bottom'  />
            <marker id='28' x='269.73' y='90.17' label='Matamoros' labelPos='right'  />
            <marker id='30' x='398.7' y='146.46' label='Cancun'  />
            <marker id='31' x='294.87' y='209.31' label='Salina Cruz' labelPos='right'  />

        </definition>
        <application>
            <marker id='ME' shapeId='myCustomShape'  />
            <marker id='01' shapeId='newCustomShape'  />
            <marker id='02' shapeId='newCustomShape'  />
            <marker id='03' shapeId='newCustomShape'  />
            <marker id='04' shapeId='newCustomShape'  />
            <marker id='05' shapeId='newCustomShape'  />
            <marker id='06' shapeId='newCustomShape'  />
            <marker id='07' shapeId='newCustomShape'  />
            <marker id='08' shapeId='newCustomShape'  />
            <marker id='09' shapeId='newCustomShape'  />
            <marker id='11' shapeId='newCustomShape'  />
            <marker id='12' shapeId='newCustomShape'  />
            <marker id='13' shapeId='newCustomShape'  />
            <marker id='14' shapeId='newCustomShape'  />
            <marker id='15' shapeId='newCustomShape'  />
            <marker id='16' shapeId='newCustomShape'  />
            <marker id='19' shapeId='newCustomShape'  />
            <marker id='24' shapeId='newCustomShape'  />
            <marker id='23' shapeId='newCustomShape'  />
            <marker id='25' shapeId='newCustomShape'  />
            <marker id='26' shapeId='newCustomShape'  />
            <marker id='27' shapeId='newCustomShape'  />
            <marker id='29' shapeId='newCustomShape'  />
            <marker id='28' shapeId='newCustomShape'  />
            <marker id='30' shapeId='newCustomShape'  />
            <marker id='31' shapeId='newCustomShape'  />

        </application>
    </markers>
</map>