geocloud2
geocloud2 copied to clipboard
two issues
- 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'
})
})
}
- 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.
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
Issue number 1: Did you switch your layer to "Vector":
Could you provide a screenshot with the incorrect Chinese characters?
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:
the database is ok, like