是否可以隐藏地图,但只显示标记Android谷歌地图 [英] Is it possible to hide Map but show only markers Android Google Maps

查看:235
本文介绍了是否可以隐藏地图,但只显示标记Android谷歌地图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图创建一个基于位置的增强现实应用,它在相机视图顶部绘制标记。



图书馆和教程的过时和过时4岁以上也不稳定。以下是我尝试过并失败的事情的链接。





因为我找不到任何图书馆我米刨使用谷歌地图,它根据摄像头,支持模拟AR旋转。所以我打算只显示标记并隐藏Google地图视图。如果这是可能的,我可以很容易地创建一个基于位置的AR应用程序。



是否可以隐藏地图但显示标记或是否有任何我错过的图书馆?

解决方案

我相信如果不在地图上显示标记,就不能使用标记。它的主要目的是确定地图上的位置。我的建议是,您可以使用自己的自定义叠加层来显示标记的项目。

blogspot.com/2015/04/sun-surveyor-brings-augmented-reality.htmlrel =nofollow> Sun Surveyor ,它与您将要做的不一样,但是覆盖信息的想法似乎是合理的(正如您提供的教程链接所示)。

I am trying to create a Location based augmented reality app which plots marker on top of the camera view.

Mose of the libraries and tutorials are outdated and they are 4+ years old also not stable. Below is the link to things which i have tried and failed.

Links to libraries

Link to tutorial

Link to stack

Im trying to create something like below image which is an iOS app developed using HDAugmentedReality which is very stable and does not overlap.

Since i could not find any library I'm planing to use Google Maps, It rotates according to camera with simulates AR. So i am planning to show only the markers and hide the Google Map View. If this is possible i can easily create an Location based AR app..

Is it possible to hide Maps but show Markers or is there any library which i missed? Thanks in advance .

解决方案

I believe you can't use the Markers without showing it on Maps. The main purpose of it is to identify the location on a map. My suggestion would be for you to use your own custom overlay for the marked items you'll show.

Check out the Sun Surveyor, its not similar to what you'll do, but the idea of overlaying the information seems plausible (as indicated on the tutorial link you provided).

这篇关于是否可以隐藏地图,但只显示标记Android谷歌地图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆