parent
c7502c9cad
commit
7119006072
@ -93,6 +93,7 @@ function animateTexture() {
|
|||||||
}
|
}
|
||||||
animateTexture()
|
animateTexture()
|
||||||
function createGeo(geoJson) {
|
function createGeo(geoJson) {
|
||||||
|
console.log(geoJson);
|
||||||
|
|
||||||
const group = new THREE.Group()
|
const group = new THREE.Group()
|
||||||
group.info = geoJson
|
group.info = geoJson
|
||||||
@ -168,6 +169,11 @@ function createGeo(geoJson) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (info.properties.adcode > 330000 && info.properties.adcode < 340000) {
|
||||||
|
console.log(info.properties.name);
|
||||||
|
|
||||||
|
}
|
||||||
const div = document.createElement('div')
|
const div = document.createElement('div')
|
||||||
div.innerHTML = info.properties?.name
|
div.innerHTML = info.properties?.name
|
||||||
div.style.color = '#dbdbdb'
|
div.style.color = '#dbdbdb'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user