Marker data

Map Name: PuertoRico

JavaScript Alias: maps/puertorico


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

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": "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 JSON format for map marker data, using separate application and definition blocks.