在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:googlemaps/google-maps-ios-utils开源软件地址:https://github.com/googlemaps/google-maps-ios-utils开源编程语言:Objective-C 75.3%开源软件介绍:Google Maps SDK for iOS Utility LibraryDescriptionThis open-source library contains classes that are useful for a wide range of applications using the Google Maps SDK for iOS.
Requirements
InstallationCocoaPodsIn your use_frameworks!
target 'TARGET_NAME' do
pod 'Google-Maps-iOS-Utils', '~> 4.1.0'
end Replace $ pod install CarthageIn your
See the Carthage doc for further installation instructions. Swift Package ManagerNote: This feature is only available with Swift 5.3 (Xcode 12) or later. Add the following to your
In addition to this, you will also have to include the Samples and Example Usagee.g. Displaying KML data import GoogleMapsUtils
func renderKml() {
// Parse KML
let path: String = // Path to your KML file...
let kmlUrl = URL(fileURLWithPath: path)
let kmlParser = GMUKmlParser(url: kmlUrl)
kmlParser.parse()
// Render parsed KML
let renderer = GMUGeometryRenderer(
map: mapView,
geometries: kmlParser.placemarks,
styles: kmlParser.styles,
styleMaps: kmlParser.styleMaps
)
renderer.render()
} You can see more example usages in our sample projects. Developing
SupportEncounter an issue while using this library? If you find a bug or have a feature request, please file an issue. Or, if you'd like to contribute, please refer to our contributing guide and our code of conduct. You can also reach us on our Discord channel. For more information, check out the detailed guide on the Google Developers site. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论