Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geometry add interactive #781

Merged
merged 2 commits into from
Sep 14, 2018
Merged

geometry add interactive #781

merged 2 commits into from
Sep 14, 2018

Conversation

treasureMoment
Copy link
Contributor

geometry add interactive

@fuzhenn
Copy link
Member

fuzhenn commented Sep 13, 2018

谢谢!基本没问题了,不过还有两个小修改麻烦修改一下:

有三个lint错误需要修改一下:
image

你可以在本地用npm run lint来验证。

另外isInteractive和setInteractive方法有点多余,可以删掉,options的设置可以直接用:

geometry.config('interactive', false);

这样可以和其他属性如editable等保持一致

@treasureMoment
Copy link
Contributor Author

好的。我调整下,然后重新提交下

@treasureMoment
Copy link
Contributor Author

isInteractive 是获取判断用的。这个得有个吧。我是看你的判断有个isVisible 我才加的

@fuzhenn
Copy link
Member

fuzhenn commented Sep 14, 2018

ok,isInteractive可以保留。👍

@fuzhenn fuzhenn merged commit fad94bb into maptalks:master Sep 14, 2018
alex2wong pushed a commit to alex2wong/maptalks.js that referenced this pull request Sep 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants