cesiumlab / cesiumlab/XbsjEarthUI

cesium有方法获取指定范围内的实体么

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
documentation question
Dominant language
JavaScript
Stars
734
Forks
193
PR merge metrics
No merged PRs in 30d

Description

![image](https://user-images.githubusercontent.com/13550568/68556472-658e6a80-046d-11ea-8575-65ee53f1e9e6.png)

cesium没有框选,earthsdk有一个扩展的方法,叫xbsjBoxPick,可以获取指定范围内的对象。
参数pos1和pos2, 窗口坐标,形式 {x: 123, y: 456}
返回值是结果
这个函数还没有对外开放,api文档中找不到,也没有示例,只能您自行试试了

![image](https://user-images.githubusercontent.com/13550568/68556502-835bcf80-046d-11ea-9e49-25d2cdd33883.png)

xbsjBoxPickMixinh函数,在加载时调用;
需要框选的地方调用 xbsjBoxPick方法。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the public API and examples for xbsjBoxPickMixin and xbsjBoxPick, using the issue description and the repository's Cesium/EarthSDK integration as entry points. Determine whether the range-selection method should be exposed, documented, or demonstrated; done means a user can find and use the specified-coordinate selection behavior through the project API.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.