检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:张绍泽 任磊[1] ZHANG Shaoze;REN Lei
机构地区:[1]中国电子科技集团公司第二十研究所,西安710068
出 处:《现代导航》2019年第1期34-38,共5页Modern Navigation
摘 要:Google Maps由于其丰富的地图资源,使其在基于地图信息的程序中得到广泛应用。Unity由于其上手容易、高效的渲染性能,使其成为最近几年2D和3D程序开发的热门选择。尽管Google提供了Google Maps的应用程序接口,但是这些接口在Unity中无法直接使用。因此,如何在Unity中实现Google Maps的可视化及交互,成为在Unity中开发基于Google Maps程序的难点。为了解决以上问题,本文提出了Google Maps在Unity中的可视化及交互方法。将RawImage组件作为地图瓦片的可视化载体,通过多个地图瓦片的有序拼接实现Google Maps的可视化。在与Google Maps进行交互时,根据鼠标操作对地图瓦片进行更新,实现Google Maps的平移和缩放。实验结果表明提出的方法可以有效地显示、平移和缩放GoogleMaps,并可以在其基础上进行基于Google Maps的程序开发。Google Maps is widely used in map information-based programs because of its abundant map resources. Unity has become a popular choice in the development of 2D and 3D programs in recent years because of its easy operation and high rendering performance. Although Google provides application interfaces for Google Maps, these interfaces cannot be used directly in Unity. Therefore, how to realize the visualization and interaction of Google Maps in Unity becomes a difficulty in developing application based on Google Maps in Unity. In order to solve the above problem, this paper proposes a method of visualization and interaction Google Maps in Unity. Raw Image component is used as the visualization object of map tiles, and the visualization of Google Maps is realized by orderly splicing of multiple map tiles. When interacting with Google Maps, map tiles are updated according to mouse operation to realize translation and zooming of Google Maps. The experimental results show that the proposed method can effectively display, translate and zoom Google Maps, and can be used to develop programs based on Google Maps.
关 键 词:UNITY GOOGLE MAPS 可视化 交互
分 类 号:V241[航空宇航科学与技术—飞行器设计]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222