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",
|
"version": "1.0.0",
|
||||||
"description": "Svg map builder tools",
|
"description": "Svg map builder tools",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
@ -8,9 +8,15 @@
|
|||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "http://git.dev.aurora.hub01.site/djerom/app_mapbuilder.git"
|
"url": "http://git.db.timal.kz/djerom/app_mapbuilder.git"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"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) {
|
function it(rmm, ppu, style) {
|
||||||
return SvgNodes.circle(rmm * ppu).add_style(style.wit);
|
return SvgNodes.circle(rmm * ppu).add_style(style);
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|||||||
@ -27,7 +27,8 @@ function build_pt_layer(wells, settings, style) {
|
|||||||
const wells_layer = corel_layer("wells");
|
const wells_layer = corel_layer("wells");
|
||||||
const rings_layer = corel_layer("rings");
|
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(
|
wells_layer.append(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user