Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在我的项目中显示带有当前用户位置的地图。
我想使用 RouteMe 代码而不是谷歌地图。我为此搜索了示例,但没有找到。
有谁知道我该怎么做???
谢谢。
你是如何嵌入 RMMapView 的?以编程方式还是使用 NIB?如果您使用的是 NIB,我无法帮助您,因为 RMMapView 无法正确初始化。
如果您以编程方式嵌入它,只需使用 CoreLocation 获取您的当前位置并使用 RMMapView 的“moveToLatLon”方法转到当前位置。
那是你要找的吗?