California

Map Name: California

Javascript Alias: maps/california

New format for marker data in JSON:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
    "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": "SA",
                "shapeid": "myCustomShape",
                "x": "176.8",
                "y": "254.47",
                "label": "Sacremento",
                "labelpos": "right"
            },
            {
                "id": "01",
                "shapeid": "newCustomShape",
                "x": "146.14",
                "y": "350.53",
                "label": "San Jose",
                "labelpos": "left"
            },
            {
                "id": "02",
                "shapeid": "newCustomShape",
                "x": "118.54",
                "y": "316.81",
                "label": "San Francisco",
                "labelpos": "left"
            },
            {
                "id": "03",
                "shapeid": "newCustomShape",
                "x": "143.07",
                "y": "305.56",
                "label": "Oakland",
                "labelpos": "right"
            },
            {
                "id": "04",
                "shapeid": "newCustomShape",
                "x": "416.96",
                "y": "659.17",
                "label": "San Diego",
                "labelpos": "right"
            },
            {
                "id": "06",
                "shapeid": "newCustomShape",
                "x": "280.02",
                "y": "390.39",
                "label": "Fresno"
            },
            {
                "id": "07",
                "shapeid": "newCustomShape",
                "x": "369.95",
                "y": "594.78",
                "label": "Los Angeles",
                "labelpos": "left"
            },
            {
                "id": "08",
                "shapeid": "newCustomShape",
                "x": "381.19",
                "y": "603.98",
                "label": "Irvine",
                "labelpos": "left"
            },
            {
                "id": "09",
                "shapeid": "newCustomShape",
                "x": "453.75",
                "y": "548.79",
                "label": "San Bernardino"
            },
            {
                "id": "10",
                "shapeid": "newCustomShape",
                "x": "466.01",
                "y": "504.85",
                "label": "Barstow"
            },
            {
                "id": "11",
                "shapeid": "newCustomShape",
                "x": "358.71",
                "y": "478.28",
                "label": "Bakersfield"
            },
            {
                "id": "12",
                "shapeid": "newCustomShape",
                "x": "24.52",
                "y": "89.93",
                "label": "Eureka"
            },
            {
                "id": "13",
                "shapeid": "newCustomShape",
                "x": "131.83",
                "y": "112.41",
                "label": "Redding",
                "labelpos": "right"
            }
        ]
    }
}

Old format for marker data in JSON, using separate application and definition blocks:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
{
    "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": "SA",
                "x": "176.8",
                "y": "254.47",
                "label": "Sacremento",
                "labelpos": "right"
            },
            {
                "id": "01",
                "x": "146.14",
                "y": "350.53",
                "label": "San Jose",
                "labelpos": "left"
            },
            {
                "id": "02",
                "x": "118.54",
                "y": "316.81",
                "label": "San Francisco",
                "labelpos": "left"
            },
            {
                "id": "03",
                "x": "143.07",
                "y": "305.56",
                "label": "Oakland",
                "labelpos": "right"
            },
            {
                "id": "04",
                "x": "416.96",
                "y": "659.17",
                "label": "San Diego",
                "labelpos": "right"
            },
            {
                "id": "06",
                "x": "280.02",
                "y": "390.39",
                "label": "Fresno"
            },
            {
                "id": "07",
                "x": "369.95",
                "y": "594.78",
                "label": "Los Angeles",
                "labelpos": "left"
            },
            {
                "id": "08",
                "x": "381.19",
                "y": "603.98",
                "label": "Irvine",
                "labelpos": "left"
            },
            {
                "id": "09",
                "x": "453.75",
                "y": "548.79",
                "label": "San Bernardino"
            },
            {
                "id": "10",
                "x": "466.01",
                "y": "504.85",
                "label": "Barstow"
            },
            {
                "id": "11",
                "x": "358.71",
                "y": "478.28",
                "label": "Bakersfield"
            },
            {
                "id": "12",
                "x": "24.52",
                "y": "89.93",
                "label": "Eureka"
            },
            {
                "id": "13",
                "x": "131.83",
                "y": "112.41",
                "label": "Redding",
                "labelpos": "right"
            }
        ],
        "application": [
            {
                "id": "SA",
                "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 format for marker data in XML, using separate and blocks:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<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='SA' x='176.8' y='254.47' label='Sacremento' labelPos='right'  />
            <marker id='01' x='146.14' y='350.53' label='San Jose' labelPos='left' />
            <marker id='02' x='118.54' y='316.81' label='San Francisco' labelPos='left' />
            <marker id='03' x='143.07' y='305.56' label='Oakland' labelPos='right' />
            <marker id='04' x='416.96' y='659.17' label='San Diego' labelPos='right'  />
            <marker id='06' x='280.02' y='390.39' label='Fresno'  />
            <marker id='07' x='369.95' y='594.78' label='Los Angeles' labelPos='left'  />
            <marker id='08' x='381.19' y='603.98' label='Irvine' labelPos='left'  />
            <marker id='09' x='453.75' y='548.79' label='San Bernardino'  />
            <marker id='10' x='466.01' y='504.85' label='Barstow'  />
            <marker id='11' x='358.71' y='478.28' label='Bakersfield'  />
            <marker id='12' x='24.52' y='89.93' label='Eureka'  />
            <marker id='13' x='131.83' y='112.41' label='Redding' labelPos='right'  />


        </definition>
        <application>
            <marker id='SA' shapeId='myCustomShape'  />
            <marker id='01' shapeId='newCustomShape'  />
            <marker id='02' shapeId='newCustomShape'  />
            <marker id='03' shapeId='newCustomShape'  />
            <marker id='04' 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'  />

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