问题标签 [android-mapview]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
10049 浏览

android - 如何在给定坐标的地图视图上画线?

如何在MapView给定的坐标上画线?

AFAIK,在 iPhone 上是可能的。

请指教。

提前致谢。

0 投票
4 回答
7809 浏览

android - Android Hello Map View problems on the emulator

I'm trying to run the Android Hello Map View tutorial app on the Android emulator. The Google Map view displays, but the tiles are blank.

Judging by the errors below (taken from LogCat) the app is unable to connect to the internet. The web browser on the emulator connects without problems. I've also double-checked the API key.

I'm using the 1.5 Google APIs SDK, from Eclipse Galileo, on Windows XP SP3, behind a corporate firewall.

I've tried two methods to add proxy information:

  1. Add -http-proxy http://www.foo.co.uk:80 to Additional Emulator Command Line Options in the Target Page in Debug Configurations.

  2. Remove settings in 1. and add proxy information at Home > Menu > Settings > Wireless Controls > Mobile Networks > Access Point Names.

Neither seems to help.

Any other ideas? Should I be adding proxy information within the app? If so, how?

Sam Dutton


AMENDMENT: internet permission has been added to the manifest application element:


0 投票
2 回答
1792 浏览

android - 如何从 MapView 中删除标签?

我正在尝试制作没有标签的卫星视图(通过 MapView)。我怎样才能做到这一点?

0 投票
1 回答
3686 浏览

android - 当用户点击 MapView 中的 OverlayItem 时显示一个简单的文本标签/描述气泡

我想通过显示一个在触发 onTap 事件时为特定项目显示的简单文本标签来进一步注释我放置在 MapView 上的自定义标记(使用 ItemizedOverlay)。

这是 Google Maps JavaScript API 和 iPhone 上的 MapKit 中的一个简单练习,但对我来说,在 Android 上最好或最简单的方法并不明显。

0 投票
5 回答
38524 浏览

android - Android - 无法在 MapView 示例中找到 com.google.settings 的提供者信息

我正在尝试实现在 Android Hello Views 示例中定义的 MapView 示例,但现在我遇到了这个错误:

知道为什么会这样吗?

0 投票
7 回答
61551 浏览

android - 在Android中通过经度和纬度获取高度

有没有一种快速有效的方法在Android平台上通过经纬度获取高度(海拔)?

0 投票
4 回答
4702 浏览

android - Android Mapview 平移和缩放太慢

我开发了一个GPS应用程序,我在其中记录用户根并在地图上显示.......但是在查看我的路线时在地图上四处移动非常缓慢,至少需要 4 或 5 秒地图响应手指滑动......

我已经覆盖了该onDraw() 方法并绘制线条以显示路线......有没有更好的方法来做到这一点,以便平移变得更快"MyTracks"............

谢谢大家...... Pratap S.

0 投票
3 回答
8748 浏览

android - Android MapView + Tab 示例

我需要在选项卡上有一个地图视图。附加的示例显示了如何在使用意图时执行此操作。现在我想更改地图视图的缩放级别。尽管我使用的是意图(或者有完全不同的解决方案),但我该怎么做?

活动代码:

布局代码:

谢谢

0 投票
3 回答
847 浏览

iphone - 新地图应用程序中的iphone地图折叠按钮

有谁知道新地图应用程序工具栏右上角的按钮名称是什么?它是展开地图的按钮,下方的视图提供了在地图模式之间切换的按钮。如果它是 SDK 的一部分,我想在我的地图应用程序中使用它!

编辑:

感谢您的回答!

什么是未记录的方法?为什么你可以使用这些东西,但 Apple 并不真正想要它?它会在未来的 SDK 中发布吗?我认为创建一个具有所有开发人员都无法使用的功能的应用程序没有意义。这是很多问题,请向我指出资源,如果您知道的话,我可以在其中找到有关此过程的更多信息(例如您从哪里知道这一切)?

另外,我在哪里可以找到视图的动画类型,比如 Cory 提到的那种?

0 投票
3 回答
2089 浏览

iphone - 在 iphone MapView 上绘制从一个位置到另一个位置的路径

我想绘制从一个位置到另一个位置的路径。如何绘制两个位置之间的路径。

我有两个位置的坐标(纬度,经度)。

我怎样才能实现这个功能?

谢谢,
吉姆。