File tree Expand file tree Collapse file tree 4 files changed +7
-1
lines changed
Expand file tree Collapse file tree 4 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 11### Change Log for Node-RED Worldmap
22
3+ - v5.1.1 - Fix CoT inline image.
34 - v5.1.0 - Let special icons be sizeable using iconSize property.
45 - v5.0.9 - Slight tidy on flags, bump turf dep.
56 - v5.0.8 - Fix flag handling for SIDC 2525D, add example.
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ Feel free to [ {
33843384 d . alt = Number ( p . point . hae ) || 9999999 ;
33853385 if ( d ?. alt && parseInt ( d . alt ) == 9999999 ) { delete d . alt ; }
33863386 else { d . alt = d . alt + "m" ; }
3387+ if ( p ?. detail ?. image && p ?. detail ?. image [ '#text' ] ) {
3388+ d . image = p ?. detail ?. image [ '#text' ] ;
3389+ d . image = '<img alt="" src="data:image/webp;base64,' + d . image + '" width="240px"/>' ;
3390+ }
33873391 setMarker ( d ) ;
33883392 }
33893393 else {
You can’t perform that action at this time.
0 commit comments