geocloud2 icon indicating copy to clipboard operation
geocloud2 copied to clipboard

two issues

Open geodyj opened this issue 9 months ago • 3 comments

  1. no effect when setting " point to layer" with the following function:
function(feature, latlng) {
    return L.marker(latlng, {
        icon: L.ExtraMarkers.icon({
            icon: 'fa-home',
            markerColor: 'blue',
            shape: 'circle',
            prefix: 'fa',
            iconColor: '#fff'
        })
    });
}

or

function(feature, latlng) {
    return L.marker(latlng, {
        icon: L.icon({
            iconUrl: "https://geofyn.github.io/mapcentia_vidi_symbols/flaticon/heart.svg",
            iconSize: [25, 25],
            iconAnchor: [12, 12],
            tooltip:'virksomhed'
        })
    })
}
  1. vidi map can not display the Chinese word labels correctly, maybe the source code of vidi don't use UTF-8 encoding? because the database data is displayed OK.

geodyj avatar May 07 '24 01:05 geodyj

and 3) no response when add raster layers, for example, the sample data

  • SIMRAIN_1km_6320_550.tif
  • SIMRAIN_1km_6320_551.tif

and other DEM data

geodyj avatar May 07 '24 02:05 geodyj

Issue number 1: Did you switch your layer to "Vector":

image

Could you provide a screenshot with the incorrect Chinese characters?

mapcentia avatar May 07 '24 06:05 mapcentia

issue 1 is now ok when using font-awesome icon, but CORS happened when using .svg file which located on my own server. issue 2 looks like: image

the database is ok, like image

geodyj avatar May 12 '24 22:05 geodyj