adas
This commit is contained in:
parent
cf5956e248
commit
3337f7216e
12
package.json
12
package.json
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "app_mapbuilder",
|
||||
"name": "@timal/app_mapbuilder",
|
||||
"version": "1.0.0",
|
||||
"description": "Svg map builder tools",
|
||||
"main": "index.js",
|
||||
@ -8,9 +8,15 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "http://git.dev.aurora.hub01.site/djerom/app_mapbuilder.git"
|
||||
"url": "http://git.db.timal.kz/djerom/app_mapbuilder.git"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC"
|
||||
"license": "ISC",
|
||||
"directories": {
|
||||
"test": "test"
|
||||
},
|
||||
"publishConfig": {
|
||||
"registry": "https://npm.db.timal.kz/"
|
||||
}
|
||||
}
|
||||
|
||||
@ -8,7 +8,7 @@ function pt(wopt, wwpt, rmm, ppu, style) {
|
||||
}
|
||||
|
||||
function it(rmm, ppu, style) {
|
||||
return SvgNodes.circle(rmm * ppu).add_style(style.wit);
|
||||
return SvgNodes.circle(rmm * ppu).add_style(style);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
||||
@ -27,7 +27,8 @@ function build_pt_layer(wells, settings, style) {
|
||||
const wells_layer = corel_layer("wells");
|
||||
const rings_layer = corel_layer("rings");
|
||||
// Круги
|
||||
rings_layer.append(wells.map((x) => well_ring.pt(x.wopt, x.wwpt, t2r(x.wlpt), ppu, style).move(x.lx, x.ly)));
|
||||
rings_layer.append(wells.map((x) => well_ring.it(t2r(x.wwit), ppu, style.wit).move(x.lx, x.ly)));
|
||||
rings_layer.append(wells.map((x) => well_ring.it(t2r(x.wsit), ppu, style.sit).move(x.lx, x.ly)));
|
||||
|
||||
// Знак скважины
|
||||
wells_layer.append(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user