prueba de concepto mapero iconos

This commit is contained in:
humano 2020-05-13 14:32:13 -05:00
parent 0864124180
commit e088fcf3dc
3 changed files with 38 additions and 56 deletions

File diff suppressed because one or more lines are too long

View File

@ -163,9 +163,11 @@
if (window.location.search.indexOf('embed') !== -1) map.scrollZoom.disable(); if (window.location.search.indexOf('embed') !== -1) map.scrollZoom.disable();
var url= ['get', 'title'];
map.loadImage( map.loadImage(
// 'https://upload.wikimedia.org/wikipedia/commons/7/7c/201408_cat.png', // 'https://upload.wikimedia.org/wikipedia/commons/7/7c/201408_cat.png',
['get', 'title'], url,
function (error, image) { function (error, image) {
if (error) throw error; if (error) throw error;
map.addImage('imagenIcono', image); map.addImage('imagenIcono', image);

2
milfs

@ -1 +1 @@
Subproject commit 2b8ff8965fbffef99fef7530705c4a6e93dc1521 Subproject commit 1721573c8e8131e229b4fb3d0575b12bbcb01975