5

We need a graphical component (view) for rendering maps from any WMS services for Android andn iOS. My researches only show that there is basically only the Google Maps API available as Android/iOS library (MapView).

Before programming a WMS view lib by ourselves, are there any (free or licensed) WMS view libraries for those OSses available, which can be used in own apps? We tried using OpenLayers in a WebView, which is not really satisfying from a performance point of view.

thanks for your help

4

5 回答 5

2

Nutieq SDK可以做到这一点。WMS 示例适用于 EPSG:4326,但 SDK 还支持其他投影,您可以修改地图类以使用它们。免责声明:我是它的开发者。

2016 年更新:更新链接,删除过时的 3 年旧参考

于 2012-08-14T05:05:49.700 回答
2

我已经尝试为此使用 Osmdroid API,但仍然没有成功。这需要修改几个 java 类,如 XYTileSource 和 BitmapTileSourceBase。

Android Market 中有一些应用程序可以使它像 OruxMaps 一样完美地工作,但没有用于开发的 API。: (

于 2012-07-06T14:53:10.370 回答
2

我认为这将符合您的要求: https ://confluence.prodevelop.es/display/GVMN/Home

从他们的主页:

gvSIG Mini 是一个免费查看器,可查看基于图块(OpenStreetMap、YahooMaps、Microsoft Bing 等)的免费访问地图,具有 WMS、WMS-C 客户端、地址和 POI 搜索、路线、混合位置等等。它以在线/离线模式运行。

虽然它被打包为应用程序而不是库,但源代码是可用的(GPL),因此您应该能够提取您需要的内容:

于 2011-12-28T01:06:00.963 回答
0

看看OpenStreetMap。它提供适用于 iOS 和 Android 的地图

  1. http://wiki.openstreetmap.org/wiki/Apple_iOS
  2. http://wiki.openstreetmap.org/wiki/Android

API - http://wiki.openstreetmap.org/wiki/API_v0.6

希望,这对你有帮助。

于 2011-12-02T08:35:08.780 回答
0

We are using the openlayers client. Yes I know it's a Web Client but you can use it in your WebView.

http://openlayers.org/

https://openlayersbook.github.io/ch10-openlayers-goes-mobile/example-01.html

I have a few apps with openlayers maps. Some of these uses online map servers and some uses tiles stored inside the app (offline maps).

For interactions with webView, we use JavaScriptInjections

于 2016-02-11T08:53:01.873 回答