我可以在 MapKit 中使用我自己的图块,而不是 Google 的图块吗?

发布于 2024-08-09 00:11:48 字数 432 浏览 2 评论 0原文

我目前正在考虑是否接受客户的建议。基本上,我被要求创建一个 MapView,在地图上的多个位置显示标记,并附加要求使用客户自己的地图图块而不是 Google 地图的图块。

我还不知道客户如何存储他们自己的地图图块,但我确信我能够将它们转换成我需要的任何格式。

  • 是否可以在 MapKit 的 MapView 中使用不同的地图图块?
  • 您有关于此的好的在线文献吗?请问有链接吗?

如果可能的话,我可能必须创建一个将文件发送到设备的服务器。

  • 创建这样一个服务器有多难?是不是只是“设置 apache,完成”?还是还有更多内容?

  • 与仅设置普通 MapView 相比,这两件事有多困难或耗时?

    与仅设置一个普通 MapView 相比,这两件事有多

感谢您的回答。

I'm currently trying to decide wether to accept a client's proposal or not. Basically, I'm asked to create a MapView that displays markers at several locations on a map, with the additional requirement that the client's own map tiles are used instead of Google Maps'.

I do not know yet how the client stores their own map tiles, but I was assured that I'd be able to convert them into any format I'd need.

  • Is it possible to use different map tiles in MapKit's MapView?
  • Do you have good online literature about this? Links please?

If this is possible, I'd propably have to create a server that sends the files to the device.

  • How hard is it to create such a server? Is it just "setup apache, done." or is there more to it?

  • How hard, or time-consuming would both these things be, in relation to just setting up a normal MapView?

Thanks for your answers.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

玩心态 2024-08-16 00:11:49

您不能将自定义图块与 MapKit 一起使用。您只能使用 Google 提供的内容。

创建一个使用自定义标题并可以通过 UIWebView 在 iPhone 上查看的“Google 地图式”网络应用程序会更容易吗?

You can't use custom tiles with MapKit. You're limited to using the ones provided by Google.

It could be easier to create a "Google Maps-ish" web app that uses the custom titles and can be viewed on the iPhone through UIWebView?

や莫失莫忘 2024-08-16 00:11:49

您看过 iPhone 上的替代地图框架吗?我知道至少有一个开源地图引擎,也带有图块(不如 Google 图块,但是嘿)。

其中一组不错的内容如下:

创建 iPhone 地图应用程序

Have you looked at alternate map frameworks on the iPhone? I know there is at least one open source map engine, also with tiles (that are not as good as the Google tiles, but hey).

A decent set of them is here:

Creating an IPhone Map application

雨落□心尘 2024-08-16 00:11:49

在 Google 地图框架内执行此操作的“最简单”方法是将客户端的地图映射为“地面”顶部的纹理。您可以针对不同的缩放系数创建不同分辨率的纹理。然后你根本不需要做任何特殊的编码——一切都会正常工作。

执行此操作的方法是使用映射到地面的 KML 区域。

请参阅:http://earth.google.com/outreach/tutorial_region.html

The "easiest" way to do this within the Google Map framework is simply to map the client's map as a texture on top of the "ground." You can create textures at different resolutions, for different zoom factors. Then you won't need to do any special coding at all --- everything will just work.

The way you do this is with a KML region that maps to ground level.

See: http://earth.google.com/outreach/tutorial_region.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文