From 3aad42424441658e3b0514453146be2a10242c15 Mon Sep 17 00:00:00 2001 From: "bruna.c" <brunagdcruz@gmail.com> Date: Fri, 21 Feb 2020 10:24:01 -0300 Subject: [PATCH] fix url for map pin --- pinsisApp/src/app/maps-page/maps-page.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pinsisApp/src/app/maps-page/maps-page.component.ts b/pinsisApp/src/app/maps-page/maps-page.component.ts index 27c986cf..07bed991 100644 --- a/pinsisApp/src/app/maps-page/maps-page.component.ts +++ b/pinsisApp/src/app/maps-page/maps-page.component.ts @@ -6,7 +6,7 @@ import { MarkerService } from '../_services/marker.service'; import { ShapeService } from '../_services/shape.service'; import { Hospital } from '../hospital'; -const iconRetinaUrl = 'assets/marker-icon-2x.png'; +const iconRetinaUrl = "https://unpkg.com/leaflet@1.5.1/dist/images/marker-icon.png"; const iconUrl = "https://unpkg.com/leaflet@1.5.1/dist/images/marker-icon.png"; const shadowUrl = "https://unpkg.com/leaflet@1.5.1/dist/images/marker-shadow.png"; const iconDefault = L.icon({ -- GitLab