iOS如何使MapKit显示自定义室内地图? [英] iOS how can I make MapKit display custom indoor map?

查看:135
本文介绍了iOS如何使MapKit显示自定义室内地图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建我正在工作的办公室的地图.我有一个高分辨率的图像,并希望按照用户前进的方向自动旋转图像,从而允许用户在地图上导航.我认为可以使用CoreMotion/CoreLocation和UIScrollView来完成此操作,但这似乎涉及一些工作.

I'm trying to create a map of the office I'm working at. I have a high resolution image, and would like to autorotate it in the direction the user is heading, allowing the user to navigate around the map. I thought this could be accomplished using CoreMotion/CoreLocation and a UIScrollView, but this seems like there's some work involved.

所以我想知道是否有更简单的解决方案来组合自定义地图和该地图上的方向/位置-MapKit可以为我处理吗?还有其他框架可以帮助我显示带有指南针方向的本地2D地图吗?

So I'm wondering if there are easier solutions for combining a custom map and direction/position on that map - can MapKit handle this for me? Are there other frameworks that can help me show a local 2D map with compass orientation on it?

推荐答案

您可以使用 TileMill轻松地将高分辨率图像转换为地图图块.

这篇关于iOS如何使MapKit显示自定义室内地图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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