forked from AMap-Web/layer-3dtiles
-
Notifications
You must be signed in to change notification settings - Fork 5
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
在3D地图上的模型上添加标记,如何才能让标记随着模型旋转而不飘逸? #4
Comments
就是旋转模型,标记点不随着模型旋转 |
你旋转模型的时候地图必定会被移动,那么标记肯定也会移动,这个事没啥问题 |
还是有点问题的,可以用Text创建标记点吗? |
可以在模型上标记文本吗? |
模型上肯定不能直接标记文本,只能把文本标记到模型所在位置 |
看不到东西 |
要在下载来看 |
这个没办法,jsdelivr老是被强,不行的话你就自己把threejs里面 draco目录复制到自己的public下吧,然后初始化插件的时候改下dracoPath |
肯定啊,说明你配置的地址就不对,这个得根据你用的框架之类的自己调整,我所说的public指的是你项目开放的目录,具体放哪你根据项目自己调整 |
不能直接下载npm包吗? |
你加载的路径不对,肯定会报错,得自己调整 |
这个需要的是路径,你直接import没有任何意义,它还需要加载那个文件夹下其他东西,所以必须是整个文件夹都开放出来 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Originally posted by @Bana0 in #1 (comment)
你说的漂移是什么,目前标记只是基于经纬度,但模型是带高度之类的,如果是普通的marker肯定不行,可以用loca里面的图标之类的,那些是可以带高程的
The text was updated successfully, but these errors were encountered: