We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
现有的代码
function getPickedCoordinate(coordinate) { const identifyData = groupLayer.identify(coordinate)[0]; const pickedPoint = identifyData && identifyData.point; if (pickedPoint) { const altitude = map_talk.pointAtResToAltitude(pickedPoint[2], map_talk.getGLRes()); const coordinate = map_talk.pointAtResToCoordinate(new maptalks.Point(pickedPoint[0], pickedPoint[1]), map_talk.getGLRes()); return new maptalks.Coordinate(coordinate.x, coordinate.y, altitude); }else { coordinate['z']=0; return coordinate; } }
改为以下的形式
const identifyData = groupLayer.identify(coordinate)[0]; return identifyData && identifyData.coordinate;
The text was updated successfully, but these errors were encountered:
fix by 7639458
Sorry, something went wrong.
No branches or pull requests
现有的代码
改为以下的形式
The text was updated successfully, but these errors were encountered: