-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
156 lines (132 loc) · 27.4 KB
/
index.html
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
<!DOCTYPE html>
<head>
<meta charset = "UTF-8" />
<title>First Vision Publication</title>
<!--Custom CSS for the webpage-->
<link rel="stylesheet" href="style.css">
<!-- Leaflet CSS file-->
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.7.1/dist/leaflet.css"
integrity="sha512-xodZBNTC5n17Xt2atTPuE1HxjVMSvLVW9ocqUKLsCC5CXdbqCmblAshOMAS6/keqq/sMZMZ19scR4PsZChSR7A=="
crossorigin=""/>
<!-- Leaflet JavaScript file-->
<script src="https://unpkg.com/leaflet@1.7.1/dist/leaflet.js"
integrity="sha512-XQoYMqMTK8LvdxXYG3nZ448hOEQiglfqkJs1NOQV44cWnUrBc8PkAOcXy20w0vlaXaVUearIOBhiXZ5V3ynxwA=="
crossorigin=""></script>
<!-- script for leaflet timeslider -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.4.0/dist/leaflet.css"
integrity="sha512-puBpdR0798OZvTTbP4A8Ix/l+A4dHDD0DGqYW6RQ+9jxkRFclaxxQb/SJAWZfWAkuyeQUytO7+7N4QKrDh+drA=="
crossorigin=""/>
<script src="https://unpkg.com/leaflet@1.4.0/dist/leaflet.js"
integrity="sha512-QVftwZFqvtRNi0ZyCtsznlKSWOStnDORoefr1enyq5mVL4tmKB3S/EnC3rRJcxCPavG10IcrVGSmPh6Qw5lwrg=="
crossorigin=""></script>
<script src="plugins/leaflet-timeline-slider/src/leaflet-timeline-slider.js"></script>
<!-- scripts and stylesheets for markercluster -->
<link rel="stylesheet" href="plugins/leaflet-markercluster-1.4.1/dist/MarkerCluster.css"/>
<link rel="stylesheet" href="plugins/leaflet-markercluster-1.4.1/dist/MarkerCluster.Default.css"/>
<script src="plugins/leaflet-markercluster-1.4.1/dist/leaflet.markercluster-src.js"></script>
</head>
<body>
<div id="site-title"> Joseph Smith's First Vision in Print, 1830-1880</div>
<div id="mapid"></div>
<!-- <div id="explantorytext"> This is explanatory text about the visualization and what it is showing you. Still working on calling the .geoJSON file. Instead, the dataset is hardcoded into the .html file.</div> -->
<script type="text/javascript">
testdata = {
"type": "FeatureCollection",
"name": "FirstVisionPrint",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "unique_id": 1, "title": "An Interesting Account of Several Remarkable Visions", "Author-editor": "Orson Pratt", "Original-author": "Orson Pratt", "missionary/translator": "Orson Pratt", "publisher": "Ballantyne and Hughes", "year": 1840, "printing": "1st printing", "city": "Edinburgh", "state": null, "country": "Scotland", "lat": 55.9533456, "lon": -3.1883749, "language": "English", "Notes": null, "source": "Crawley Descriptive Bibliography Vol 1., 82" }, "geometry": { "type": "Point", "coordinates": [ -3.1883749, 55.9533456 ] } },
{ "type": "Feature", "properties": { "unique_id": 2, "title": "Letter (Incomplete Accounting)", "Author-editor": "Oliver Cowdery", "Original-author": null, "missionary/translator": null, "publisher": "Times and Seasons", "year": 1840, "printing": "N/A", "city": "Nauvoo", "state": "Illinois", "country": "United States", "lat": 40.550042, "lon": -91.3848749, "language": "English", "Notes": "Copy of the incomplete of the 1832 account from Oliver Cowdery ", "source": null }, "geometry": { "type": "Point", "coordinates": [ -91.3848749, 40.550042 ] } },
{ "type": "Feature", "properties": { "unique_id": 3, "title": "An Interesting Account of Several Remarkable Visions", "Author-editor": "Orson Pratt", "Original-author": "Orson Pratt", "missionary/translator": null, "publisher": "Joseph W. Harrison", "year": 1841, "printing": "1st American Printing", "city": "New York City", "state": "New York", "country": "United States", "lat": 40.7127281, "lon": -74.0060152, "language": "English", "Notes": null, "source": "Crawley Descriptive Bibliography Vol 1., 109" }, "geometry": { "type": "Point", "coordinates": [ -74.0060152, 40.7127281 ] } },
{ "type": "Feature", "properties": { "unique_id": 4, "title": "An Interesting Account of Several Remarkable Visions", "Author-editor": "Orson Pratt", "Original-author": "Orson Pratt", "missionary/translator": null, "publisher": "Joseph W. Harrison", "year": 1841, "printing": "2nd American Printing", "city": "New York City", "state": "New York", "country": "United States", "lat": 40.7127281, "lon": -74.0060152, "language": "English", "Notes": null, "source": "Crawley Descriptive Bibliography Vol 1., 110" }, "geometry": { "type": "Point", "coordinates": [ -74.0060152, 40.7127281 ] } },
{ "type": "Feature", "properties": { "unique_id": 5, "title": "A Cry out of the Wilderness", "Author-editor": "Orson Hyde", "Original-author": "Orson Pratt", "missionary/translator": "Orson Hyde", "publisher": "Self-published", "year": 1842, "printing": "1st Printing", "city": "Frankfurt", "state": null, "country": "Germany", "lat": 50.1106444, "lon": 8.6820917, "language": "German", "Notes": "Relied heavily on Orson Pratt�s An Interesting Account�; notes on August 10th, 1842 that Ein Rufaus is in the press", "source": "Crawley Descriptive Bibliography Vol. 1, 160" }, "geometry": { "type": "Point", "coordinates": [ 8.6820917, 50.1106444 ] } },
{ "type": "Feature", "properties": { "unique_id": 6, "title": "Church History (Wentworth Letter)", "Author-editor": "Joseph Smith", "Original-author": "Joseph Smith (1842)", "missionary/translator": null, "publisher": "Times and Seasons", "year": 1842, "printing": "N/A", "city": "Nauvoo", "state": "Illinois", "country": "United States", "lat": 40.550042, "lon": -91.3848749, "language": null, "Notes": null, "source": null }, "geometry": { "type": "Point", "coordinates": [ -91.3848749, 40.550042 ] } },
{ "type": "Feature", "properties": { "unique_id": 7, "title": "An Interesting Account of Several Remarkable Visions", "Author-editor": "Orson Pratt", "Original-author": "Orson Pratt", "missionary/translator": null, "publisher": "Joseph W. Harrison", "year": 1842, "printing": "3rd American Printing", "city": "New York City", "state": "New York", "country": "United States", "lat": 40.7127281, "lon": -74.0060152, "language": "English", "Notes": null, "source": "Crawley Descriptive Bibliography Vol 1., 147" }, "geometry": { "type": "Point", "coordinates": [ -74.0060152, 40.7127281 ] } },
{ "type": "Feature", "properties": { "unique_id": 8, "title": "History of the Church", "Author-editor": "Joseph Smith", "Original-author": "Joseph Smith (1838)", "missionary/translator": null, "publisher": "Times and Seasons", "year": 1842, "printing": "1st Printing", "city": "Nauvoo", "state": "Illinois", "country": "United States", "lat": 40.550042, "lon": -91.3848749, "language": "English", "Notes": "Published in two parts", "source": null }, "geometry": { "type": "Point", "coordinates": [ -91.3848749, 40.550042 ] } },
{ "type": "Feature", "properties": { "unique_id": 9, "title": "History of the Church", "Author-editor": "Joseph Smith", "Original-author": "Joseph Smith (1838)", "missionary/translator": null, "publisher": "Millennial Star", "year": 1842, "printing": "1st UK Printing", "city": "Liverpool", "state": null, "country": "England", "lat": 53.407154, "lon": -2.991665, "language": "English", "Notes": "Reprinting of the History of the Church from the Times and Seasons a few months before.", "source": null }, "geometry": { "type": "Point", "coordinates": [ -2.991665, 53.407154 ] } },
{ "type": "Feature", "properties": { "unique_id": 10, "title": "Correspondence between Joseph Smith, the prophet�", "Author-editor": "Joseph Smith", "Original-author": "Joseph Smith (1842)", "missionary/translator": "John E. Page & L. R. Forster", "publisher": "Joseph W. Harrison", "year": 1844, "printing": "1st Printing", "city": "New York City", "state": "New York", "country": "United States", "lat": 40.7127281, "lon": -74.0060152, "language": "English", "Notes": "Reprinting of the Wentworth letter account of the First Vision. Published by John E. Page and L. R. Foster.", "source": "Crawley Descriptive Bibliography Vol 1., 199" }, "geometry": { "type": "Point", "coordinates": [ -74.0060152, 40.7127281 ] } },
{ "type": "Feature", "properties": { "unique_id": 11, "title": "Prophet of the Jubilee", "Author-editor": "Dan Jones", "Original-author": "Orson Pratt", "missionary/translator": null, "publisher": "Merthyr Tydfil", "year": 1846, "printing": "1st Welsh Printing", "city": "Rhydybont", "state": null, "country": "Wales", "lat": 52.075077, "lon": -4.124432, "language": "Welsh", "Notes": "Reprinting of the First Vision account from Orson Pratt�s Remarkable Visions", "source": "�1846,� Ronald D. Dennis, ed., Prophet of the Jubilee (Provo, UT: Religious Studies Center, Brigham Young University, 1997), 1�28." }, "geometry": { "type": "Point", "coordinates": [ -4.124432, 52.075077 ] } },
{ "type": "Feature", "properties": { "unique_id": 12, "title": "Remarkable Visions", "Author-editor": "Orson Pratt", "Original-author": "Orson Pratt", "missionary/translator": null, "publisher": "R. James", "year": 1848, "printing": "1st Printing", "city": "Liverpool", "state": null, "country": "England", "lat": 53.407154, "lon": -2.991665, "language": "English", "Notes": "New edition of his Interesting account of Several Remarkable Visions that was republished under this shortened title.", "source": "Crawley Descriptive Bibliography Vol 2., 393" }, "geometry": { "type": "Point", "coordinates": [ -2.991665, 53.407154 ] } },
{ "type": "Feature", "properties": { "unique_id": 13, "title": "Are the Father and Son Two Distinct Personages?", "Author-editor": "Orson Pratt", "Original-author": "Joseph Smith (1838)", "missionary/translator": null, "publisher": "Millennial Star", "year": 1849, "printing": "N/A", "city": "Liverpool", "state": null, "country": "England", "lat": 53.407154, "lon": -2.991665, "language": "English", "Notes": "A brief recap of the Church History account of the First Vision.", "source": "Millennial Star, vol. 11, no. 20, page 310" }, "geometry": { "type": "Point", "coordinates": [ -2.991665, 53.407154 ] } },
{ "type": "Feature", "properties": { "unique_id": 14, "title": "Remarkable Visions", "Author-editor": "Orson Pratt", "Original-author": "Orson Pratt", "missionary/translator": null, "publisher": "R. James", "year": 1850, "printing": "2nd Printing", "city": "Liverpool", "state": null, "country": "England", "lat": 53.407154, "lon": -2.991665, "language": "English", "Notes": "Updated some �punctuation, spelling corrections, two misprints� and some factual corrections of the county where the Church was organized.", "source": "Crawley Descriptive Bibliography Vol 2., 394" }, "geometry": { "type": "Point", "coordinates": [ -2.991665, 53.407154 ] } },
{ "type": "Feature", "properties": { "unique_id": 15, "title": "Latter, From Elder John Taylor", "Author-editor": "John Taylor", "Original-author": null, "missionary/translator": "Orson Pratt", "publisher": "Millennial Star", "year": 1850, "printing": "N/A", "city": "Liverpool", "state": null, "country": "England", "lat": 53.407154, "lon": -2.991665, "language": "English", "Notes": "A Letter to the Editor of the Interperter Anglais et Francais introducing the Church to the publications readers. ", "source": "Millennial Star, vol. 12, no. 15, page 235" }, "geometry": { "type": "Point", "coordinates": [ -2.991665, 53.407154 ] } },
{ "type": "Feature", "properties": { "unique_id": 16, "title": "To Friends of Religious Truth (Aux amis de la v�rit� religieuse)", "Author-editor": "John Taylor", "Original-author": "Orson Pratt", "missionary/translator": null, "publisher": "Imprimerie de Marc Ducloux et Compagnie", "year": 1850, "printing": "1st French printing", "city": "Paris", "state": null, "country": "France", "lat": 48.8566969, "lon": 2.3514616, "language": "French", "Notes": "Patterned after Pratt�s Remarkable Visions with some parts being direct translations.", "source": "Crawley Descriptive Bibliography Vol 2., 517" }, "geometry": { "type": "Point", "coordinates": [ 2.3514616, 48.8566969 ] } },
{ "type": "Feature", "properties": { "unique_id": 17, "title": "An Interesting Account of Several Remarkable Visions", "Author-editor": "Orson Pratt", "Original-author": "Orson Pratt", "missionary/translator": "John Murdock & Charles Wandell", "publisher": "Albert Mason", "year": 1851, "printing": "1st Australian Printing", "city": "Sydney", "state": null, "country": "Australia", "lat": -33.8751002, "lon": 151.2086714, "language": "English", "Notes": "Based on the 3rd American edition; �the entire edition of Remarkable Visions was distributed in Australia�", "source": "Crawley Descriptive Bibliography Vol 2., 631" }, "geometry": { "type": "Point", "coordinates": [ 151.208671399999986, -33.8751002 ] } },
{ "type": "Feature", "properties": { "unique_id": 18, "title": "The Pearl of Great Price", "Author-editor": "Franklin D. Richards", "Original-author": "Joseph Smith (1838)", "missionary/translator": "Franklin D. Richards", "publisher": "Self-published", "year": 1851, "printing": "1st Printing", "city": "Liverpool", "state": null, "country": "England", "lat": 53.407154, "lon": -2.991665, "language": null, "Notes": null, "source": "Crawley Descriptive Bibliography Vol 2., 599" }, "geometry": { "type": "Point", "coordinates": [ -2.991665, 53.407154 ] } },
{ "type": "Feature", "properties": { "unique_id": 19, "title": "Remarkable Visions (M�rkv�rdige syner)", "Author-editor": "Orson Pratt", "Original-author": "Orson Pratt", "missionary/translator": "Erastus Snow", "publisher": "F. E. Bording", "year": 1851, "printing": "1st Danish edition", "city": "Copenhagen", "state": null, "country": "Denmark", "lat": 55.67837, "lon": 12.57221, "language": "Danish", "Notes": null, "source": "Crawley Descriptive Bibliography Vol 2., 602" }, "geometry": { "type": "Point", "coordinates": [ 12.57221, 55.67837 ] } },
{ "type": "Feature", "properties": { "unique_id": 20, "title": "The Voice of Joseph (La voix de Joseph �crite et recueillie)", "Author-editor": "Lorenzo Snow", "Original-author": "Orson Pratt", "missionary/translator": "Lorenzo Snow", "publisher": "Imprimerie Ferrero et Franco", "year": 1851, "printing": "1st French edition", "city": "Turin", "state": null, "country": "France", "lat": 45.079167, "lon": 7.676111, "language": "French", "Notes": "�The first two-fifths of this pamphlet comprised a translation of the first 11.5 pages of Pratt�s Remarkable Visions. Additionally, Turin was annexed into France in 1802 and in 1861 became part of the Kingdom of Italy.", "source": "Crawley Descriptive Bibliography Vol 2., 558" }, "geometry": { "type": "Point", "coordinates": [ 7.676111, 45.079167 ] } },
{ "type": "Feature", "properties": { "unique_id": 21, "title": "A Series of Pamphlets", "Author-editor": "Orson Pratt", "Original-author": "Orson Pratt", "missionary/translator": null, "publisher": "R. James", "year": 1851, "printing": "1st printing", "city": "Liverpool", "state": null, "country": "England", "lat": 53.407154, "lon": -2.991665, "language": "English", "Notes": "A combination of all pamphlets authored by Pratt, including Remarkable Visions. ", "source": "Crawley Descriptive Bibliography Vol 2., 551" }, "geometry": { "type": "Point", "coordinates": [ -2.991665, 53.407154 ] } },
{ "type": "Feature", "properties": { "unique_id": 22, "title": "A Series of Pamphlets", "Author-editor": "Orson Pratt", "Original-author": "Orson Pratt", "missionary/translator": null, "publisher": "R. James", "year": 1851, "printing": "2nd printing", "city": "Liverpool", "state": null, "country": "England", "lat": 53.407154, "lon": -2.991665, "language": "English", "Notes": "A combination of all pamphlets authored by Pratt, including Remarkable Visions. ", "source": "Crawley Descriptive Bibliography Vol 2., 552" }, "geometry": { "type": "Point", "coordinates": [ -2.991665, 53.407154 ] } },
{ "type": "Feature", "properties": { "unique_id": 23, "title": "A Series of Pamphlets", "Author-editor": "Orson Pratt", "Original-author": "Orson Pratt", "missionary/translator": null, "publisher": "R. James", "year": 1852, "printing": "3rd printing", "city": "Liverpool", "state": null, "country": "England", "lat": 53.407154, "lon": -2.991665, "language": "English", "Notes": "A combination of all pamphlets authored by Pratt, including Remarkable Visions. ", "source": "Crawley Descriptive Bibliography Vol 2., 553" }, "geometry": { "type": "Point", "coordinates": [ -2.991665, 53.407154 ] } },
{ "type": "Feature", "properties": { "unique_id": 24, "title": "The Voice of Joseph (abbreviated)", "Author-editor": "Lorenzo Snow", "Original-author": "Orson Pratt", "missionary/translator": null, "publisher": "unknown", "year": 1852, "printing": "N/A", "city": null, "state": null, "country": "Malta", "lat": 35.8885993, "lon": 14.4476911, "language": "English", "Notes": "An abbreviated version of The Voice of Joseph taken from the Italian edition was published in Malta in English. The First Vision account is also shorted and summarized in parts.", "source": "Sabin Americana, collection number 85535; Internet Archive M272 S674v 1852" }, "geometry": { "type": "Point", "coordinates": [ 14.4476911, 35.8885993 ] } },
{ "type": "Feature", "properties": { "unique_id": 25, "title": "The Voice of Joseph (abbreviated)", "Author-editor": "Lorenzo Snow", "Original-author": "Orson Pratt", "missionary/translator": null, "publisher": "S. W. Richards", "year": 1852, "printing": "N/A", "city": "Liverpool", "state": null, "country": "England", "lat": 53.407154, "lon": -2.991665, "language": "English", "Notes": "Publishing of the abbreviated Italian edition of The Voice of Joseph", "source": "Internet Archive M272 S674v 1852" }, "geometry": { "type": "Point", "coordinates": [ -2.991665, 53.407154 ] } },
{ "type": "Feature", "properties": { "unique_id": 26, "title": "Joseph Smiths Levnedsl�b", "Author-editor": "Erastus Snow", "Original-author": "Joseph Smith (1838)", "missionary/translator": null, "publisher": "Skandinaviens Stjerne", "year": 1852, "printing": null, "city": "Copenhagen", "state": null, "country": "Denmark", "lat": 55.67837, "lon": 12.57221, "language": "Danish", "Notes": "Reprint of the 1838 Times and Seasons account. ", "source": "Hemming, Val G. \"A Voice from the Land of Zion: Elder Erastus Snow in Denmark, 1850 to 1852.\" Dialogue: A Journal of Mormon Thought 35, no. 1 (2002): 131-43. footnote 44." }, "geometry": { "type": "Point", "coordinates": [ 12.57221, 55.67837 ] } },
{ "type": "Feature", "properties": { "unique_id": 27, "title": "Biographical Sketches of Joseph Smith the Prophet, and his progenitors for many generations", "Author-editor": "Lucy Mack Smith", "Original-author": "Lucy Mack Smith", "missionary/translator": null, "publisher": "S. W. Richards", "year": 1853, "printing": "N/A", "city": "Liverpool", "state": null, "country": "England", "lat": 53.407154, "lon": -2.991665, "language": "English", "Notes": "Orson Pratt publishes this manuscript but many of them are destroyed at the direction of Brigham Young. The First Vision account is taken from the Times and Seasons accounting", "source": "Crawley Descriptive Bibliography Vol 3., 829" }, "geometry": { "type": "Point", "coordinates": [ -2.991665, 53.407154 ] } },
{ "type": "Feature", "properties": { "unique_id": 28, "title": "The Voice of Joseph [Excerpt] ", "Author-editor": "Lorenzo Snow", "Original-author": "Orson Pratt", "missionary/translator": "Jesse Haven", "publisher": "unknown", "year": 1855, "printing": "1st South African printing", "city": "Cape Town", "state": null, "country": "South Africa", "lat": -33.928992, "lon": 18.417396, "language": "Dutch", "Notes": "Translation of Snow�s Voice of Joseph up through the first six pages roughly by Jesse Haven.", "source": "Crawley Descriptive Bibliography Vol 3, 990" }, "geometry": { "type": "Point", "coordinates": [ 18.417396, -33.928992 ] } },
{ "type": "Feature", "properties": { "unique_id": 29, "title": "Remarkable Visions (M�rkv�rdige syner)", "Author-editor": "Orson Pratt", "Original-author": "Orson Pratt", "missionary/translator": null, "publisher": "Imprimerie Ferrero et Franco", "year": 1860, "printing": null, "city": "Copenhagen", "state": null, "country": "Denmark", "lat": 55.67837, "lon": 12.57221, "language": "Danish", "Notes": null, "source": "Crawley Descriptive Bibliography Vol 2., 512" }, "geometry": { "type": "Point", "coordinates": [ 12.57221, 55.67837 ] } },
{ "type": "Feature", "properties": { "unique_id": 30, "title": "Divine Authenticity of the Book of Mormon", "Author-editor": "Orson Pratt", "Original-author": "Joseph Smith (1838)", "missionary/translator": null, "publisher": "R. James", "year": 1850, "printing": null, "city": "Liverpool", "state": null, "country": "England", "lat": 53.407154, "lon": -2.991665, "language": "English", "Notes": "Quotation of the 1838 History of the church account", "source": null }, "geometry": { "type": "Point", "coordinates": [ -2.991665, 53.407154 ] } },
{ "type": "Feature", "properties": { "unique_id": 31, "title": "The Pearl of Great Price", "Author-editor": "Franklin D. Richards", "Original-author": "Joseph Smith (1838)", "missionary/translator": null, "publisher": "Latter-day saints Printing and Publishing Establishment", "year": 1878, "printing": "2nd edition", "city": "Salt Lake City", "state": "Utah", "country": "United States", "lat": 40.7596198, "lon": -111.8867975, "language": "English", "Notes": "Revisions made by Orson Pratt; While Crawley does not go up to 1878, he does note in his description of the first publication in 1851 that it is printed again in 1878 in SLC", "source": "Crawley Descriptive Bibliography Vol 2., 599" }, "geometry": { "type": "Point", "coordinates": [ -111.8867975, 40.7596198 ] } },
{ "type": "Feature", "properties": { "unique_id": 32, "title": "The Pearl of Great Price", "Author-editor": "Franklin D. Richards", "Original-author": "Joseph Smith (1838)", "missionary/translator": null, "publisher": "William Budge", "year": 1879, "printing": "3rd edition", "city": "Liverpool", "state": null, "country": "England", "lat": 53.407154, "lon": -2.991665, "language": "English", "Notes": "Revisions made by Orson Pratt; While Crawley does not go up to 1878, he does note in his description of the first publication in 1851 that it is printed again in 1879 in Liverpool", "source": "Crawley Descriptive Bibliography Vol 2., 599" }, "geometry": { "type": "Point", "coordinates": [ -2.991665, 53.407154 ] } },
{ "type": "Feature", "properties": { "unique_id": 33, "title": "The Pearl of Great Price", "Author-editor": "Franklin D. Richards", "Original-author": "Joseph Smith (1838)", "missionary/translator": "John Davis (translator)", "publisher": "John Davis", "year": 1852, "printing": null, "city": "Merthyr Tydfil", "state": null, "country": "Wales", "lat": 51.7461002, "lon": -3.3771905, "language": "Welsh", "Notes": "First foreign language publication of The Pearl of Great Price; this edition does have some slight differences form the liverpool edition; the location of printing is still in question between Merthyr Tydfil (listed in the citation) and Rhydybont where Dan Jones had a press", "source": "Crawley Descriptive Bibliography Vol 2., 731" }, "geometry": { "type": "Point", "coordinates": [ -3.3771905, 51.7461002 ] } },
{ "type": "Feature", "properties": { "unique_id": 34, "title": "The Pearl of Great Price", "Author-editor": "Franklin D. Richards", "Original-author": "Joseph Smith (1838)", "missionary/translator": null, "publisher": null, "year": 1851, "printing": null, "city": null, "state": null, "country": null, "lat": null, "lon": null, "language": "Danish", "Notes": "The Church�s page for the Pearl of Great price list an 1851 Danish translation �Parel van grote waarde�", "source": null }, "geometry": null },
{ "type": "Feature", "properties": { "unique_id": 35, "title": "The Pearl of Great Price", "Author-editor": "Franklin D. Richards", "Original-author": "Joseph Smith (1838)", "missionary/translator": null, "publisher": null, "year": 1876, "printing": null, "city": null, "state": null, "country": null, "lat": null, "lon": null, "language": "German", "Notes": "The Church�s page for the Pearl of Great price list an 1876 Danish translation �Die K�stliche Perle�", "source": null }, "geometry": null },
{ "type": "Feature", "properties": { "unique_id": 37, "title": "A Voice of Truth (En sandheds-r�st)", "Author-editor": "Erastus Snow", "Original-author": null, "missionary/translator": null, "publisher": "F. E. Bording", "year": 1850, "printing": null, "city": "Copenhagen", "state": null, "country": "Denmark", "lat": 55.67837, "lon": 12.57221, "language": "Danish", "Notes": "Contains a recitation of the First Vision � do not know who is the original author", "source": "Crawley Descriptive Bibliography Vol 2., 516" }, "geometry": { "type": "Point", "coordinates": [ 12.57221, 55.67837 ] } }
]
}
/// L.mapbox.accessToken = 'pk.eyJ1IjoiamZicmF0dCIsImEiOiJja256MmJ1a2swMWR5MnBsYmY4anc0MmU4In0.tACr2tirgDt0tib9RW2cVw'
var corner1 = L.latLng(79.5, -166.8073),
corner2 = L.latLng(-79.5, 166.8073),
bounds = L.latLngBounds(corner1, corner2);
var mymap = L.map('mapid', {
center:[15.826781, -2.632624],
zoom: 2,
maxBounds: bounds,
zoomControl: true
});
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
}).addTo(mymap);
mymap.options.maxZoom = 8;
mymap.options.minZoom = 2;
L.control.scale().addTo(mymap);
var markers = L.markerClusterGroup({
showCoverageOnHover: false,
maxClusterRadius: 40
});
getDataAddMarkers = function( {label, value, map} ) {
markers.clearLayers();
filteredData = testdata.features.filter(function (i, n) {
parseInt(label);
return i.properties.year <= label;
});
var geojsonlayer = L.geoJson(filteredData, {
onEachFeature: function onEachFeature(feature, layer) {
content = `<strong>Title</strong>: ${feature.properties.title}
<br> <strong>Year</strong>:${feature.properties.year}
<br> <strong>Printing</strong>: ${feature.properties.printing}
<br> <strong>Publisher</strong>: ${feature.properties.publisher}
<br> <strong>Language</strong>: ${feature.properties.language}
<br> <strong>Source</strong>: ${feature.properties.source}`
var popup = L.popup().setContent(content);
layer.bindPopup(popup);
}
})
markers.addLayer(geojsonlayer);
map.addLayer(markers);
};
var timelineItems = ["1840", "1842", "1844", "1846", "1848",
"1850", "1852", "1854", "1856", "1858",
"1860", "1862", "1864", "1866", "1868",
"1870", "1872", "1874", "1876", "1878",
"1880"];
L.control.timelineSlider({
timelineItems: timelineItems,
labelWidth: "35px",
changeMap: getDataAddMarkers})
.addTo(mymap);
</script>
</body>
</html>