From e088fcf3dce86578e0f121c8b60b6c5ac66fbe1c Mon Sep 17 00:00:00 2001 From: humano Date: Wed, 13 May 2020 14:32:13 -0500 Subject: [PATCH] prueba de concepto mapero iconos --- labmapero.php | 88 ++++++++++++++++++++------------------------------- maperogl.php | 4 ++- milfs | 2 +- 3 files changed, 38 insertions(+), 56 deletions(-) diff --git a/labmapero.php b/labmapero.php index 943941c..c2453b9 100644 --- a/labmapero.php +++ b/labmapero.php @@ -1,64 +1,44 @@ - + - -Add custom icons with Markers - - - - + + Wildlife Watch + + + + + + + + + - - + -
+ +
- + diff --git a/maperogl.php b/maperogl.php index f775bab..5d751e6 100644 --- a/maperogl.php +++ b/maperogl.php @@ -163,9 +163,11 @@ if (window.location.search.indexOf('embed') !== -1) map.scrollZoom.disable(); + var url= ['get', 'title']; map.loadImage( + // 'https://upload.wikimedia.org/wikipedia/commons/7/7c/201408_cat.png', - ['get', 'title'], + url, function (error, image) { if (error) throw error; map.addImage('imagenIcono', image); diff --git a/milfs b/milfs index 2b8ff89..1721573 160000 --- a/milfs +++ b/milfs @@ -1 +1 @@ -Subproject commit 2b8ff8965fbffef99fef7530705c4a6e93dc1521 +Subproject commit 1721573c8e8131e229b4fb3d0575b12bbcb01975