我已在我的 iOS 应用程序中成功集成 HERE 地图,但现在我在通过点击 HERE 地图上的标记实现信息气泡时遇到问题。我在 HERE 文档中搜索了 iOS SDK,但找不到任何相关内容。JS有很多解决方案,但iOS没有。
问问题
233 次
1 回答
0
这个功能在 iOS 和 Android 上似乎不存在。为了在 iOS 中创建类似的行为,您应该使用NMAMapOverlay
并添加您自己的子视图/样式。
iOS SDK 文档指出NMAMapOverlay can be used to display custom UIView-based content at a fixed location on the map. (...) Then, give the overlay a NMAGeoCoordinates location and add it to a map. The overlay will automatically be repositioned on the screen as the map moves.
您可以在此处找到有关实施最佳实践的更多信息: https ://developer.here.com/documentation/ios-premium/3.15/api_reference_jazzy/Classes/NMAMapOverlay.html
于 2020-06-15T05:39:10.317 回答