Giter VIP home page Giter VIP logo

aterite / google-maps-ios-utils Goto Github PK

View Code? Open in Web Editor NEW

This project forked from googlemaps/google-maps-ios-utils

1.0 1.0 1.0 15.35 MB

DEPRECATED: Original project now also supports the dynamic frameworks. Utility library for Google Maps SDK for iOS. Modified to use with dynamic framework dependencies in Podfile

Home Page: https://developers.google.com/maps/documentation/ios-sdk/utility/

License: Apache License 2.0

Ruby 0.44% Objective-C 86.22% C 0.35% Objective-C++ 0.75% Swift 12.24%

google-maps-ios-utils's Introduction

Run unit tests pod Carthage compatible GitHub contributors Apache-2.0

Google Maps SDK for iOS Utility Library

Description

This open-source library contains classes that are useful for a wide range of applications using the Google Maps SDK for iOS.

Requirements

  • iOS 9.0+
  • CocoaPods

Installation

In your Podfile:

use_frameworks!

target 'TARGET_NAME' do
    pod 'Google-Maps-iOS-Utils', '~> 3.4.1'
end

Replace TARGET_NAME and then, in the Podfile directory, type:

$ pod install

In your Cartfile:

github "googlemaps/google-maps-ios-utils" ~> 3.4.1

See the Carthage doc for further installation instructions.

Note: This feature is only available with Swift 5.3 (Xcode 12) or later.

Add the following to your dependencies value of your Package.swift file.

dependencies: [
  .package(
    url: "https://github.com/googlemaps/google-maps-ios-utils.git",
    .upToNextMinor(from: "3.4.1")
  )
]

Samples and Example Usage

e.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.

Support

Encounter 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.

google-maps-ios-utils's People

Contributors

adapptorsimon avatar amuramoto avatar arriolac avatar blurpy avatar chainedtothewoods avatar dion-loetscher avatar domesticmouse avatar farshadmb avatar h4j4x avatar haimingxu679 avatar hansemannn avatar ihacksubhodip avatar it-sam avatar jpoehnelt avatar jschmid avatar jum avatar kostrzynski avatar lhasiuk avatar lommelun avatar mandisaw avatar mangerlahn avatar markmcd avatar mountainvat avatar ryanecrist avatar semantic-release-bot avatar sonxurxo avatar sviklim avatar takadimi avatar tilps avatar willum070 avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

alfclausen

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.