Marker data

Map Name: Hawaii

JavaScript Alias: maps/hawaii


{
    "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": "HO",
                "shapeid": "myCustomShape",
                "x": "354.96",
                "y": "137.13",
                "label": "Honolulu",
                "labelpos": "bottom"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "144.14",
                "y": "20.46",
                "label": "Hanalai",
                "labelpos": "left"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "171.77",
                "y": "34.79",
                "label": "Kapea",
                "labelpos": "right"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "129.81",
                "y": "54.24",
                "label": "Kekaha",
                "labelpos": "bottom"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "166.66",
                "y": "52.19",
                "label": "Lihue",
                "labelpos": "right"
            },
            {
                "id": "05",
                "shapeid": "newCustomShape",
                "x": "61.25",
                "y": "61.4",
                "label": "Puuwai"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "348.82",
                "y": "98.24",
                "label": "Laie"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "330.4",
                "y": "104.38",
                "label": "Haleiwa",
                "labelpos": "right"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "322.21",
                "y": "107.45",
                "label": "Waialua",
                "labelpos": "left"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "347.8",
                "y": "129.97",
                "label": "Pearl City",
                "labelpos": "left"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "366.22",
                "y": "126.9",
                "label": "Kaneohe"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "374.41",
                "y": "129.97",
                "label": "Kailua",
                "labelpos": "right"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "472.65",
                "y": "159.65",
                "label": "Kalaupapa",
                "labelpos": "right"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "436.84",
                "y": "164.76",
                "label": "Maunaloa"
            },
            {
                "id": "14",
                "shapeid": "newCustomShape",
                "x": "468.56",
                "y": "170.9",
                "label": "Kaunakakai",
                "labelpos": "bottom"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape",
                "x": "511.54",
                "y": "197.51",
                "label": "Lahaina",
                "labelpos": "left"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape",
                "x": "530.99",
                "y": "202.63",
                "label": "Wailuku",
                "labelpos": "right"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape",
                "x": "556.57",
                "y": "195.47",
                "label": "Kahului"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape",
                "x": "596.49",
                "y": "219",
                "label": "Hana",
                "labelpos": "right"
            },
            {
                "id": "19",
                "shapeid": "newCustomShape"
            },
            {
                "id": "20",
                "shapeid": "newCustomShape",
                "x": "481.86",
                "y": "209.79",
                "label": "Lanai City",
                "labelpos": "bottom"
            },
            {
                "id": "21",
                "shapeid": "newCustomShape",
                "x": "619",
                "y": "288.59",
                "label": "Hawi"
            },
            {
                "id": "22",
                "shapeid": "newCustomShape",
                "x": "658.91",
                "y": "308.04",
                "label": "Honokaa"
            },
            {
                "id": "23",
                "shapeid": "newCustomShape",
                "x": "632.31",
                "y": "321.34",
                "label": "Waimea"
            },
            {
                "id": "24",
                "shapeid": "newCustomShape",
                "x": "603.65",
                "y": "369.44",
                "label": "Kailua",
                "labelpos": "left"
            },
            {
                "id": "25",
                "shapeid": "newCustomShape",
                "x": "610.81",
                "y": "397.08",
                "label": "Captain Cook",
                "labelpos": "left"
            },
            {
                "id": "26",
                "shapeid": "newCustomShape",
                "x": "667.1",
                "y": "426.75",
                "label": "Pahala"
            },
            {
                "id": "27",
                "shapeid": "newCustomShape",
                "x": "711.11",
                "y": "357.16",
                "label": "Hilo"
            },
            {
                "id": "28",
                "shapeid": "newCustomShape",
                "x": "728.51",
                "y": "388.89",
                "label": "Pahoa"
            }
        ]
    }
}

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": "HO",
                "x": "354.96",
                "y": "137.13",
                "label": "Honolulu",
                "labelpos": "bottom"
            },
            {
                "id": "01",
                "x": "144.14",
                "y": "20.46",
                "label": "Hanalai",
                "labelpos": "left"
            },
            {
                "id": "02",
                "x": "171.77",
                "y": "34.79",
                "label": "Kapea",
                "labelpos": "right"
            },
            {
                "id": "03",
                "x": "129.81",
                "y": "54.24",
                "label": "Kekaha",
                "labelpos": "bottom"
            },
            {
                "id": "04",
                "x": "166.66",
                "y": "52.19",
                "label": "Lihue",
                "labelpos": "right"
            },
            {
                "id": "05",
                "x": "61.25",
                "y": "61.4",
                "label": "Puuwai"
            },
            {
                "id": "06",
                "x": "348.82",
                "y": "98.24",
                "label": "Laie"
            },
            {
                "id": "07",
                "x": "330.4",
                "y": "104.38",
                "label": "Haleiwa",
                "labelpos": "right"
            },
            {
                "id": "08",
                "x": "322.21",
                "y": "107.45",
                "label": "Waialua",
                "labelpos": "left"
            },
            {
                "id": "09",
                "x": "347.8",
                "y": "129.97",
                "label": "Pearl City",
                "labelpos": "left"
            },
            {
                "id": "10",
                "x": "366.22",
                "y": "126.9",
                "label": "Kaneohe"
            },
            {
                "id": "11",
                "x": "374.41",
                "y": "129.97",
                "label": "Kailua",
                "labelpos": "right"
            },
            {
                "id": "12",
                "x": "472.65",
                "y": "159.65",
                "label": "Kalaupapa",
                "labelpos": "right"
            },
            {
                "id": "13",
                "x": "436.84",
                "y": "164.76",
                "label": "Maunaloa"
            },
            {
                "id": "14",
                "x": "468.56",
                "y": "170.9",
                "label": "Kaunakakai",
                "labelpos": "bottom"
            },
            {
                "id": "15",
                "x": "511.54",
                "y": "197.51",
                "label": "Lahaina",
                "labelpos": "left"
            },
            {
                "id": "16",
                "x": "530.99",
                "y": "202.63",
                "label": "Wailuku",
                "labelpos": "right"
            },
            {
                "id": "17",
                "x": "556.57",
                "y": "195.47",
                "label": "Kahului"
            },
            {
                "id": "18",
                "x": "596.49",
                "y": "219",
                "label": "Hana",
                "labelpos": "right"
            },
            {
                "id": "20",
                "x": "481.86",
                "y": "209.79",
                "label": "Lanai City",
                "labelpos": "bottom"
            },
            {
                "id": "21",
                "x": "619",
                "y": "288.59",
                "label": "Hawi"
            },
            {
                "id": "22",
                "x": "658.91",
                "y": "308.04",
                "label": "Honokaa"
            },
            {
                "id": "23",
                "x": "632.31",
                "y": "321.34",
                "label": "Waimea"
            },
            {
                "id": "24",
                "x": "603.65",
                "y": "369.44",
                "label": "Kailua",
                "labelpos": "left"
            },
            {
                "id": "25",
                "x": "610.81",
                "y": "397.08",
                "label": "Captain Cook",
                "labelpos": "left"
            },
            {
                "id": "26",
                "x": "667.1",
                "y": "426.75",
                "label": "Pahala"
            },
            {
                "id": "27",
                "x": "711.11",
                "y": "357.16",
                "label": "Hilo"
            },
            {
                "id": "28",
                "x": "728.51",
                "y": "388.89",
                "label": "Pahoa"
            },
            {
                "id": "29",
                "x": "683.48",
                "y": "372.51",
                "label": "Mountain View",
                "labelpos": "bottom"
            }
        ],
        "application": [
            {
                "id": "HO",
                "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": "14",
                "shapeid": "newCustomShape"
            },
            {
                "id": "15",
                "shapeid": "newCustomShape"
            },
            {
                "id": "16",
                "shapeid": "newCustomShape"
            },
            {
                "id": "17",
                "shapeid": "newCustomShape"
            },
            {
                "id": "18",
                "shapeid": "newCustomShape"
            },
            {
                "id": "19",
                "shapeid": "newCustomShape"
            },
            {
                "id": "20",
                "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": "28",
                "shapeid": "newCustomShape"
            }
        ]
    }
}

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