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