Marker data

Map Name: DominicanRepublic

JavaScript Alias: maps/dominicanrepublic


{
    "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": "SD",
                "shapeid": "myCustomShape",
                "x": "233.87",
                "y": "166.68",
                "label": "Santo Domingo",
                "labelpos": "top"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "40",
                "y": "11.79",
                "label": "Monte Cristi",
                "labelpos": "right"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "150.78",
                "y": "25.13",
                "label": "Puerto Plata",
                "labelpos": "right"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "177.45",
                "y": "75.39",
                "label": "San Francisco de Macoris",
                "labelpos": "right"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "139.5",
                "y": "100.01",
                "label": "La Vega"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "106.68",
                "y": "69.23",
                "label": "Santiago"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "38.97",
                "y": "117.45",
                "label": "Ellas Pina"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "102.57",
                "y": "205.66",
                "label": "Barahona"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "31.79",
                "y": "216.95",
                "label": "Pedernales"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "224.64",
                "y": "168.73",
                "label": "Haina",
                "labelpos": "left"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "298.49",
                "y": "167.71",
                "label": "San Pedro de Macoris",
                "labelpos": "bottom"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "326.19",
                "y": "171.81",
                "label": "La Romana",
                "labelpos": "right"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "346.71",
                "y": "141.04",
                "label": "Higuey"
            }
        ]
    }
}

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": "SD",
                "x": "233.87",
                "y": "166.68",
                "label": "Santo Domingo",
                "labelpos": "top"
            },
            {
                "id": "01",
                "x": "40",
                "y": "11.79",
                "label": "Monte Cristi",
                "labelpos": "right"
            },
            {
                "id": "02",
                "x": "150.78",
                "y": "25.13",
                "label": "Puerto Plata",
                "labelpos": "right"
            },
            {
                "id": "03",
                "x": "177.45",
                "y": "75.39",
                "label": "San Francisco de Macoris",
                "labelpos": "right"
            },
            {
                "id": "04",
                "x": "139.5",
                "y": "100.01",
                "label": "La Vega"
            },
            {
                "id": "06",
                "x": "106.68",
                "y": "69.23",
                "label": "Santiago"
            },
            {
                "id": "07",
                "x": "38.97",
                "y": "117.45",
                "label": "Ellas Pina"
            },
            {
                "id": "08",
                "x": "102.57",
                "y": "205.66",
                "label": "Barahona"
            },
            {
                "id": "09",
                "x": "31.79",
                "y": "216.95",
                "label": "Pedernales"
            },
            {
                "id": "10",
                "x": "224.64",
                "y": "168.73",
                "label": "Haina",
                "labelpos": "left"
            },
            {
                "id": "11",
                "x": "298.49",
                "y": "167.71",
                "label": "San Pedro de Macoris",
                "labelpos": "bottom"
            },
            {
                "id": "12",
                "x": "326.19",
                "y": "171.81",
                "label": "La Romana",
                "labelpos": "right"
            },
            {
                "id": "13",
                "x": "346.71",
                "y": "141.04",
                "label": "Higuey"
            }
        ],
        "application": [
            {
                "id": "SD",
                "shapeid": "myCustomShape"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape"
            },
            {
                "id": "04",
                "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"
            }
        ]
    }
}

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