PuertoRico

Map Name: PuertoRico

Javascript Alias: maps/puertorico

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": "SJ",
                "shapeid": "myCustomShape",
                "x": "452.66",
                "y": "32.96",
                "label": "San Juan",
                "labelpos": "right"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "71.45",
                "y": "15.45",
                "label": "Isabela",
                "labelpos": "left"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "45.69",
                "y": "51.51",
                "label": "Aguadilla"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "83.81",
                "y": "83.45",
                "label": "San Sebastian"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "46.72",
                "y": "142.18",
                "label": "Mayaguez"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "96.17",
                "y": "178.24",
                "label": "San German"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "159.02",
                "y": "205.03",
                "label": "Yauco"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "250.72",
                "y": "229.75",
                "label": "Playa de Ponce",
                "labelpos": "left"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "261.02",
                "y": "214.3",
                "label": "Ponce"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "259.99",
                "y": "25.75",
                "label": "Arecibo",
                "labelpos": "bottom"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "282.66",
                "y": "95.81",
                "label": "Utuado",
                "labelpos": "left"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "275.45",
                "y": "132.9",
                "label": "Adjuntas",
                "labelpos": "left"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "306.36",
                "y": "43.27",
                "label": "Manati",
                "labelpos": "bottom"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "347.57",
                "y": "27.81",
                "label": "Dorado"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape",
                "x": "368.17",
                "y": "197.81",
                "label": "Coamo"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape",
                "x": "408.36",
                "y": "168.96",
                "label": "Aibonito"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape",
                "x": "444.42",
                "y": "176.18",
                "label": "Cayey"
            },
            {
                "id": "19",
                "shapeid": "newCustomShape",
                "x": "450.6",
                "y": "235.93",
                "label": "Guayama"
            },
            {
                "id": "21",
                "shapeid": "newCustomShape",
                "x": "425.87",
                "y": "73.15",
                "label": "Bayamon"
            },
            {
                "id": "22",
                "shapeid": "newCustomShape",
                "x": "510.36",
                "y": "69.03",
                "label": "Carolina"
            },
            {
                "id": "23",
                "shapeid": "newCustomShape",
                "x": "632.96",
                "y": "90.66",
                "label": "Fajardo"
            },
            {
                "id": "24",
                "shapeid": "newCustomShape",
                "x": "629.87",
                "y": "117.45",
                "label": "Ceiba"
            },
            {
                "id": "25",
                "shapeid": "newCustomShape",
                "x": "533.02",
                "y": "129.81",
                "label": "Juncos"
            },
            {
                "id": "26",
                "shapeid": "newCustomShape",
                "x": "563.93",
                "y": "166.9",
                "label": "Humacao",
                "labelpos": "left"
            },
            {
                "id": "27",
                "shapeid": "newCustomShape",
                "x": "541.26",
                "y": "206.06",
                "label": "Yabucoa"
            },
            {
                "id": "29",
                "shapeid": "newCustomShape",
                "x": "339.33",
                "y": "239.03",
                "label": "Santa Isabel",
                "labelpos": "top"
            },
            {
                "id": "28",
                "shapeid": "newCustomShape",
                "x": "475.33",
                "y": "127.75",
                "label": "Caguas"
            }
        ]
    }
}

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": "SJ",
                "x": "452.66",
                "y": "32.96",
                "label": "San Juan",
                "labelpos": "right"
            },
            {
                "id": "01",
                "x": "71.45",
                "y": "15.45",
                "label": "Isabela",
                "labelpos": "left"
            },
            {
                "id": "02",
                "x": "45.69",
                "y": "51.51",
                "label": "Aguadilla"
            },
            {
                "id": "03",
                "x": "83.81",
                "y": "83.45",
                "label": "San Sebastian"
            },
            {
                "id": "04",
                "x": "46.72",
                "y": "142.18",
                "label": "Mayaguez"
            },
            {
                "id": "05",
                "x": "96.17",
                "y": "178.24",
                "label": "San German"
            },
            {
                "id": "06",
                "x": "159.02",
                "y": "205.03",
                "label": "Yauco"
            },
            {
                "id": "07",
                "x": "250.72",
                "y": "229.75",
                "label": "Playa de Ponce",
                "labelpos": "left"
            },
            {
                "id": "08",
                "x": "261.02",
                "y": "214.3",
                "label": "Ponce"
            },
            {
                "id": "09",
                "x": "259.99",
                "y": "25.75",
                "label": "Arecibo",
                "labelpos": "bottom"
            },
            {
                "id": "10",
                "x": "282.66",
                "y": "95.81",
                "label": "Utuado",
                "labelpos": "left"
            },
            {
                "id": "11",
                "x": "275.45",
                "y": "132.9",
                "label": "Adjuntas",
                "labelpos": "left"
            },
            {
                "id": "12",
                "x": "306.36",
                "y": "43.27",
                "label": "Manati",
                "labelpos": "bottom"
            },
            {
                "id": "13",
                "x": "347.57",
                "y": "27.81",
                "label": "Dorado"
            },
            {
                "id": "15",
                "x": "368.17",
                "y": "197.81",
                "label": "Coamo"
            },
            {
                "id": "16",
                "x": "408.36",
                "y": "168.96",
                "label": "Aibonito"
            },
            {
                "id": "17",
                "x": "444.42",
                "y": "176.18",
                "label": "Cayey"
            },
            {
                "id": "19",
                "x": "450.6",
                "y": "235.93",
                "label": "Guayama"
            },
            {
                "id": "21",
                "x": "425.87",
                "y": "73.15",
                "label": "Bayamon"
            },
            {
                "id": "22",
                "x": "510.36",
                "y": "69.03",
                "label": "Carolina"
            },
            {
                "id": "23",
                "x": "632.96",
                "y": "90.66",
                "label": "Fajardo"
            },
            {
                "id": "24",
                "x": "629.87",
                "y": "117.45",
                "label": "Ceiba"
            },
            {
                "id": "25",
                "x": "533.02",
                "y": "129.81",
                "label": "Juncos"
            },
            {
                "id": "26",
                "x": "563.93",
                "y": "166.9",
                "label": "Humacao",
                "labelpos": "left"
            },
            {
                "id": "27",
                "x": "541.26",
                "y": "206.06",
                "label": "Yabucoa"
            },
            {
                "id": "29",
                "x": "339.33",
                "y": "239.03",
                "label": "Santa Isabel",
                "labelpos": "top"
            },
            {
                "id": "28",
                "x": "475.33",
                "y": "127.75",
                "label": "Caguas"
            }
        ],
        "application": [
            {
                "id": "SJ",
                "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": "10",
                "shapeid": "newCustomShape"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape"
            },
            {
                "id": "19",
                "shapeid": "newCustomShape"
            },
            {
                "id": "21",
                "shapeid": "newCustomShape"
            },
            {
                "id": "22",
                "shapeid": "newCustomShape"
            },
            {
                "id": "23",
                "shapeid": "newCustomShape"
            },
            {
                "id": "24",
                "shapeid": "newCustomShape"
            },
            {
                "id": "25",
                "shapeid": "newCustomShape"
            },
            {
                "id": "26",
                "shapeid": "newCustomShape"
            },
            {
                "id": "27",
                "shapeid": "newCustomShape"
            },
            {
                "id": "29",
                "shapeid": "newCustomShape"
            },
            {
                "id": "28",
                "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='SJ' x='452.66' y='32.96' label='San Juan' labelPos='right'  />
            <marker id='01' x='71.45' y='15.45' label='Isabela' labelPos='left'  />
            <marker id='02' x='45.69' y='51.51' label='Aguadilla'  />
            <marker id='03' x='83.81' y='83.45' label='San Sebastian'  />
            <marker id='04' x='46.72' y='142.18' label='Mayaguez'  />
            <marker id='05' x='96.17' y='178.24' label='San German'  />
            <marker id='06' x='159.02' y='205.03' label='Yauco'  />
            <marker id='07' x='250.72' y='229.75' label='Playa de Ponce' labelPos='left'  />
            <marker id='08' x='261.02' y='214.3' label='Ponce'  />
            <marker id='09' x='259.99' y='25.75' label='Arecibo' labelPos='bottom'  />
            <marker id='10' x='282.66' y='95.81' label='Utuado' labelPos='left'  />
            <marker id='11' x='275.45' y='132.9' label='Adjuntas' labelPos='left'  />
            <marker id='12' x='306.36' y='43.27' label='Manati' labelPos='bottom'  />
            <marker id='13' x='347.57' y='27.81' label='Dorado'  />
            <marker id='15' x='368.17' y='197.81' label='Coamo'  />
            <marker id='16' x='408.36' y='168.96' label='Aibonito'  />
            <marker id='17' x='444.42' y='176.18' label='Cayey'  />
            <marker id='19' x='450.6' y='235.93' label='Guayama'  />
            <marker id='21' x='425.87' y='73.15' label='Bayamon'  />
            <marker id='22' x='510.36' y='69.03' label='Carolina'  />
            <marker id='23' x='632.96' y='90.66' label='Fajardo'  />
            <marker id='24' x='629.87' y='117.45' label='Ceiba'  />
            <marker id='25' x='533.02' y='129.81' label='Juncos'  />
            <marker id='26' x='563.93' y='166.9' label='Humacao' labelPos='left'  />
            <marker id='27' x='541.26' y='206.06' label='Yabucoa'  />
            <marker id='29' x='339.33' y='239.03' label='Santa Isabel' labelPos='top'  />
            <marker id='28' x='475.33' y='127.75' label='Caguas'  />

        </definition>
        <application>
            <marker id='SJ' 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='10' shapeId='newCustomShape'  />
            <marker id='11' shapeId='newCustomShape'  />
            <marker id='12' shapeId='newCustomShape'  />
            <marker id='13' shapeId='newCustomShape'  />
            <marker id='15' shapeId='newCustomShape'  />
            <marker id='16' shapeId='newCustomShape'  />
            <marker id='17' shapeId='newCustomShape'  />
            <marker id='19' shapeId='newCustomShape'  />
            <marker id='21' shapeId='newCustomShape'  />
            <marker id='22' shapeId='newCustomShape'  />
            <marker id='23' shapeId='newCustomShape'  />
            <marker id='24' 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'  />

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