File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ import { getCommunityLocations } from '../utils/firebase';
66import { cn } from '@/lib/utils' ;
77import { countries , usStates } from '@/utils/locationData' ;
88
9- // Fix Leaflet marker icon issue
10- delete ( L . Icon . Default . prototype as any ) . _getIconUrl ;
11- L . Icon . Default . mergeOptions ( {
12- iconRetinaUrl : 'https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-icon-2x.png' ,
13- iconUrl : 'https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-icon.png' ,
14- shadowUrl : 'https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-shadow.png' ,
15- } ) ;
9+ // // Fix Leaflet marker icon issue
10+ // delete (L.Icon.Default.prototype)._getIconUrl;
11+ // L.Icon.Default.mergeOptions({
12+ // iconRetinaUrl: 'https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-icon-2x.png',
13+ // iconUrl: 'https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-icon.png',
14+ // shadowUrl: 'https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-shadow.png',
15+ // });
1616
1717// Custom marker icon
1818const customIcon = new L . Icon ( {
You can’t perform that action at this time.
0 commit comments