Marker data

Map Name: Alabama

JavaScript Alias: maps/alabama


            {
                "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": "MT",
                            "shapeid": "myCustomShape",
                            "x": "336.23",
                            "y": "480.55",
                            "label": "Montgomery ",
                            "labelpos": "top"
                        },
                        {
                            "id": "GD",
                            "shapeid": "newCustomShape",
                            "x": "344.33",
                            "y": "134.55",
                            "label": "Gadsden"
                        },
                        {
                            "id": "AN",
                            "shapeid": "newCustomShape",
                            "x": "395.92",
                            "y": "174.01",
                            "label": "Anniston"
                        },
                        {
                            "id": "TG",
                            "shapeid": "newCustomShape",
                            "x": "437.4",
                            "y": "462.34",
                            "label": "Tuskogee"
                        },
                        {
                            "id": "SE",
                            "shapeid": "newCustomShape",
                            "x": "244.17",
                            "y": "473.47",
                            "label": "Selma"
                        },
                        {
                            "id": "DO",
                            "shapeid": "newCustomShape",
                            "x": "475.85",
                            "y": "690.98",
                            "label": "Dothan"
                        },
                        {
                            "id": "MI",
                            "shapeid": "newCustomShape",
                            "x": "52.96",
                            "y": "790.13",
                            "label": "Mobile"
                        },
                        {
                            "id": "TA",
                            "shapeid": "newCustomShape",
                            "x": "331.17",
                            "y": "211.44",
                            "label": "Talladega"
                        },
                        {
                            "id": "BI",
                            "shapeid": "newCustomShape",
                            "x": "233.04",
                            "y": "199.3",
                            "label": "Birmingham"
                        },
                        {
                            "id": "DE",
                            "shapeid": "newCustomShape",
                            "x": "242.18",
                            "y": "83.97",
                            "label": "Decatur"
                        },
                        {
                            "id": "HU",
                            "shapeid": "newCustomShape",
                            "x": "299.89",
                            "y": "45.23",
                            "label": "Huntsville"
                        },
                        {
                            "id": "AU",
                            "shapeid": "newCustomShape",
                            "x": "484.95",
                            "y": "422.88",
                            "label": "Auburn"
                        }
                    ]
                }
            }

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": "MT",
                            "x": "336.23",
                            "y": "480.55",
                            "label": "Montgomery ",
                            "labelpos": "top"
                        },
                        {
                            "id": "GD",
                            "x": "344.33",
                            "y": "134.55",
                            "label": "Gadsden"
                        },
                        {
                            "id": "AN",
                            "x": "395.92",
                            "y": "174.01",
                            "label": "Anniston"
                        },
                        {
                            "id": "SE",
                            "x": "244.17",
                            "y": "473.47",
                            "label": "Selma"
                        },
                        {
                            "id": "DO",
                            "x": "475.85",
                            "y": "690.98",
                            "label": "Dothan"
                        },
                        {
                            "id": "MI",
                            "x": "52.96",
                            "y": "790.13",
                            "label": "Mobile"
                        },
                        {
                            "id": "TA",
                            "x": "331.17",
                            "y": "211.44",
                            "label": "Talladega"
                        },
                        {
                            "id": "BI",
                            "x": "233.04",
                            "y": "199.3",
                            "label": "Birmingham"
                        },
                        {
                            "id": "DE",
                            "x": "242.18",
                            "y": "83.97",
                            "label": "Decatur"
                        },
                        {
                            "id": "HU",
                            "x": "299.89",
                            "y": "45.23",
                            "label": "Huntsville"
                        },
                        {
                            "id": "TG",
                            "x": "437.4",
                            "y": "462.34",
                            "label": "Tuskogee"
                        },
                        {
                            "id": "AU",
                            "x": "484.95",
                            "y": "422.88",
                            "label": "Auburn"
                        }
                    ],
                    "application": [
                        {
                            "id": "MT",
                            "shapeid": "myCustomShape"
                        },
                        {
                            "id": "GD",
                            "shapeid": "newCustomShape"
                        },
                        {
                            "id": "AN",
                            "shapeid": "newCustomShape"
                        },
                        {
                            "id": "TG",
                            "shapeid": "newCustomShape"
                        },
                        {
                            "id": "SE",
                            "shapeid": "newCustomShape"
                        },
                        {
                            "id": "DO",
                            "shapeid": "newCustomShape"
                        },
                        {
                            "id": "MI",
                            "shapeid": "newCustomShape"
                        },
                        {
                            "id": "TA",
                            "shapeid": "newCustomShape"
                        },
                        {
                            "id": "BI",
                            "shapeid": "newCustomShape"
                        },
                        {
                            "id": "DE",
                            "shapeid": "newCustomShape"
                        },
                        {
                            "id": "HU",
                            "shapeid": "newCustomShape"
                        },
                        {
                            "id": "AU",
                            "shapeid": "newCustomShape"
                        }
                    ]
                }
            }

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