GeoDaoyu


  • Home

  • About

  • Tags

  • Categories

  • Archives

  • Search

GeoJSONLayer不能被hitTest选中

Posted on 2025-02-10 | Post modified: 2025-02-10 | In ArcGIS JS API
Words count in article: 82 | Reading time ≈ 1

问题

在三维下,使用GeoJSONLayer加载的GeoJSON文件,不能被hitTest选中。

调试

写测试页面调试,发现是GeoJSON数据中带有z值, 且均为0。

解决方案

法一:数据上处理,把z值都过滤掉。

法二:设置GeoJSONLayer的elevationInfo.mode属性为on-the-ground。

法三:设置GeoJSONLayer的hasZ属性为false。

sicp学习资料

Posted on 2024-06-24 | Post modified: 2024-06-24 | In CS
Words count in article: 50 | Reading time ≈ 1

在线书籍:

https://sourceacademy.org/sicpjs/foreword02

实体书(JavaScript版本)有中文版:

https://book.douban.com/subject/36787585/

课后习题答案(中文):

https://sicp.readthedocs.io/en/latest/index.html

官方github:

https://github.com/source-academy/sicp

iframe滚动条

Posted on 2024-04-17 | Post modified: 2024-04-17 | In CSS
Words count in article: 90 | Reading time ≈ 1

系统中嵌入了iframe,设置了100%高度,但是iframe中还是出现了滚动条。

查询资料发现,iframe是内联元素,默认与baseline对齐。在iframe后有一个行内空白节点,空白节点始终占据着高度,导致外部容器被撑开,出现滚动条。

解决方法:设置iframe的vertical-align:top;

linux安装docker和jenkins

Posted on 2024-01-30 | Post modified: 2024-07-29 | In Linux
Words count in article: 443 | Reading time ≈ 2

背景

给一台新服务器安装Docker和Jenkins,做前端应用部署使用。

服务器是CentOS7,已经安装了Nginx,可以联网。

Read more »

linux搭建samba

Posted on 2024-01-30 | Post modified: 2024-01-30 | In Linux
Words count in article: 356 | Reading time ≈ 1

背景

Samba是在Linux系统上实现SMB协议的一个免费软件。SMB(Server Messages Block,信息服务块)是一种在局域网上共享文件和打印机的一种通信协议,它为局域网内的不同计算机之间提供文件及打印机等资源的共享服务。

需求是给linux服务器安装samba,共享文件夹给windows桌面机。

Read more »

内网Linux安装neo4j

Posted on 2023-11-14 | Post modified: 2024-04-17 | In Java
Words count in article: 234 | Reading time ≈ 1

背景

某项目,在内网的统信(Linux)系统下安装neo4j。

neo4j是一个图数据库。安装需要Java环境(安装OpenJDK)。

Read more »

内网Linux安装OpenJDK

Posted on 2023-11-14 | Post modified: 2023-11-14 | In Java
Words count in article: 131 | Reading time ≈ 1

背景

某项目,在内网的统信(Linux)系统下安装OpenJDK。

Read more »

内网Linux部署Nginx

Posted on 2023-11-14 | Post modified: 2023-11-14 | In Nginx
Words count in article: 202 | Reading time ≈ 1

背景

某项目,在内网的统信(Linux)系统下通过编译安装的方式部署Nginx。

Read more »

使用中间件解耦业务流函数

Posted on 2023-10-10 | Post modified: 2023-10-13 | In JavaScript
Words count in article: 1.1k | Reading time ≈ 5

前置条件

  • 听说过AOP(面向切面编程),了解中间件、洋葱模型等概念
  • 了解Redux、Koa的中间件的使用
  • 一点函数式编程技巧(方便阅读redux源码)
    Read more »

css多背景拼接

Posted on 2023-09-25 | Post modified: 2023-09-25 | In CSS
Words count in article: 53 | Reading time ≈ 1

多背景,要求上面 400px 是渐变色,下面全部是纯色。

1
2
3
4
5
6
7
8
9
body {
background-image: linear-gradient(
180deg,
#8392bb 0%,
rgba(232, 234, 241, 0) 100%
), linear-gradient(180deg, #e8eaf1 0%, #e8eaf1 100%);
background-size: 100% 400px, 100%;
background-repeat: no-repeat, repeat-y;
}
12…5
GeoDaoyu

GeoDaoyu

GeoDaoyu's personal page

49 posts
15 categories
58 tags
GitHub E-Mail
© 2020 — 2025 GeoDaoyu | Site words total count: 31.2k
Powered by Hexo
|
Theme — NexT.Pisces v5.1.4