PageSourceSearch

https://han-capital-mapbox.netlify.app/sourceScript.js

js han-capital-mapbox.netlify.app collected 2026-10-03 10:51:14 UTC 42,032 bytes, 1,254 lines download raw bytes

1console.log = function () {}
2console.error = function () {}
3if (!('remove' in Element.prototype)) {
4  Element.prototype.remove = function () {
5    if (this.parentNode) {
6      this.parentNode.removeChild(this)
7    }
8  }
9}
10mapboxgl.accessToken =
11  'pk.eyJ1IjoiaXNyYWVsdG9ycmVzIiwiYSI6ImNrZ3c5YmYzZDA4MHUyem4wYzc3bm1obXMifQ.iRvzqOTZ4XvuKovT8oz_7Q'
12
13const map = new mapboxgl.Map({
14  container: 'mapbox',
15  style: 'mapbox://styles/israeltorres/clid4suad002v01qpeper8peb',
16  center: [-90.74825, 38.01385],
17  attributionControl: false,
18  zoom: 3,
19  cooperativeGestures: true,
20})
21
22const stores = {
23  type: 'FeatureCollection',
24  features: [
25    {
26      type: 'Feature',
27      geometry: {
28        type: 'Point',
29        coordinates: [-89.6481741, 43.7793827],
30      },
31      properties: {
32        markerImage:
33          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303d5542a25834f9af59ed5_pin_11.png',
34        name: 'Deep Lake Campground',
35        address: '348 Fish Lane, Oxford, WI 53952',
36        city: 'Oxford',
37        country: 'United States',
38        postalCode: '53952',
39        state: 'WI',
40        link: 'https://goo.gl/maps/6Uef1jEdzyk9yWVL8',
41        website: 'https://deeplakecampground.com/',
42        property_type: 'RV Park/Campground',
43      },
44    },
45    {
46      type: 'Feature',
47      geometry: {
48        type: 'Point',
49        coordinates: [-82.7178226, 29.0319569],
50      },
51      properties: {
52        markerImage:
53          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303d5542a25834f9af59ed5_pin_11.png',
54        name: 'Eleanor Oaks RV Park',
55        address: '41 Cattail Ln, Yankeetown, FL 34498',
56        city: 'Yankeetown',
57        country: 'United States',
58        postalCode: '34498',
59        state: 'FL',
60        link: 'https://goo.gl/maps/AD4Nh1ySDtXoEeZn6',
61        website: 'https://www.eleanoroaksrvpark.com/',
62        property_type: 'RV Park/Campground',
63      },
64    },
65    {
66      type: 'Feature',
67      geometry: {
68        type: 'Point',
69        coordinates: [-107.2936189, 39.5585562],
70      },
71      properties: {
72        markerImage:
73          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303d5542a25834f9af59ed5_pin_11.png',
74        name: 'Glenwood Canyon Resort',
75        address: '1308 County Road 129, Glenwood Springs, CO 81601',
76        city: 'Glenwood Springs',
77        country: 'United States',
78        postalCode: '81601',
79        state: 'CO',
80        link: 'https://goo.gl/maps/yYA7hjvSv4LPuffK6',
81        website: 'http://glenwoodcanyonresort.com/',
82        property_type: 'RV Park/Campground',
83      },
84    },
85    {
86      type: 'Feature',
87      geometry: {
88        type: 'Point',
89        coordinates: [-98.2556167, 40.8201953],
90      },
91      properties: {
92        markerImage:
93          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303d5542a25834f9af59ed5_pin_11.png',
94        name: 'Grand Island KOA Journey',
95        address: '904 South B Road, Doniphan, NE 68832',
96        city: 'Doniphan',
97        country: 'United States',
98        postalCode: '68832',
99        state: 'NE',
100        link: 'https://goo.gl/maps/U2wjEncdGf4Tvm9w9',
101        website: 'https://koa.com/campgrounds/grand-island/',
102        property_type: 'RV Park/Campground',
103      },
104    },
105    {
106      type: 'Feature',
107      geometry: {
108        type: 'Point',
109        coordinates: [-108.7360807, 39.1575739],
110      },
111      properties: {
112        markerImage:
113          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303d5542a25834f9af59ed5_pin_11.png',
114        name: 'Monument RV Resort',
115        address: '607 Highway 340, Fruita, Colorado 81521',
116        city: 'Fruita',
117        country: 'United States',
118        postalCode: '81521',
119        state: 'CO',
120        link: 'https://goo.gl/maps/bSAV8y1zPkUCJdqN8',
121        website: 'https://www.monumentrvresort.com/',
122        property_type: 'RV Park/Campground',
123      },
124    },
125    {
126      type: 'Feature',
127      geometry: {
128        type: 'Point',
129        coordinates: [-89.6215939, 43.6654347],
130      },
131      properties: {
132        markerImage:
133          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303d5542a25834f9af59ed5_pin_11.png',
134        name: 'Lake Mason Campground',
135        address: '4035 1st Ln, Briggsville, WI 53920',
136        city: 'Briggsville',
137        country: 'United States',
138        postalCode: '53920',
139        state: 'WI',
140        link: 'https://goo.gl/maps/K7QJe4Gm44yKCjLS7',
141        website: '',
142        property_type: 'RV Park/Campground',
143      },
144    },
145    {
146      type: 'Feature',
147      geometry: {
148        type: 'Point',
149        coordinates: [-103.5329282, 44.4051798],
150      },
151      properties: {
152        markerImage:
153          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303d5542a25834f9af59ed5_pin_11.png',
154        name: 'Black Hills Vista',
155        address: '3333 Dolan Creek Road, Sturgis, SD 57785',
156        city: 'Sturgis',
157        country: 'United States',
158        postalCode: '57785',
159        state: 'SD',
160        link: 'https://goo.gl/maps/npZqjYHVgWDcgnUM9',
161        website: 'https://blackhillsvista.com/',
162        property_type: 'RV Park/Campground',
163      },
164    },
165    // marker color 2 Self storage
166    {
167      type: 'Feature',
168      geometry: {
169        type: 'Point',
170        coordinates: [-88.4155378, 42.5609268],
171      },
172      properties: {
173        markerImage:
174          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
175        name: 'Heartland Storage - Lake Geneva',
176        address: 'N1989 Schaitel Road, Lake Geneva WI 53147',
177        city: 'Lake Geneva',
178        country: 'United States',
179        postalCode: '53147',
180        state: 'WI',
181        link: 'https://goo.gl/maps/U82PdQTtRCC226Kw6',
182        website: 'https://heartlandstorage.com/locations/wi-lake-geneva/',
183        property_type: 'Self Storage',
184      },
185    },
186    {
187      type: 'Feature',
188      geometry: {
189        type: 'Point',
190        coordinates: [-86.7943194, 33.3359142],
191      },
192      properties: {
193        markerImage:
194          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
195        name: 'Heartland Storage - Pelham',
196        address: '111 Hilltop Business Drive Pelham, AL 35124',
197        city: 'Pelham',
198        country: 'United States',
199        postalCode: '35124',
200        state: 'AL',
201        link: 'https://maps.app.goo.gl/6gopQGMoh7hj4i237',
202        website: 'https://www.gostoreit.com/locations/alabama/pelham/heartland-pelham/',
203        property_type: 'Self Storage',
204      },
205    },
206    {
207      type: 'Feature',
208      geometry: {
209        type: 'Point',
210        coordinates: [-86.8531687, 33.2713023],
211      },
212      properties: {
213        markerImage:
214          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
215        name: 'Heartland Storage - Helena',
216        address: '5324 Hwy 17 South, Helena, AL 35080',
217        city: 'Helena',
218        country: 'United States',
219        postalCode: '35080',
220        state: 'AL',
221        link: 'https://maps.app.goo.gl/1boNe3hdb9yTogNcA',
222        website: 'https://www.gostoreit.com/locations/alabama/helena/heartland-helena/',
223        property_type: 'Self Storage',
224      },
225    },
226    {
227      type: 'Feature',
228      geometry: {
229        type: 'Point',
230        coordinates: [-93.2907819, 36.5632802],
231      },
232      properties: {
233        markerImage:
234          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
235        name: 'Branson Bay Marina',
236        address: '668 Emerald Point Dr, Hollister, MO 65672',
237        city: 'Hollister',
238        country: 'United States',
239        postalCode: '65672',
240        state: 'MO',
241        link: 'https://goo.gl/maps/U82PdQTtRCC226Kw6',
242        website: 'https://www.bransonbaymarina.com/',
243        property_type: 'Self Storage',
244      },
245    },
246    {
247      type: 'Feature',
248      geometry: {
249        type: 'Point',
250        coordinates: [-87.6882016, 41.9352722],
251      },
252      properties: {
253        markerImage:
254          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
255        name: 'Chicago Northside Storage - Lakeview',
256        address: '2946 N. Western Avenue, Chicago, Illinois 60618',
257        city: 'Chicago',
258        country: 'United States',
259        postalCode: '60618',
260        state: 'IL',
261        link: 'https://goo.gl/maps/j1orYJeuVuXUNGjUA',
262        website: 'https://www.gostoreit.com/locations/illinois/chicago/chicago-northside-storage-lakeview/',
263        property_type: 'Self Storage',
264      },
265    },
266    {
267      type: 'Feature',
268      geometry: {
269        type: 'Point',
270        coordinates: [-108.7340085, 39.1493929],
271      },
272      properties: {
273        markerImage:
274          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
275        name: 'Heartland Storage - Fruita',
276        address: '615 S. Mesa, Fruita, CO 81521',
277        city: 'Fruita',
278        country: 'United States',
279        postalCode: '81521',
280        state: 'CO',
281        link: 'https://goo.gl/maps/x1JET6nKeRoQZsfH7',
282        website: 'https://heartlandstorage.com/locations/co-fruita/',
283        property_type: 'Self Storage',
284      },
285    },
286    {
287      type: 'Feature',
288      geometry: {
289        type: 'Point',
290        coordinates: [-93.2149484, 36.6829091],
291      },
292      properties: {
293        markerImage:
294          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
295        name: 'Heartland Storage - Branson (Bee Creek)',
296        address: '1385 Bee Creek Rd, Branson, Missouri 65616',
297        city: 'Branson',
298        country: 'United States',
299        postalCode: '65616',
300        state: 'MO',
301        link: 'https://goo.gl/maps/STp4jDTDRgARLTRL9',
302        website: 'https://www.gostoreit.com/locations/missouri/branson/heartland-storage-bee-creek/',
303        property_type: 'Self Storage',
304      },
305    },
306    {
307      type: 'Feature',
308      geometry: {
309        type: 'Point',
310        coordinates: [-93.0961099, 36.6683507],
311      },
312      properties: {
313        markerImage:
314          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
315        name: 'Heartland Storage - Branson (Forsyth)',
316        address: '10772 Missouri 76, Forsyth, Missouri 65653',
317        city: 'Forsyth',
318        country: 'United States',
319        postalCode: '65653',
320        state: 'MO',
321        link: 'https://goo.gl/maps/MhguyFQp4iy6aegt5',
322        website: 'https://heartlandstorage.com/locations/mo-branson-forsyth/',
323        property_type: 'Self Storage',
324      },
325    },
326    {
327      type: 'Feature',
328      geometry: {
329        type: 'Point',
330        coordinates: [-93.1675552, 36.6243508],
331      },
332      properties: {
333        markerImage:
334          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
335        name: 'Heartland Storage - Branson (Kirbyville)',
336        address: '4081 E State Highway 76, Kirbyville, Missouri 65679',
337        city: 'Kirbyville',
338        country: 'United States',
339        postalCode: '65679',
340        state: 'MO',
341        link: 'https://goo.gl/maps/FyDwqttxxWDXJ1kK6',
342        website:
343          'https://www.gostoreit.com/locations/missouri/kirbyville/heartland-storage-kirbyville/',
344        property_type: 'Self Storage',
345      },
346    },
347    {
348      type: 'Feature',
349      geometry: {
350        type: 'Point',
351        coordinates: [-93.1708643, 36.7124103],
352      },
353      properties: {
354        markerImage:
355          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
356        name: 'Heartland Storage - Branson (Merriam Woods)',
357        address: '4329 Highway 176, Merriam Woods, Missouri 65740',
358        city: 'Merriam Woods',
359        country: 'United States',
360        postalCode: '65740',
361        state: 'MO',
362        link: 'https://goo.gl/maps/8e95vZ4pMLQESBDX6',
363        website:
364          'https://www.gostoreit.com/locations/missouri/merriam-woods/heartland-storage-merriam-woods/',
365        property_type: 'Self Storage',
366      },
367    },
368    {
369      type: 'Feature',
370      geometry: {
371        type: 'Point',
372        coordinates: [-93.1803707, 36.6538775],
373      },
374      properties: {
375        markerImage:
376          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
377        name: 'Heartland Storage - Branson (T Hwy)',
378        address: '1174 State Highway T, Branson, Missouri 65616',
379        city: 'Branson',
380        country: 'United States',
381        postalCode: '65616',
382        state: 'MO',
383        link: 'https://goo.gl/maps/yeoyXUq6ArC4LJu79',
384        website: 'https://www.gostoreit.com/locations/missouri/branson/heartland-storage-t-highway/',
385        property_type: 'Self Storage',
386      },
387    },
388    {
389      type: 'Feature',
390      geometry: {
391        type: 'Point',
392        coordinates: [-93.3751234, 36.7102575],
393      },
394      properties: {
395        markerImage:
396          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
397        name: 'Heartland Storage - Branson West',
398        address: '19199 Missouri 413, Reeds Spring, Missouri 65737',
399        city: 'Reeds Spring',
400        country: 'United States',
401        postalCode: '65737',
402        state: 'MO',
403        link: 'https://goo.gl/maps/cAt48mpFPyKME8CF8',
404        website: 'https://www.gostoreit.com/locations/missouri/branson/heartland-storage-branson-west/',
405        property_type: 'Self Storage',
406      },
407    },
408    {
409      type: 'Feature',
410      geometry: {
411        type: 'Point',
412        coordinates: [-87.2398819, 41.5343722],
413      },
414      properties: {
415        markerImage:
416          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
417        name: 'Heartland Storage - Hobart',
418        address: '1710 E. State Road 130, Hobart, Indiana 46342',
419        city: 'Hobart',
420        country: 'United States',
421        postalCode: '46342',
422        state: 'IN',
423        link: 'https://goo.gl/maps/wBmHcm47r1Z5kMhV7',
424        website: 'https://www.gostoreit.com/locations/indiana/hobart/heartland-storage-hobart/',
425        property_type: 'Self Storage',
426      },
427    },
428    {
429      type: 'Feature',
430      geometry: {
431        type: 'Point',
432        coordinates: [-87.2398819, 41.5343722],
433      },
434      properties: {
435        markerImage:
436          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
437        name: 'Heartland Storage - Klinger Lake',
438        address: '69004 Klinger Lake Rd, Sturgis, MI 49091',
439        city: 'Sturgis',
440        country: 'United States',
441        postalCode: '49091',
442        state: 'MI',
443        link: 'https://goo.gl/maps/wBmHcm47r1Z5kMhV7',
444        website: 'https://heartlandstorage.com/locations/klinger-lake/',
445        property_type: 'Self Storage',
446      },
447    },
448    {
449      type: 'Feature',
450      geometry: {
451        type: 'Point',
452        coordinates: [-86.8783693, 40.4549848],
453      },
454      properties: {
455        markerImage:
456          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
457        name: 'Heartland Storage - Lafayette',
458        address: '2750 N. 9th Street, Lafayette, Indiana 47904',
459        city: 'Lafayette',
460        country: 'United States',
461        postalCode: '47904',
462        state: 'IN',
463        link: 'https://goo.gl/maps/iZKnXhkg8KdG6V2aA',
464        website: 'https://www.gostoreit.com/locations/indiana/lafayette/heartland-storage-lafayette/',
465        property_type: 'Self Storage',
466      },
467    },
468    {
469      type: 'Feature',
470      geometry: {
471        type: 'Point',
472        coordinates: [-87.3254691, 41.5086098],
473      },
474      properties: {
475        markerImage:
476          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
477        name: 'Heartland Storage - Merrillville',
478        address: '850 E. 61st Street, Merrillville, Indiana 46410',
479        city: 'Merrillville',
480        country: 'United States',
481        postalCode: '46410',
482        state: 'IN',
483        link: 'https://goo.gl/maps/NsrSQVVgpL9NieV2A',
484        website: 'https://www.gostoreit.com/locations/indiana/merrillville/heartland-storage-merrillville/',
485        property_type: 'Self Storage',
486      },
487    },
488    {
489      type: 'Feature',
490      geometry: {
491        type: 'Point',
492        coordinates: [-86.8383877, 41.6877834],
493      },
494      properties: {
495        markerImage:
496          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
497        name: 'Heartland Storage - Michigan City',
498        address: '7176 U.S. 20, Michigan City, Indiana 46360',
499        city: 'Michigan City',
500        country: 'United States',
501        postalCode: '46360',
502        state: 'IN',
503        link: 'https://goo.gl/maps/qrYddxksdT7jtHNy6',
504        website: 'https://www.gostoreit.com/locations/indiana/michigan-city/heartland-storage-mic
504higan-city/',
505        property_type: 'Self Storage',
506      },
507    },
508    {
509      type: 'Feature',
510      geometry: {
511        type: 'Point',
512        coordinates: [-93.2135024, 37.0048925],
513      },
514      properties: {
515        markerImage:
516          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
517        name: 'Heartland Storage - Ozark A',
518        address: '1608 S. 11th Street, Ozark, Missouri 65721',
519        city: 'Ozark',
520        country: 'United States',
521        postalCode: '65721',
522        state: 'MO',
523        link: 'https://goo.gl/maps/iR2CZkrYJM6Dp2QGA',
524        website:
525          'https://www.gostoreit.com/locations/missouri/ozark/heartland-storage-s-11th-street/',
526        property_type: 'Self Storage',
527      },
528    },
529    {
530      type: 'Feature',
531      geometry: {
532        type: 'Point',
533        coordinates: [-93.2063283, 37.0100762],
534      },
535      properties: {
536        markerImage:
537          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
538        name: 'Heartland Storage - Ozark B',
539        address: '1208 South 3rd Street, Ozark, Missouri 65721',
540        city: 'Ozark',
541        country: 'United States',
542        postalCode: '65721',
543        state: 'MO',
544        link: 'https://goo.gl/maps/N6KPmDfidhQjFrDn7',
545        website:
546          'https://www.gostoreit.com/locations/missouri/ozark/heartland-storage-s-3rd-street/',
547        property_type: 'Self Storage',
548      },
549    },
550    {
551      type: 'Feature',
552      geometry: {
553        type: 'Point',
554        coordinates: [-93.2328514, 37.078166],
555      },
556      properties: {
557        markerImage:
558          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
559        name: 'Heartland Storage - Ozark C',
560        address: '6290 N. 23rd Street, Ozark, Missouri 65721',
561        city: 'Ozark',
562        country: 'United States',
563        postalCode: '65721',
564        state: 'MO',
565        link: 'https://goo.gl/maps/zqmsjwzseq6ATamh7',
566        website:
567          'https://www.gostoreit.com/locations/missouri/ozark/heartland-storage-ozark/',
568        property_type: 'Self Storage',
569      },
570    },
571    {
572      type: 'Feature',
573      geometry: {
574        type: 'Point',
575        coordinates: [-93.20554, 37.023738],
576      },
577      properties: {
578        markerImage:
579          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
580        name: 'Heartland Storage - Ozark D',
581        address: '500 N. 2nd Street, Ozark, Missouri 65721',
582        city: 'Ozark',
583        country: 'United States',
584        postalCode: '65721',
585        state: 'MO',
586        link: 'https://goo.gl/maps/v6vwicZRGXS9m71AA',
587        website:
588          'https://www.gostoreit.com/locations/missouri/ozark/heartland-storage-n-2nd-street/',
589        property_type: 'Self Storage',
590      },
591    },
592    {
593      type: 'Feature',
594      geometry: {
595        type: 'Point',
596        coordinates: [-93.2306313, 37.0519352],
597      },
598      properties: {
599        markerImage:
600          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
601        name: 'Heartland Storage - Ozark E',
602        address: '3445 N. 21st Street, Ozark, Missouri 65721',
603        city: 'Ozark',
604        country: 'United States',
605        postalCode: '65721',
606        state: 'MO',
607        link: 'https://goo.gl/maps/8kPAeszEWXSai1HC9',
608        website:
609          'https://www.gostoreit.com/locations/missouri/ozark/heartland-storage-n-21st-street/',
610        property_type: 'Self Storage',
611      },
612    },
613    {
614      type: 'Feature',
615      geometry: {
616        type: 'Point',
617        coordinates: [-93.2306313, 37.0519352],
618      },
619      properties: {
620        markerImage:
621          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
622        name: 'Heartland Storage - Ozark F',
623        address: '720 E South Street, Ozark, Missouri 65721',
624        city: 'Ozark',
625        country: 'United States',
626        postalCode: '65721',
627        state: 'MO',
628        link: 'https://goo.gl/maps/2yFn4hM2jtDKRy9y5',
629        website:
630          'https://heartlandstorage.com/locations/mo-ozark-f-e-south-street/',
631        property_type: 'Self Storage',
632      },
633    },
634    {
635      type: 'Feature',
636      geometry: {
637        type: 'Point',
638        coordinates: [-93.2123185, 37.0244848],
639      },
640      properties: {
641        markerImage:
642          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
643        name: 'Heartland Storage - Ozark G',
644        address: '404 N. 10th Street, Ozark, Missouri 65721',
645        city: 'Ozark',
646        country: 'United States',
647        postalCode: '65721',
648        state: 'MO',
649        link: 'https://goo.gl/maps/v3oGFprZB6Zs11wQ8',
650        website:
651          'https://www.gostoreit.com/locations/missouri/ozark/heartland-storage-n-10th-street/',
652        property_type: 'Self Storage',
653      },
654    },
655    {
656      type: 'Feature',
657      geometry: {
658        type: 'Point',
659        coordinates: [-93.2264186, 37.0329628],
660      },
661      properties: {
662        markerImage:
663          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
664        name: 'Heartland Storage - Ozark H',
665        address: '1724 W. Clay Street, Ozark, Missouri 65721',
666        city: 'Ozark',
667        country: 'United States',
668        postalCode: '65721',
669        state: 'MO',
670        link: 'https://goo.gl/maps/LrmtPmAS3G7P91m6A',
671        website:
672          'https://www.gostoreit.com/locations/missouri/ozark/heartland-storage-w-clay-street/',
673        property_type: 'Self Storage',
674      },
675    },
676    {
677      type: 'Feature',
678      geometry: {
679        type: 'Point',
680        coordinates: [-85.4658315, 41.7960285],
681      },
682      properties: {
683        markerImage:
684          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
685        name: 'Heartland Storage - Sturgis A',
686        address: '25040 U.S. Highway 12, Sturgis, Michigan 49091',
687        city: 'Sturgis',
688        country: 'United States',
689        postalCode: '49091',
690        state: 'MI',
691        link: 'https://goo.gl/maps/Qf21hoK27MEuK2Vp7',
692        website:
693          'https://www.gostoreit.com/locations/michigan/sturgis/heartland-storage-sturgis-us-12/',
694        property_type: 'Self Storage',
695      },
696    },
697    {
698      type: 'Feature',
699      geometry: {
700        type: 'Point',
701        coordinates: [-85.4464222, 41.7990743],
702      },
703      properties: {
704        markerImage:
705          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
706        name: 'Heartland Storage - Sturgis B',
707        address: '68769 White School Road, Sturgis, Michigan 49091',
708        city: 'Sturgis',
709        country: 'United States',
710        postalCode: '49091',
711        state: 'MI',
712        link: 'https://goo.gl/maps/gL9VK9Ft2fsxAgEw9',
713        website: 'https://www.gostoreit.com/locations/michigan/sturgis/heartland-storage-white-school-rd/',
714        property_type: 'Self Storage',
715      },
716    },
717    {
718      type: 'Feature',
719      geometry: {
720        type: 'Point',
721        coordinates: [-93.4034372, 38.2462598],
722      },
723      properties: {
724        markerImage:
725          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
726        name: 'Heartland Storage - Warsaw',
727        address: '30559 Shawnee Bend Rd, Warsaw, Missouri 65355',
728        city: 'Warsaw',
729        country: 'United States',
730        postalCode: '65355',
731        state: 'MO',
732        link: 'https://goo.gl/maps/7ufk3BGjrEiBbkua6',
733        website: 'https://www.gostoreit.com/locations/missouri/warsaw/heartland-storage-warsaw/',
734        property_type: 'Self Storage',
735      },
736    },
737    {
738      type: 'Feature',
739      geometry: {
740        type: 'Point',
741        coordinates: [-101.7292451, 41.2579185],
742      },
743      properties: {
744        markerImage:
745          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
746        name: 'Lake Mac Storage',
747        address: '299 NE-92 Lemoyne, NE, 69146',
748        city: 'Lemoyne',
749        country: 'United States',
750        postalCode: '69146',
751        state: 'NE',
752        link: 'https://goo.gl/maps/a4CFo68qvDdEgNze6',
753        website: 'https://www.gostoreit.com/locations/nebraska/lemoyne/lake-mac-storage/',
754        property_type: 'Self Storage',
755      },
756    },
757    {
758      type: 'Feature',
759      geometry: {
760        type: 'Point',
761        coordinates: [-100.73952144248092, 41.125181821012596],
762      },
763      properties: {
764        markerImage:
765          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
766        name: 'Heartland Storage – Philip Ave',
767        address: '2020 E Philip Ave, North Platte, NE 69101',
768        city: 'North Platte',
769        country: 'United States',
770        postalCode: '69101',
771        state: 'NE',
772        link: 'https://maps.app.goo.gl/Fqpmn3kqSBc8ySjb8',
773        website: 'https://www.gostoreit.com/locations/nebraska/north-platte/heartland-self-storage-philip-ave/',
774        property_type: 'Self Storage',
775      },
776    },
777    {
778      type: 'Feature',
779      geometry: {
780        type: 'Point',
781        coordinates: [-100.76697576229225, 41.10691357276792],
782      },
783      properties: {
784        markerImage:
785          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
786        name: 'Heartland Storage – S Willow St',
787        address: '3109 S Willow St, North Platte, NE 69101',
788        city: 'North Platte',
789        country: 'United States',
790        postalCode: '69101',
791        state: 'NE',
792        link: 'https://maps.app.goo.gl/s5sHbXep6xq7uPXV9',
793        website: 'https://www.gostoreit.com/locations/nebraska/north-platte/heartland-self-storage-s-willow-st/',
794        property_type: 'Self Storage',
795      },
796    },
797    {
798      type: 'Feature',
799      geometry: {
800        type: 'Point',
801        coordinates: [-100.81057240337752, 41.140553929162216],
802      },
803      properties: {
804        markerImage:
805          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
806        name: 'Heartland Storage – Lakeview',
807        address: '214 N Lakeview Rd, North Platte, NE 69101',
808        city: 'North Platte',
809        country: 'United States',
810        postalCode: '69101',
811        state: 'NE',
812        link: 'https://maps.app.goo.gl/cNtWua3qMLYvF7Cm7',
813        website: 'https://www.gostoreit.com/locations/nebraska/north-platte/heartland-self-storage-lakeview/',
814        property_type: 'Self Storage',
815      },
816    },
817    {
818      type: 'Feature',
819      geometry: {
820        type: 'Point',
821        coordinates: [-100.79069661685014, 41.14929853558155],
822      },
823      properties: {
824        markerImage:
825          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
826        name: 'Heartland Storage – Rodeo Rd',
827        address: '2505 W Rodeo Rd Ave, North Platte, NE 69101',
828        city: 'North Platte',
829        country: 'United States',
830        postalCode: '69101',
831        state: 'NE',
832        link: 'https://maps.app.goo.gl/TdYj3YsqT7A8VVRr5',
833        website: 'https://www.gostoreit.com/locations/nebraska/north-platte/heartland-self-storage-rodeo-rd/',
834        property_type: 'Self Storage',
835      },
836    },
837    {
838      type: 'Feature',
839      geometry: {
840        type: 'Point',
841        coordinates: [-93.8346002, 37.145154],
842      },
843      properties: {
844        markerImage:
845          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
846        name: 'Heartland Storage - Mt Vernon (North)',
847        address: '12315 State Hwy OO, Mt. Vernon, Missouri 65712',
848        city: 'Mt. Vernon',
849        country: 'United States',
850        postalCode: '65712',
851        state: 'MO',
852        link: 'https://goo.gl/maps/u5g35621y82cTXqQ7',
853        website: 'https://www.gostoreit.com/locations/missouri/mt-vernon/heartland-storage-lawrence-state-street/',
854        property_type: 'Self Storage',
855      },
856    },
857    {
858      type: 'Feature',
859      geometry: {
860        type: 'Point',
861        coordinates: [-93.7881868, 37.0727048],
862      },
863      properties: {
864        markerImage:
865          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
866        name: 'Heartland Storage - Mt Vernon (South)',
867        address: '14984 Co Rd 2140, Mt Vernon, Missouri 65712',
868        city: 'Mt. Vernon',
869        country: 'United States',
870        postalCode: '65712',
871        state: 'MO',
872        link: 'https://goo.gl/maps/dMxWwqqUGbAAhjRz8',
873        website: 'https://www.gostoreit.com/locations/missouri/mt-vernon/heartland-storage-mt-vernon/',
874        property_type: 'Self Storage',
875      },
876    },
877    {
878      type: 'Feature',
879      geometry: {
880        type: 'Point',
881        coordinates: [-93.7735169, 36.9473522],
882      },
883      properties: {
884        markerImage:
885          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
886        name: 'Heartland Storage - Verona',
887        address: '22529 Lawrence 1160 Verona, Missouri 65769',
888        city: 'Verona',
889        country: 'United States',
890        postalCode: '65769',
891        state: 'MO',
892        link: 'https://goo.gl/maps/p9fKfuAikWq8QFPe9',
893        website: 'https://www.gostoreit.com/locations/missouri/verona/heartland-storage-lawrence/',
894        property_type: 'Self Storage',
895      },
896    },
897    {
898      type: 'Feature',
899      geometry: {
900        type: 'Point',
901        coordinates: [-93.845413, 37.218715],
902      },
903      properties: {
904        markerImage:
905          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
906        name: 'Lockwood Miller (E) - Miller',
907        address: '509 N. Hwy 39, Miller, Missouri 65707',
908        city: 'Miller',
909        country: 'United States',
910        postalCode: '65707',
911        state: 'MO',
912        link: 'https://goo.gl/maps/XWNzK6RQTjyos4JH9',
913        website: 'https://heartlandstorage.com/locations/mo-lawrence-county-t/',
914        property_type: 'Self Storage',
915      },
916    },
917    {
918      type: 'Feature',
919      geometry: {
920        type: 'Point',
921        coordinates: [-93.951861, 37.389952],
922      },
923      properties: {
924        markerImage:
925          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
926        name: 'Lockwood Miller - Lockwood',
927        address: '208 E 4th St, Lockwood, Missouri 65682',
928        city: 'Lockwood',
929        country: 'United States',
930        postalCode: '65682',
931        state: 'MO',
932        link: 'https://goo.gl/maps/9pa97uNnQmnBj7zi8',
933        website: 'https://www.gostoreit.com/locations/missouri/lockwood/heartland-storage-4th-street/',
934        property_type: 'Self Storage',
935      },
936    },
937    {
938      type: 'Feature',
939      geometry: {
940        type: 'Point',
941        coordinates: [-75.9601987, 41.236002],
942      },
943      properties: {
944        markerImage:
945          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
946        name: 'Plymouth Storage',
947        address: '627 W. Main Street, Plymouth, Pennsylvania 18651',
948        city: 'Plymouth',
949        country: 'United States',
950        postalCode: '18651',
951        state: 'PA',
952        link: 'https://goo.gl/maps/MBDiGw5FXb89XJYq6',
953        website: 'https://www.gostoreit.com/locations/new-york/rochester/rochester-storage/',
954        property_type: 'Self Storage',
955      },
956    },
957    {
958      type: 'Feature',
959      geometry: {
960        type: 'Point',
961        coordinates: [-77.6048461, 43.1632189],
962      },
963      properties: {
964        markerImage:
965          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
966        name: 'Rochester Storage',
967        address: '444 Central Avenue Suite A, Rochester, New York 14605',
968        city: 'Rochester',
969        country: 'United States',
970        postalCode: '14605',
971        state: 'NY',
972        link: 'https://goo.gl/maps/4hXc6rKMvY4Dnfzm8',
973        website: 'https://www.gostoreit.com/locations/new-york/rochester/rochester-storage/',
974        property_type: 'Self Storage',
975      },
976    },
977    // {
978    //   type: 'Feature',
979    //   geometry: {
980    //     type: 'Point',
981    //     coordinates: [-96.5679544, 33.0604876],
982    //   },
983    //   properties: {
984    //     markerImage:
985    //       'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
986    //     name: 'Wylie Boat & RV Storage',
987    //     address: '3855 Osage Ln, Wylie, TX 75098',
988    //     city: 'Wylie',
989    //     country: 'United States',
990    //     postalCode: '75098',
991    //     state: 'TX',
992    //     link: 'https://goo.gl/maps/qn6H2a95PqAybYbD6',
993    //     website:
994    //       'https://www.wylieboatandrvstorage.com/',
995    //     property_type: 'Self Storage',
996    //   },
997    // },
998    {
999      type: 'Feature',
1000      geometry: {
1001        type: 'Point',
1002        coordinates: [-85.52674568290323, 41.794903938041855],
1003      },
1004      properties: {
1005        markerImage:
1006          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
1007        name: 'Heartland Storage - Klinger Lake',
1008        address: '69004 Klinger Lake Road, Sturgis, Michigan 49091',
1009        city: 'Sturgis',
1010        country: 'United States',
1011        postalCode: '49091',
1012        state: 'MI',
1013        link: 'https://maps.app.goo.gl/N7UjGNeAgsiFzUTx7',
1014        website:
1015          'https://www.gostoreit.com/locations/michigan/sturgis/heartland-storage-klinger-lake/',
1016        property_type: 'Self Storage',
1017      },
1018    },{
1019      type: 'Feature',
1020      geometry: {
1021        type: 'Point',
1022        coordinates: [-86.83854221616596, 41.68932450182665],
1023      },
1024      properties: {
1025        markerImage:
1026          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
1027        name: 'Heartland Storage - Michigan City',
1028        address: '7176 W. U.S. Highway 20, Michigan City, IN 46360',
1029        city: 'Michigan City',
1030        country: 'United States',
1031        postalCode: '46360',
1032        state: 'IN',
1033        link: 'https://maps.app.goo.gl/V6qVjRYgE8fmhDZf6',
1034        website:
1035          'https://www.gostoreit.com/locations/indiana/michigan-city/heartland-storage-michigan-city/',
1036        property_type: 'Self Storage',
1037      },
1038    },{
1039      type: 'Feature',
1040      geometry: {
1041        type: 'Point',
1042        coordinates: [-93.09612261372598, 36.668539989902],
1043      },
1044      properties: {
1045        markerImage:
1046          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
1047        name: 'Heartland Storage - Branson (Forsyth)',
1048        address: '10772 State Highway 76 , Forsyth, MO 65653',
1049        city: 'Forsyth',
1050        country: 'United States',
1051        postalCode: '65653',
1052        state: 'MO',
1053        link: 'https://maps.app.goo.gl/Q77FJUoBx5KVRX1U7',
1054        website:
1055          'https://www.gostoreit.com/locations/missouri/forsyth/heartland-storage-forsyth/',
1056        property_type: 'Self Storage',
1057      },
1058    },{
1059      type: 'Feature',
1060      geometry: {
1061        type: 'Point',
1062        coordinates: [-93.20035268858886, 37.00377951260892],
1063      },
1064      properties: {
1065        markerImage:
1066          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
1067        name: 'Heartland Storage - Ozark F',
1068        address: '720 E. South Street, Ozark, MO 65721',
1069        city: 'Ozark',
1070        country: 'United States',
1071        postalCode: '65721',
1072        state: 'MO',
1073        link: 'https://maps.app.goo.gl/effUY9yF9aYadwbw5',
1074        website:
1075          'https://www.gostoreit.com/locations/missouri/ozark/heartland-storage-e-south-st/',
1076        property_type: 'Self Storage',
1077      },
1078    },{
1079      type: 'Feature',
1080      geometry: {
1081        type: 'Point',
1082        coordinates: [-93.28699333092871, 36.560921296266194],
1083      },
1084      properties: {
1085        markerImage:
1086          'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
1087        name: 'Heartland Storage - Clevenger Cove',
1088        address: '190 Poolside Pass, Hollister, Missouri 65672',
1089        city: 'Hollister',
1090        country: 'United States',
1091        postalCode: '65672',
1092        state: 'MO',
1093        link: 'https://maps.app.goo.gl/YA5Dv4JTZiYPpXQD7',
1094        website:
1095          'https://www.gostoreit.com/locations/missouri/hollister/heartland-storage-clevenger-cove/',
1096        property_type: 'Self Storage',
1097      },
1098    },
1099  ],
1100}
1101const propertyTypeFilterSelect = document.getElementById('propertyTypeFilter')
1102
1103function updateMarkers(selectedType) {
1104  const filteredFeatures = stores.features.filter((feature) => {
1105    if (selectedType === 'All') {
1106      return true
1107    }
1108    return feature.properties.property_type === selectedType
1109  })
1110
1111  map.getSource('locations').setData({
1112    type: 'FeatureCollection',
1113    features: filteredFeatures,
1114  })
1115}
1116
1117propertyTypeFilterSelect.addEventListener('change', (event) => {
1118  const selectedType = event.target.value
1119  updateMarkers(selectedType)
1120})
1121
1122const toggleSidebarButton = document.getElementById('toggleSidebarButton')
1123function toggleSidebar() {
1124  const sidebar = document.querySelector('.sidebar')
1125  sidebar.classList.toggle('show-sidebar')
1126}
1127toggleSidebarButton.addEventListener('click', toggleSidebar)
1128const propertyTypeFilter = document.getElementById('propertyTypeFilter')
1129
1130map.on('load', function () {
1131  map.loadImage(
1132    'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303d5542a25834f9af59ed5_pin_11.png',
1133    function (error, image) {
1134      if (error) throw error
1135      map.loadImage(
1136        'https://uploads-ssl.webflow.com/62a918d5906c9b3387503b6a/6303bbeccdb661098652ce9f_pin_9.png',
1137
1138        function (error, image1) {
1139          if (error) throw error
1140
1141          map.addImage('custom-marker', image)
1142          map.addImage('custom-marker1', image1)
1143
1144          map.addLayer({
1145            id: 'locations',
1146            type: 'symbol',
1147            source: 'locations',
1148            layout: {
1149              'icon-image': [
1150                'match',
1151                ['get', 'property_type'],
1152                'Self Storage',
1153                'custom-marker1',
1154                'RV Park/Campground',
1155                'custom-marker',
1156                'default-image',
1157              ],
1158              'icon-allow-overlap': true,
1159              'icon-size': 0.25,
1160            },
1161          })
1162          updateMarkers('Self Storage')
1163        }
1164      )
1165    }
1166  )
1167
1168  map.addSource('locations', {
1169    type: 'geojson',
1170    data: stores,
1171  })
1172
1173  map.addLayer({
1174    id: 'locations',
1175    type: 'symbol',
1176    source: 'locations',
1177    layout: {
1178      'icon-image': [
1179        'match',
1180        ['get', 'property_type'],
1181        'Self Storage',
1182        'custom-marker1',
1183        'RV Park/Campground',
1184        'custom-marker',
1185        'default-image',
1186      ],
1187      'icon-allow-overlap': true,
1188      'icon-size': 0.25,
1189    },
1190  })
1191})
1192
1193map.on('click', 'locations', function (e) {
1194  const marker = e.features[0]
1195  flyToStore(marker)
1196  createPopUp(marker)
1197  const activeItem = document.getElementsByClassName('active')
1198
1199  if (activeItem[0]) {
1200    activeItem[0].classList.remove('active')
1201  }
1202})
1203map.on('mouseenter', 'locations', function () {
1204  map.getCanvas().style.cursor = 'pointer'
1205})
1206map.on('mouseleave', 'places', function () {
1207  map.getCanvas().style.cursor = ''
1208})
1209
1210function flyToStore(currentFeature) {
1211  map.flyTo({
1212    center: currentFeature.geometry.coordinates,
1213    zoom: 6,
1214  })
1215}
1216
1217function createPopUp(e) {
1218  let popUps = document.getElementsByClassName('mapboxgl-popup')
1219  if (popUps[0]) popUps[0].remove()
1220  new mapboxgl.Popup({ closeOnClick: true })
1221    .setLngLat(e.geometry.coordinates)
1222    .setHTML(
1223      '<h3 class="mapboxgl-popup-content">' +
1224        e.properties.name +
1225        '</h3>' +
1226        '<h4 class="mapboxgl-popup-content">' +
1227        '<b>' +
1228        'Address: ' +
1229        '</b>' +
1230        e.properties.address +
1231        '<h4 class="mapboxgl-popup-content">' +
1232        '<a target="_blank" style="color:#ee9700!important; text-decoration:none;" href=' +
1233        e.properties.website +
1234        '>' +
1235        'Visit Website' +
1236        '</a>' +
1237        '</h4>' +
1238        '<h4 class="mapboxgl-popup-content">' +
1239        '<b>' +
1240        'Type Property:' +
1241        '</b>' +
1242        '<br/>' +
1243        e.properties.property_type +
1244        '</h4>' +
1245        '<h4 class="mapboxgl-popup-content">' +
1246        '<a target="_blank" style="color:#ee9700!important; text-decoration:none;" href=' +
1247        e.properties.link +
1248        '>' +
1249        'View large map' +
1250        '</a>' +
1251        '</h4>'
1252    )
1253    .addTo(map)
1254}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.