(event2, mapAdapter2)
| 13891 | attachSchedulerEvents(); |
| 13892 | } |
| 13893 | async function addEventWithLocation(event2, mapAdapter2) { |
| 13894 | let coordinates = await mapAdapter2.resolveAddress(event2.event_location); |
| 13895 | event2.lat = coordinates.lat; |
| 13896 | event2.lng = coordinates.lng; |
| 13897 | mapAdapter2.removeEventMarker(String(event2.id)); |
| 13898 | mapAdapter2.addEventMarker(event2); |
| 13899 | return event2; |
| 13900 | } |
| 13901 | function setUserLocation(options, adapter) { |
| 13902 | if (options.resolve_user_location) { |
| 13903 | if (navigator.geolocation) { |
no test coverage detected