diff --git a/Gemfile.lock b/Gemfile.lock index 47b21a0..4337ea9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ GEM remote: https://rubygems.org/ specs: - activesupport (4.2.5) + activesupport (4.2.6) i18n (~> 0.7) json (~> 1.7, >= 1.7.7) minitest (~> 5.1) @@ -30,8 +30,9 @@ GEM cocoapods-downloader (0.9.3) cocoapods-plugins (0.4.2) nap - cocoapods-rome (0.3.0) + cocoapods-rome (0.4.2) cocoapods (>= 0.38.0) + fourflusher (~> 0.3.0) cocoapods-search (0.1.0) cocoapods-stats (0.6.2) cocoapods-trunk (0.6.4) @@ -40,12 +41,13 @@ GEM cocoapods-try (0.5.1) colored (1.2) escape (0.0.4) + fourflusher (0.3.0) fuzzy_match (2.0.4) i18n (0.7.0) json (1.8.3) - minitest (5.8.3) - molinillo (0.4.0) - nap (1.0.0) + minitest (5.8.4) + molinillo (0.4.4) + nap (1.1.0) netrc (0.7.8) thread_safe (0.3.5) tzinfo (1.2.2) @@ -61,3 +63,6 @@ PLATFORMS DEPENDENCIES cocoapods cocoapods-rome + +BUNDLED WITH + 1.11.2 diff --git a/Mapbox.xcodeproj/project.pbxproj b/Mapbox.xcodeproj/project.pbxproj new file mode 100644 index 0000000..6e0c664 --- /dev/null +++ b/Mapbox.xcodeproj/project.pbxproj @@ -0,0 +1,188 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXFileReference section */ + E49374151C90C8FA00A94596 /* Mapbox.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Mapbox.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + E49374211C90C94500A94596 /* Mapbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Mapbox.framework; path = "Pods/Mapbox-iOS-SDK/dynamic/Mapbox.framework"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXGroup section */ + E493740B1C90C8FA00A94596 = { + isa = PBXGroup; + children = ( + E49374211C90C94500A94596 /* Mapbox.framework */, + E49374161C90C8FA00A94596 /* Products */, + ); + sourceTree = ""; + }; + E49374161C90C8FA00A94596 /* Products */ = { + isa = PBXGroup; + children = ( + E49374151C90C8FA00A94596 /* Mapbox.framework */, + ); + name = Products; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + E49374141C90C8FA00A94596 /* Mapbox */ = { + isa = PBXNativeTarget; + buildConfigurationList = E493741D1C90C8FA00A94596 /* Build configuration list for PBXNativeTarget "Mapbox" */; + buildPhases = ( + E49374231C90D37000A94596 /* Replace Framework */, + E49374241C90D61B00A94596 /* Strip Invalid Architectures */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Mapbox; + productName = Mapbox; + productReference = E49374151C90C8FA00A94596 /* Mapbox.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + E493740C1C90C8FA00A94596 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0720; + ORGANIZATIONNAME = "Automatic Labs"; + TargetAttributes = { + E49374141C90C8FA00A94596 = { + CreatedOnToolsVersion = 7.2.1; + }; + }; + }; + buildConfigurationList = E493740F1C90C8FA00A94596 /* Build configuration list for PBXProject "Mapbox" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = E493740B1C90C8FA00A94596; + productRefGroup = E49374161C90C8FA00A94596 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + E49374141C90C8FA00A94596 /* Mapbox */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXShellScriptBuildPhase section */ + E49374231C90D37000A94596 /* Replace Framework */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "Replace Framework"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "rm -rf $BUILT_PRODUCTS_DIR/Mapbox.framework\ncp -R Pods/Mapbox-iOS-SDK/dynamic/Mapbox.framework $BUILT_PRODUCTS_DIR"; + }; + E49374241C90D61B00A94596 /* Strip Invalid Architectures */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + $BUILT_PRODUCTS_DIR/Mapbox.framework, + ); + name = "Strip Invalid Architectures"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "# This script strips all non-valid architectures from dynamic libraries in\n# the build output directory.\n#\n# This is required since the framework is being replaced\n# with a fat binary in the previous run script, otherwise carthage\n# would fail during its fat binary creation phase due to similar\n# architectures.\n#\n#\n# The following environment variables are required:\n#\n# BUILT_PRODUCTS_DIR\n# VALID_ARCHS\n# EXPANDED_CODE_SIGN_IDENTITY\n\n\n# Signs a framework with the provided identity\ncode_sign() {\n # Use the current code_sign_identitiy\n echo \"Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}\"\n echo \"/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements $1\"\n /usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} --preserve-metadata=identifier,entitlements \"$1\"\n}\n\necho \"Stripping frameworks\"\ncd \"${BUILT_PRODUCTS_DIR}\"\n\nfor file in $(find . -type f -perm +111); do\n # Skip non-dynamic libraries\n if ! [[ \"$(file \"$file\")\" == *\"dynamically linked shared library\"* ]]; then\n continue\n fi\n # Get architectures for current file\n archs=\"$(lipo -info \"${file}\" | rev | cut -d ':' -f1 | rev)\"\n stripped=\"\"\n for arch in $archs; do\n if ! [[ \"${VALID_ARCHS}\" == *\"$arch\"* ]]; then\n # Strip non-valid architectures in-place\n lipo -remove \"$arch\" -output \"$file\" \"$file\" || exit 1\n stripped=\"$stripped $arch\"\n fi\n done\n if [[ \"$stripped\" != \"\" ]]; then\n echo \"Stripped $file of architectures:$stripped\"\n if [ \"${CODE_SIGNING_REQUIRED}\" == \"YES\" ]; then\n code_sign \"${file}\"\n fi\n fi\ndone"; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + E493741B1C90C8FA00A94596 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1; + SDKROOT = iphoneos; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + E493741C1C90C8FA00A94596 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 1; + SDKROOT = iphoneos; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + E493741E1C90C8FA00A94596 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = Mapbox/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.automatic.Mapbox; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + }; + name = Debug; + }; + E493741F1C90C8FA00A94596 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = Mapbox/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.automatic.Mapbox; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + E493740F1C90C8FA00A94596 /* Build configuration list for PBXProject "Mapbox" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E493741B1C90C8FA00A94596 /* Debug */, + E493741C1C90C8FA00A94596 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + E493741D1C90C8FA00A94596 /* Build configuration list for PBXNativeTarget "Mapbox" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + E493741E1C90C8FA00A94596 /* Debug */, + E493741F1C90C8FA00A94596 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = E493740C1C90C8FA00A94596 /* Project object */; +} diff --git a/Mapbox.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Mapbox.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..b0021f7 --- /dev/null +++ b/Mapbox.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Pods-Mapbox-iOS-SDK.xcscheme b/Mapbox.xcodeproj/xcshareddata/xcschemes/Mapbox.xcscheme similarity index 74% rename from Pods/Pods.xcodeproj/xcshareddata/xcschemes/Pods-Mapbox-iOS-SDK.xcscheme rename to Mapbox.xcodeproj/xcshareddata/xcschemes/Mapbox.xcscheme index adde1c1..58f2679 100644 --- a/Pods/Pods.xcodeproj/xcshareddata/xcschemes/Pods-Mapbox-iOS-SDK.xcscheme +++ b/Mapbox.xcodeproj/xcshareddata/xcschemes/Mapbox.xcscheme @@ -1,6 +1,6 @@ + BlueprintName = "Mapbox" + ReferencedContainer = "container:Mapbox.xcodeproj"> @@ -45,10 +45,10 @@ + BlueprintName = "Mapbox" + ReferencedContainer = "container:Mapbox.xcodeproj"> @@ -60,6 +60,15 @@ savedToolIdentifier = "" useCustomWorkingDirectory = "NO" debugDocumentVersioning = "YES"> + + + + diff --git a/Mapbox/Info.plist b/Mapbox/Info.plist new file mode 100644 index 0000000..d3de8ee --- /dev/null +++ b/Mapbox/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSPrincipalClass + + + diff --git a/Podfile.lock b/Podfile.lock index 37d4481..93f53d9 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -1,10 +1,10 @@ PODS: - - Mapbox-iOS-SDK (3.0.0) + - Mapbox-iOS-SDK (3.1.2) DEPENDENCIES: - Mapbox-iOS-SDK SPEC CHECKSUMS: - Mapbox-iOS-SDK: 5e7bafc554a15ebfc615d8b0fa0a0b5d31faac70 + Mapbox-iOS-SDK: 0a910c2cce1aa8cff5b9ec2a990e7a32332a776a COCOAPODS: 0.39.0 diff --git a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLAccountManager.h b/Pods/Headers/Private/Mapbox-iOS-SDK/MGLAccountManager.h deleted file mode 120000 index c333335..0000000 --- a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLAccountManager.h +++ /dev/null @@ -1 +0,0 @@ -../../../Mapbox-iOS-SDK/Headers/MGLAccountManager.h \ No newline at end of file diff --git a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLAnnotation.h b/Pods/Headers/Private/Mapbox-iOS-SDK/MGLAnnotation.h deleted file mode 120000 index 45d78bf..0000000 --- a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLAnnotation.h +++ /dev/null @@ -1 +0,0 @@ -../../../Mapbox-iOS-SDK/Headers/MGLAnnotation.h \ No newline at end of file diff --git a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLAnnotationImage.h b/Pods/Headers/Private/Mapbox-iOS-SDK/MGLAnnotationImage.h deleted file mode 120000 index c11b7b4..0000000 --- a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLAnnotationImage.h +++ /dev/null @@ -1 +0,0 @@ -../../../Mapbox-iOS-SDK/Headers/MGLAnnotationImage.h \ No newline at end of file diff --git a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLGeometry.h b/Pods/Headers/Private/Mapbox-iOS-SDK/MGLGeometry.h deleted file mode 120000 index b9e7bc1..0000000 --- a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLGeometry.h +++ /dev/null @@ -1 +0,0 @@ -../../../Mapbox-iOS-SDK/Headers/MGLGeometry.h \ No newline at end of file diff --git a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLMapCamera.h b/Pods/Headers/Private/Mapbox-iOS-SDK/MGLMapCamera.h deleted file mode 120000 index 500fe8c..0000000 --- a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLMapCamera.h +++ /dev/null @@ -1 +0,0 @@ -../../../Mapbox-iOS-SDK/Headers/MGLMapCamera.h \ No newline at end of file diff --git a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLMapView+IBAdditions.h b/Pods/Headers/Private/Mapbox-iOS-SDK/MGLMapView+IBAdditions.h deleted file mode 120000 index dfc2a20..0000000 --- a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLMapView+IBAdditions.h +++ /dev/null @@ -1 +0,0 @@ -../../../Mapbox-iOS-SDK/Headers/MGLMapView+IBAdditions.h \ No newline at end of file diff --git a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLMapView.h b/Pods/Headers/Private/Mapbox-iOS-SDK/MGLMapView.h deleted file mode 120000 index 899db59..0000000 --- a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLMapView.h +++ /dev/null @@ -1 +0,0 @@ -../../../Mapbox-iOS-SDK/Headers/MGLMapView.h \ No newline at end of file diff --git a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLMultiPoint.h b/Pods/Headers/Private/Mapbox-iOS-SDK/MGLMultiPoint.h deleted file mode 120000 index 40e4acd..0000000 --- a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLMultiPoint.h +++ /dev/null @@ -1 +0,0 @@ -../../../Mapbox-iOS-SDK/Headers/MGLMultiPoint.h \ No newline at end of file diff --git a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLOverlay.h b/Pods/Headers/Private/Mapbox-iOS-SDK/MGLOverlay.h deleted file mode 120000 index 5aa5f26..0000000 --- a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLOverlay.h +++ /dev/null @@ -1 +0,0 @@ -../../../Mapbox-iOS-SDK/Headers/MGLOverlay.h \ No newline at end of file diff --git a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLPointAnnotation.h b/Pods/Headers/Private/Mapbox-iOS-SDK/MGLPointAnnotation.h deleted file mode 120000 index dc13b4c..0000000 --- a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLPointAnnotation.h +++ /dev/null @@ -1 +0,0 @@ -../../../Mapbox-iOS-SDK/Headers/MGLPointAnnotation.h \ No newline at end of file diff --git a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLPolygon.h b/Pods/Headers/Private/Mapbox-iOS-SDK/MGLPolygon.h deleted file mode 120000 index 62ec0f4..0000000 --- a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLPolygon.h +++ /dev/null @@ -1 +0,0 @@ -../../../Mapbox-iOS-SDK/Headers/MGLPolygon.h \ No newline at end of file diff --git a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLPolyline.h b/Pods/Headers/Private/Mapbox-iOS-SDK/MGLPolyline.h deleted file mode 120000 index 69007ad..0000000 --- a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLPolyline.h +++ /dev/null @@ -1 +0,0 @@ -../../../Mapbox-iOS-SDK/Headers/MGLPolyline.h \ No newline at end of file diff --git a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLShape.h b/Pods/Headers/Private/Mapbox-iOS-SDK/MGLShape.h deleted file mode 120000 index c0c467e..0000000 --- a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLShape.h +++ /dev/null @@ -1 +0,0 @@ -../../../Mapbox-iOS-SDK/Headers/MGLShape.h \ No newline at end of file diff --git a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLStyle.h b/Pods/Headers/Private/Mapbox-iOS-SDK/MGLStyle.h deleted file mode 120000 index a7a3381..0000000 --- a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLStyle.h +++ /dev/null @@ -1 +0,0 @@ -../../../Mapbox-iOS-SDK/Headers/MGLStyle.h \ No newline at end of file diff --git a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLTypes.h b/Pods/Headers/Private/Mapbox-iOS-SDK/MGLTypes.h deleted file mode 120000 index 7bda293..0000000 --- a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLTypes.h +++ /dev/null @@ -1 +0,0 @@ -../../../Mapbox-iOS-SDK/Headers/MGLTypes.h \ No newline at end of file diff --git a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLUserLocation.h b/Pods/Headers/Private/Mapbox-iOS-SDK/MGLUserLocation.h deleted file mode 120000 index 18c2028..0000000 --- a/Pods/Headers/Private/Mapbox-iOS-SDK/MGLUserLocation.h +++ /dev/null @@ -1 +0,0 @@ -../../../Mapbox-iOS-SDK/Headers/MGLUserLocation.h \ No newline at end of file diff --git a/Pods/Headers/Private/Mapbox-iOS-SDK/Mapbox.h b/Pods/Headers/Private/Mapbox-iOS-SDK/Mapbox.h deleted file mode 120000 index cb2091a..0000000 --- a/Pods/Headers/Private/Mapbox-iOS-SDK/Mapbox.h +++ /dev/null @@ -1 +0,0 @@ -../../../Mapbox-iOS-SDK/Headers/Mapbox.h \ No newline at end of file diff --git a/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLAccountManager.h b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLAccountManager.h new file mode 120000 index 0000000..0f29a40 --- /dev/null +++ b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLAccountManager.h @@ -0,0 +1 @@ +../../../../Mapbox-iOS-SDK/dynamic/Mapbox.framework/Headers/MGLAccountManager.h \ No newline at end of file diff --git a/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLAnnotation.h b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLAnnotation.h new file mode 120000 index 0000000..61e7643 --- /dev/null +++ b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLAnnotation.h @@ -0,0 +1 @@ +../../../../Mapbox-iOS-SDK/dynamic/Mapbox.framework/Headers/MGLAnnotation.h \ No newline at end of file diff --git a/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLAnnotationImage.h b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLAnnotationImage.h new file mode 120000 index 0000000..d040afd --- /dev/null +++ b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLAnnotationImage.h @@ -0,0 +1 @@ +../../../../Mapbox-iOS-SDK/dynamic/Mapbox.framework/Headers/MGLAnnotationImage.h \ No newline at end of file diff --git a/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLCalloutView.h b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLCalloutView.h new file mode 120000 index 0000000..52cd5be --- /dev/null +++ b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLCalloutView.h @@ -0,0 +1 @@ +../../../../Mapbox-iOS-SDK/dynamic/Mapbox.framework/Headers/MGLCalloutView.h \ No newline at end of file diff --git a/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLGeometry.h b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLGeometry.h new file mode 120000 index 0000000..900402a --- /dev/null +++ b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLGeometry.h @@ -0,0 +1 @@ +../../../../Mapbox-iOS-SDK/dynamic/Mapbox.framework/Headers/MGLGeometry.h \ No newline at end of file diff --git a/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLMapCamera.h b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLMapCamera.h new file mode 120000 index 0000000..e56ffc9 --- /dev/null +++ b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLMapCamera.h @@ -0,0 +1 @@ +../../../../Mapbox-iOS-SDK/dynamic/Mapbox.framework/Headers/MGLMapCamera.h \ No newline at end of file diff --git a/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLMapView+IBAdditions.h b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLMapView+IBAdditions.h new file mode 120000 index 0000000..cfebeb8 --- /dev/null +++ b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLMapView+IBAdditions.h @@ -0,0 +1 @@ +../../../../Mapbox-iOS-SDK/dynamic/Mapbox.framework/Headers/MGLMapView+IBAdditions.h \ No newline at end of file diff --git a/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLMapView+MGLCustomStyleLayerAdditions.h b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLMapView+MGLCustomStyleLayerAdditions.h new file mode 120000 index 0000000..6ec633e --- /dev/null +++ b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLMapView+MGLCustomStyleLayerAdditions.h @@ -0,0 +1 @@ +../../../../Mapbox-iOS-SDK/dynamic/Mapbox.framework/Headers/MGLMapView+MGLCustomStyleLayerAdditions.h \ No newline at end of file diff --git a/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLMapView.h b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLMapView.h new file mode 120000 index 0000000..01129ca --- /dev/null +++ b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLMapView.h @@ -0,0 +1 @@ +../../../../Mapbox-iOS-SDK/dynamic/Mapbox.framework/Headers/MGLMapView.h \ No newline at end of file diff --git a/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLMultiPoint.h b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLMultiPoint.h new file mode 120000 index 0000000..f9ddd78 --- /dev/null +++ b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLMultiPoint.h @@ -0,0 +1 @@ +../../../../Mapbox-iOS-SDK/dynamic/Mapbox.framework/Headers/MGLMultiPoint.h \ No newline at end of file diff --git a/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLOverlay.h b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLOverlay.h new file mode 120000 index 0000000..b503437 --- /dev/null +++ b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLOverlay.h @@ -0,0 +1 @@ +../../../../Mapbox-iOS-SDK/dynamic/Mapbox.framework/Headers/MGLOverlay.h \ No newline at end of file diff --git a/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLPointAnnotation.h b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLPointAnnotation.h new file mode 120000 index 0000000..95d38c5 --- /dev/null +++ b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLPointAnnotation.h @@ -0,0 +1 @@ +../../../../Mapbox-iOS-SDK/dynamic/Mapbox.framework/Headers/MGLPointAnnotation.h \ No newline at end of file diff --git a/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLPolygon.h b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLPolygon.h new file mode 120000 index 0000000..3c0db87 --- /dev/null +++ b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLPolygon.h @@ -0,0 +1 @@ +../../../../Mapbox-iOS-SDK/dynamic/Mapbox.framework/Headers/MGLPolygon.h \ No newline at end of file diff --git a/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLPolyline.h b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLPolyline.h new file mode 120000 index 0000000..c9f048c --- /dev/null +++ b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLPolyline.h @@ -0,0 +1 @@ +../../../../Mapbox-iOS-SDK/dynamic/Mapbox.framework/Headers/MGLPolyline.h \ No newline at end of file diff --git a/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLShape.h b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLShape.h new file mode 120000 index 0000000..2234a23 --- /dev/null +++ b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLShape.h @@ -0,0 +1 @@ +../../../../Mapbox-iOS-SDK/dynamic/Mapbox.framework/Headers/MGLShape.h \ No newline at end of file diff --git a/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLStyle.h b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLStyle.h new file mode 120000 index 0000000..e09a274 --- /dev/null +++ b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLStyle.h @@ -0,0 +1 @@ +../../../../Mapbox-iOS-SDK/dynamic/Mapbox.framework/Headers/MGLStyle.h \ No newline at end of file diff --git a/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLTypes.h b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLTypes.h new file mode 120000 index 0000000..b695231 --- /dev/null +++ b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLTypes.h @@ -0,0 +1 @@ +../../../../Mapbox-iOS-SDK/dynamic/Mapbox.framework/Headers/MGLTypes.h \ No newline at end of file diff --git a/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLUserLocation.h b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLUserLocation.h new file mode 120000 index 0000000..b32d295 --- /dev/null +++ b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/MGLUserLocation.h @@ -0,0 +1 @@ +../../../../Mapbox-iOS-SDK/dynamic/Mapbox.framework/Headers/MGLUserLocation.h \ No newline at end of file diff --git a/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/Mapbox.h b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/Mapbox.h new file mode 120000 index 0000000..c91bae6 --- /dev/null +++ b/Pods/Headers/Public/Mapbox-iOS-SDK/Mapbox/Mapbox.h @@ -0,0 +1 @@ +../../../../Mapbox-iOS-SDK/dynamic/Mapbox.framework/Headers/Mapbox.h \ No newline at end of file diff --git a/Pods/Manifest.lock b/Pods/Manifest.lock index 37d4481..93f53d9 100644 --- a/Pods/Manifest.lock +++ b/Pods/Manifest.lock @@ -1,10 +1,10 @@ PODS: - - Mapbox-iOS-SDK (3.0.0) + - Mapbox-iOS-SDK (3.1.2) DEPENDENCIES: - Mapbox-iOS-SDK SPEC CHECKSUMS: - Mapbox-iOS-SDK: 5e7bafc554a15ebfc615d8b0fa0a0b5d31faac70 + Mapbox-iOS-SDK: 0a910c2cce1aa8cff5b9ec2a990e7a32332a776a COCOAPODS: 0.39.0 diff --git a/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLAccountManager.html b/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLAccountManager.html deleted file mode 100644 index 4755741..0000000 --- a/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLAccountManager.html +++ /dev/null @@ -1,443 +0,0 @@ - - - - - MGLAccountManager Class Reference - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - -
Inherits fromNSObject
Declared inMGLAccountManager.h
- - - - -
- -

Overview

-

The MGLAccountManager object provides a global way to set a Mapbox API access token, as well as other settings used framework-wide.

-
- - - - - -
- -

Tasks

- - - -

Authorizing Access

- - - - - -

Providing User Metrics Opt-Out

- - - -
- - - - - - - -
- -

Class Methods

- -
- -

accessToken

- - - -
-

Retreive the Mapbox API access token for the framework.

-
- - - -
+ (nullable NSString *)accessToken
- - - - - -
-

Return Value

-

accessToken The Mapbox API access token.

-
- - - - - -
-

Discussion

-

Retreive the Mapbox API access token for the framework.

- -

You can set an access token on MGLAccountManager or on an individual map view. The same token is used throughout the framework.

-
- - - - - - - -
-

Declared In

- MGLAccountManager.h
-
- - -
- -
- -

mapboxMetricsEnabledSettingShownInApp

- - - -
-

Whether in-app user metrics opt-out is configured. If set to the default value of NO, a user opt-out preference is expected in a Settings.bundle that shows in the application’s section within the system Settings app.

-
- - - -
+ (BOOL)mapboxMetricsEnabledSettingShownInApp
- - - - - - - - - -
-

Discussion

-

Whether in-app user metrics opt-out is configured. If set to the default value of NO, a user opt-out preference is expected in a Settings.bundle that shows in the application’s section within the system Settings app.

-
- - - - - - - -
-

Declared In

- MGLAccountManager.h
-
- - -
- -
- -

setAccessToken:

- - - -
-

Set the Mapbox API access token for the framework.

-
- - - -
+ (void)setAccessToken:(nullable NSString *)accessToken
- - - -
-

Parameters

- -
-
accessToken
-

The Mapbox API access token.

-
- -
- - - - - - - -
-

Discussion

-

Set the Mapbox API access token for the framework.

- -

You can set an access token on MGLAccountManager or on an individual map view. The same token is used throughout the framework.

-
- - - - - - - -
-

Declared In

- MGLAccountManager.h
-
- - -
- -
- - - - - - -
- - -
-
- - - \ No newline at end of file diff --git a/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLAnnotationImage.html b/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLAnnotationImage.html deleted file mode 100644 index b615930..0000000 --- a/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLAnnotationImage.html +++ /dev/null @@ -1,514 +0,0 @@ - - - - - MGLAnnotationImage Class Reference - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - -
Inherits fromNSObject
Declared inMGLAnnotationImage.h
- - - - -
- -

Overview

-

The MGLAnnotationImage class is responsible for presenting point-based annotations visually on a map view. Annotation image objects wrap UIImage objects and may be recycled later and put into a reuse queue that is maintained by the map view.

-
- - - - - -
- -

Tasks

- - - -

Initializing and Preparing the Image Object

- - - - - -

Getting and Setting Attributes

- - - -
- - - - - -
- -

Properties

- -
- -

enabled

- - - -
-

A Boolean value indicating whether the annotation is enabled.

-
- - - -
@property (nonatomic, getter=isEnabled) BOOL enabled
- - - - - - - - - -
-

Discussion

-

A Boolean value indicating whether the annotation is enabled.

- -

The default value of this property is YES. If the value of this property is NO, the annotation image ignores touch events and cannot be selected.

-
- - - - - - - -
-

Declared In

- MGLAnnotationImage.h
-
- - -
- -
- -

image

- - - -
-

The image to be displayed for the annotation.

-
- - - -
@property (nonatomic, readonly) UIImage *image
- - - - - - - - - -
-

Discussion

-

The image to be displayed for the annotation.

-
- - - - - - - -
-

Declared In

- MGLAnnotationImage.h
-
- - -
- -
- -

reuseIdentifier

- - - -
-

The string that identifies that this annotation image is reusable. (read-only)

-
- - - -
@property (nonatomic, readonly) NSString *reuseIdentifier
- - - - - - - - - -
-

Discussion

-

The string that identifies that this annotation image is reusable. (read-only)

- -

You specify the reuse identifier when you create the image object. You use this type later to retrieve an annotation image object that was created previously but which is currently unused because its annotation is not on screen.

- -

If you define distinctly different types of annotations (with distinctly different annotation images to go with them), you can differentiate between the annotation types by specifying different reuse identifiers for each one.

-
- - - - - - - -
-

Declared In

- MGLAnnotationImage.h
-
- - -
- -
- - - -
- -

Class Methods

- -
- -

annotationImageWithImage:reuseIdentifier:

- - - -
-

Initializes and returns a new annotation image object.

-
- - - -
+ (instancetype)annotationImageWithImage:(UIImage *)image reuseIdentifier:(NSString *)reuseIdentifier
- - - -
-

Parameters

- -
-
image
-

The image to be displayed for the annotation.

-
- -
-
reuseIdentifier
-

The string that identifies that this annotation image is reusable.

-
- -
- - - -
-

Return Value

-

The initialized annotation image object or nil if there was a problem initializing the object.

-
- - - - - -
-

Discussion

-

Initializes and returns a new annotation image object.

-
- - - - - - - -
-

Declared In

- MGLAnnotationImage.h
-
- - -
- -
- - - - - - -
- - -
-
- - - \ No newline at end of file diff --git a/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLMapCamera.html b/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLMapCamera.html deleted file mode 100644 index 67592c0..0000000 --- a/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLMapCamera.html +++ /dev/null @@ -1,530 +0,0 @@ - - - - - MGLMapCamera Class Reference - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - - - - -
Inherits fromNSObject
Conforms toNSCopying
NSSecureCoding
Declared inMGLMapCamera.h
- - - - -
- -

Overview

-

An MGLMapCamera object represents a viewpoint from which the user observes some point on an MGLMapView.

-
- - - - - -
- -

Tasks

- - - - - - - -
- - - - - -
- -

Properties

- -
- -

altitude

- - - -
-

Meters above ground level.

-
- - - -
@property (nonatomic) CLLocationDistance altitude
- - - - - - - - - -
-

Discussion

-

Meters above ground level.

-
- - - - - - - -
-

Declared In

- MGLMapCamera.h
-
- - -
- -
- -

centerCoordinate

- - - -
-

Coordinate at the center of the map view.

-
- - - -
@property (nonatomic) CLLocationCoordinate2D centerCoordinate
- - - - - - - - - -
-

Discussion

-

Coordinate at the center of the map view.

-
- - - - - - - -
-

Declared In

- MGLMapCamera.h
-
- - -
- -
- -

heading

- - - -
-

Heading measured in degrees clockwise from true north.

-
- - - -
@property (nonatomic) CLLocationDirection heading
- - - - - - - - - -
-

Discussion

-

Heading measured in degrees clockwise from true north.

-
- - - - - - - -
-

Declared In

- MGLMapCamera.h
-
- - -
- -
- -

pitch

- - - -
-

Pitch toward the horizon measured in degrees, with 0 degrees resulting in a two-dimensional map.

-
- - - -
@property (nonatomic) CGFloat pitch
- - - - - - - - - -
-

Discussion

-

Pitch toward the horizon measured in degrees, with 0 degrees resulting in a two-dimensional map.

-
- - - - - - - -
-

Declared In

- MGLMapCamera.h
-
- - -
- -
- - - -
- -

Class Methods

- -
- -

camera

- - - -
-

Returns a new camera with all properties set to 0.

-
- - - -
+ (instancetype)camera
- - - - - - - - - -
-

Discussion

-

Returns a new camera with all properties set to 0.

-
- - - - - - - -
-

Declared In

- MGLMapCamera.h
-
- - -
- -
- - - - - - -
- - -
-
- - - \ No newline at end of file diff --git a/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLMapView.html b/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLMapView.html deleted file mode 100644 index 80f2f91..0000000 --- a/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLMapView.html +++ /dev/null @@ -1,3803 +0,0 @@ - - - - - MGLMapView Class Reference - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - -
Inherits fromUIView
Declared inMGLMapView.h
- - - - -
- -

Overview

-

An MGLMapView object provides an embeddable map interface, similar to the one provided by Apple’s MapKit. You use this class to display map information and to manipulate the map contents from your application. You can center the map on a given coordinate, specify the size of the area you want to display, and style the features of the map to fit your application’s use case.

- -

Use of MGLMapView requires a Mapbox API access token. Obtain an access token on the Mapbox account page. If you instantiate an MGLMapView from Interface Builder, rendering of the map won’t begin until the accessToken property has been set.

Warning: Please note that you are responsible for getting permission to use the map data, and for ensuring your use adheres to the relevant terms of use.

-
- - - - - -
- -

Tasks

- - - -

Initializing a Map View

- - - - - -

Accessing Map Properties

- - - - - -

Manipulating the Visible Portion of the Map

- - - - - -

Converting Map Coordinates

- - - - - -

Styling the Map

- - - - - -

Annotating the Map

- - - - - -

Managing Annotation Selections

- - - - - -

Adding Overlays

- - - - - -

Removing Overlays

- - - - - -

Displaying the User's Location

- - - - - -

Debugging

- - - -
- - - - - -
- -

Properties

- -
- -

annotations

- - - -
-

The complete list of annotations associated with the receiver. (read-only)

-
- - - -
@property (nonatomic, readonly, nullable) NSArray<id<MGLAnnotation> > *annotations
- - - - - - - - - -
-

Discussion

-

The complete list of annotations associated with the receiver. (read-only)

- -

The objects in this array must adopt the MGLAnnotation protocol. If no annotations are associated with the map view, the value of this property is nil.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

attributionButton

- - - -
-

The button shown in the lower-right of the map which when pressed displays the map attribution information.

-
- - - -
@property (nonatomic, readonly) UIButton *attributionButton
- - - - - - - - - -
-

Discussion

-

The button shown in the lower-right of the map which when pressed displays the map attribution information.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

bundledStyleURLs

- - - -
-

URLs of the styles bundled with the library. (Deprecated: Call the relevant class method of MGLStyle for the URL of a particular default style. )

-
- - - -
@property (nonatomic, readonly) NSArray<NSURL*> *bundledStyleURLs
- - - - - - - - - -
-

Discussion

-

URLs of the styles bundled with the library.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

camera

- - - -
-

A camera representing the current viewpoint of the map.

-
- - - -
@property (nonatomic, copy) MGLMapCamera *camera
- - - - - - - - - -
-

Discussion

-

A camera representing the current viewpoint of the map.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

centerCoordinate

- - - -
-

The map coordinate at the center of the map view.

-
- - - -
@property (nonatomic) CLLocationCoordinate2D centerCoordinate
- - - - - - - - - -
-

Discussion

-

The map coordinate at the center of the map view.

- -

Changing the value in this property centers the map on the new coordinate without changing the current zoom level.

- -

Changing the value of this property updates the map view immediately. If you want to animate the change, use the setCenterCoordinate:animated: method instead.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

compassView

- - - -
-

The compass image view shown in the upper-right when the map is rotated.

-
- - - -
@property (nonatomic, readonly) UIImageView *compassView
- - - - - - - - - -
-

Discussion

-

The compass image view shown in the upper-right when the map is rotated.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

debugActive

- - - -
-

A Boolean value that determines whether map debugging information is shown.

-
- - - -
@property (nonatomic, getter=isDebugActive) BOOL debugActive
- - - - - - - - - -
-

Discussion

-

A Boolean value that determines whether map debugging information is shown.

- -

The default value of this property is NO.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

direction

- - - -
-

The heading of the map (measured in degrees) relative to true north.

-
- - - -
@property (nonatomic) CLLocationDirection direction
- - - - - - - - - -
-

Discussion

-

The heading of the map (measured in degrees) relative to true north.

- -

The value 0 means that the top edge of the map view corresponds to true north. The value 90 means the top of the map is pointing due east. The value 180 means the top of the map points due south, and so on.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

displayHeadingCalibration

- - - -
-

Whether the map view should display a heading calibration alert when necessary. The default value is YES.

-
- - - -
@property (nonatomic, assign) BOOL displayHeadingCalibration
- - - - - - - - - -
-

Discussion

-

Whether the map view should display a heading calibration alert when necessary. The default value is YES.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

logoView

- - - -
-

The Mapbox logo image view shown in the lower-left of the map.

-
- - - -
@property (nonatomic, readonly) UIImageView *logoView
- - - - - - - - - -
-

Discussion

-

The Mapbox logo image view shown in the lower-left of the map.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

pitchEnabled

- - - -
-

A Boolean value that determines whether the user may change the pitch (tilt) of the map.

-
- - - -
@property (nonatomic, getter=isPitchEnabled) BOOL pitchEnabled
- - - - - - - - - -
-

Discussion

-

A Boolean value that determines whether the user may change the pitch (tilt) of the map.

- -

This property controls only user interactions with the map. If you set the value of this property to NO, you may still change the pitch of the map programmatically.

- -

The default value of this property is YES.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

rotateEnabled

- - - -
-

A Boolean value that determines whether the user may rotate the map.

-
- - - -
@property (nonatomic, getter=isRotateEnabled) BOOL rotateEnabled
- - - - - - - - - -
-

Discussion

-

A Boolean value that determines whether the user may rotate the map.

- -

This property controls only user interactions with the map. If you set the value of this property to NO, you may still rotate the map programmatically.

- -

The default value of this property is YES.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

scrollEnabled

- - - -
-

A Boolean value that determines whether the user may scroll around the map.

-
- - - -
@property (nonatomic, getter=isScrollEnabled) BOOL scrollEnabled
- - - - - - - - - -
-

Discussion

-

A Boolean value that determines whether the user may scroll around the map.

- -

This property controls only user interactions with the map. If you set the value of this property to NO, you may still change the map location programmatically.

- -

The default value of this property is YES.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

selectedAnnotations

- - - -
-

The annotations that are currently selected.

-
- - - -
@property (nonatomic, copy) NSArray<id<MGLAnnotation> > *selectedAnnotations
- - - - - - - - - -
-

Discussion

-

The annotations that are currently selected.

- -

Assigning a new array to this property selects only the first annotation in the array.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

showsUserLocation

- - - -
-

A Boolean value indicating whether the map may display the user location.

-
- - - -
@property (nonatomic, assign) BOOL showsUserLocation
- - - - - - - - - -
-

Discussion

-

A Boolean value indicating whether the map may display the user location.

- -

This property does not indicate whether the user’s position is actually visible on the map, only whether the map view is allowed to display it. To determine whether the user’s position is visible, use the userLocationVisible property. The default value of this property is NO.

- -

Setting this property to YES causes the map view to use the Core Location framework to find the current location. As long as this property is YES, the map view continues to track the user’s location and update it periodically.

- -

On iOS 8 and above, your app must specify a value for NSLocationWhenInUseUsageDescription or NSLocationAlwaysUsageDescription in its Info.plist to satisfy the requirements of the underlying Core Location framework when enabling this property.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

styleClasses

- - - -
-

Currently active style classes, represented as an array of string identifiers.

-
- - - -
@property (nonatomic) NSArray<NSString*> *styleClasses
- - - - - - - - - -
-

Discussion

-

Currently active style classes, represented as an array of string identifiers.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

styleURL

- - - -
-

URL of the style currently displayed in the receiver.

-
- - - -
@property (nonatomic, null_resettable) NSURL *styleURL
- - - - - - - - - -
-

Discussion

-

URL of the style currently displayed in the receiver.

- -

The URL may be a full HTTP or HTTPS URL or a Mapbox URL indicating the style’s map ID (mapbox://styles/<user>/<style>).

- -

To display the default style, set this property to nil.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

userLocation

- - - -
-

Returns the annotation object indicating the user’s current location.

-
- - - -
@property (nonatomic, readonly, nullable) MGLUserLocation *userLocation
- - - - - - - - - -
-

Discussion

-

Returns the annotation object indicating the user’s current location.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

userLocationVisible

- - - -
-

A Boolean value indicating whether the device’s current location is visible in the map view. (read-only)

-
- - - -
@property (nonatomic, assign, readonly, getter=isUserLocationVisible) BOOL userLocationVisible
- - - - - - - - - -
-

Discussion

-

A Boolean value indicating whether the device’s current location is visible in the map view. (read-only)

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

userTrackingMode

- - - -
-

The mode used to track the user location.

-
- - - -
@property (nonatomic, assign) MGLUserTrackingMode userTrackingMode
- - - - - - - - - -
-

Discussion

-

The mode used to track the user location.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

visibleCoordinateBounds

- - - -
-

The coordinate bounds visible in the receiver’s viewport.

-
- - - -
@property (nonatomic) MGLCoordinateBounds visibleCoordinateBounds
- - - - - - - - - -
-

Discussion

-

The coordinate bounds visible in the receiver’s viewport.

- -

Changing the value of this property updates the receiver immediately. If you want to animate the change, call setVisibleCoordinateBounds:animated: instead.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

zoomEnabled

- - - -
-

A Boolean value that determines whether the user may zoom the map.

-
- - - -
@property (nonatomic, getter=isZoomEnabled) BOOL zoomEnabled
- - - - - - - - - -
-

Discussion

-

A Boolean value that determines whether the user may zoom the map.

- -

This property controls only user interactions with the map. If you set the value of this property to NO, you may still change the map zoom programmatically.

- -

The default value of this property is YES.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

zoomLevel

- - - -
-

The zoom level of the map view.

-
- - - -
@property (nonatomic) double zoomLevel
- - - - - - - - - -
-

Discussion

-

The zoom level of the map view.

- -

Changing the value in this property zooms the map in or out without changing the center coordinate. At zoom level 0, tiles cover the entire world map; at zoom level 1, tiles cover ¼ of the world; at zoom level 2, tiles cover 1/16 of the world, and so on.

- -

Changing the value of this property updates the map view immediately. If you want to animate the change, use the setZoomLevel:animated: method instead.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- - - - - -
- -

Instance Methods

- -
- -

addAnnotation:

- - - -
-

Adds the specified annotation to the map view.

-
- - - -
- (void)addAnnotation:(id<MGLAnnotation>)annotation
- - - -
-

Parameters

- -
-
annotation
-

The annotation object to add to the receiver. This object must conform to the MGLAnnotation protocol. The map view retains the specified object.

-
- -
- - - - - - - -
-

Discussion

-

Adds the specified annotation to the map view.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

addAnnotations:

- - - -
-

Adds an array of annotation objects to the map view.

-
- - - -
- (void)addAnnotations:(NSArray<id<MGLAnnotation> > *)annotations
- - - -
-

Parameters

- -
-
annotations
-

An array of annotation objects. Each object in the array must conform to the MGLAnnotation protocol. The map view retains the individual annotation objects.

-
- -
- - - - - - - -
-

Discussion

-

Adds an array of annotation objects to the map view.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

addOverlay:

- - - -
-

Adds a single overlay object to the map.

-
- - - -
- (void)addOverlay:(id<MGLOverlay>)overlay
- - - -
-

Parameters

- -
-
overlay
-

The overlay object to add. This object must conform to the MGLOverlay protocol.

-
- -
- - - - - - - -
-

Discussion

-

Adds a single overlay object to the map.

- -

To remove an overlay from a map, use the removeOverlay: method.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

addOverlays:

- - - -
-

Adds an array of overlay objects to the map.

-
- - - -
- (void)addOverlays:(NSArray<id<MGLOverlay> > *)overlays
- - - -
-

Parameters

- -
-
overlays
-

An array of objects, each of which must conform to the MGLOverlay protocol.

-
- -
- - - - - - - -
-

Discussion

-

Adds an array of overlay objects to the map.

- -

To remove multiple overlays from a map, use the removeOverlays: method.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

addStyleClass:

- - - -
-

Activates the style class with the given identifier.

-
- - - -
- (void)addStyleClass:(NSString *)styleClass
- - - -
-

Parameters

- -
-
styleClass
-

The style class to activate.

-
- -
- - - - - - - -
-

Discussion

-

Activates the style class with the given identifier.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

convertCoordinate:toPointToView:

- - - -
-

Converts a map coordinate to a point in the specified view.

-
- - - -
- (CGPoint)convertCoordinate:(CLLocationCoordinate2D)coordinate toPointToView:(nullable UIView *)view
- - - -
-

Parameters

- -
-
coordinate
-

The map coordinate for which you want to find the corresponding point.

-
- -
-
view
-

The view in whose coordinate system you want to locate the specified map coordinate. If this parameter is nil, the returned point is specified in the window’s coordinate system. If view is not nil, it must belong to the same window as the map view.

-
- -
- - - -
-

Return Value

-

The point (in the appropriate view or window coordinate system) corresponding to the specified latitude and longitude value.

-
- - - - - -
-

Discussion

-

Converts a map coordinate to a point in the specified view.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

convertPoint:toCoordinateFromView:

- - - -
-

Converts a point in the specified view’s coordinate system to a map coordinate.

-
- - - -
- (CLLocationCoordinate2D)convertPoint:(CGPoint)point toCoordinateFromView:(nullable UIView *)view
- - - -
-

Parameters

- -
-
point
-

The point you want to convert.

-
- -
-
view
-

The view that serves as the reference coordinate system for the point parameter.

-
- -
- - - -
-

Return Value

-

The map coordinate at the specified point.

-
- - - - - -
-

Discussion

-

Converts a point in the specified view’s coordinate system to a map coordinate.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

dequeueReusableAnnotationImageWithIdentifier:

- - - -
-

Returns a reusable annotation image object located by its identifier.

-
- - - -
- (nullable MGLAnnotationImage *)dequeueReusableAnnotationImageWithIdentifier:(NSString *)identifier
- - - -
-

Parameters

- -
-
identifier
-

A string identifying the annotation image to be reused. This string is the same one you specify when initially returning the annotation image object using the mapView:imageForAnnotation: method.

-
- -
- - - -
-

Return Value

-

An annotation image object with the specified identifier, or nil if no such object exists in the reuse queue.

-
- - - - - -
-

Discussion

-

Returns a reusable annotation image object located by its identifier.

- -

For performance reasons, you should generally reuse MGLAnnotationImage objects for annotations in your map views. Dequeueing saves time and memory during performance-critical operations such as scrolling.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

deselectAnnotation:animated:

- - - -
-

Deselects the specified annotation and hides its callout view.

-
- - - -
- (void)deselectAnnotation:(id<MGLAnnotation>)annotation animated:(BOOL)animated
- - - -
-

Parameters

- -
-
annotation
-

The annotation object to deselect.

-
- -
-
animated
-

If YES, the callout view is animated offscreen.

-
- -
- - - - - - - -
-

Discussion

-

Deselects the specified annotation and hides its callout view.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

emptyMemoryCache

- - - -
-

Empties the in-memory tile cache.

-
- - - -
- (void)emptyMemoryCache
- - - - - - - - - -
-

Discussion

-

Empties the in-memory tile cache.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

hasStyleClass:

- - - -
-

Returns a Boolean value indicating whether the style class with the given identifier is currently active.

-
- - - -
- (BOOL)hasStyleClass:(NSString *)styleClass
- - - -
-

Parameters

- -
-
styleClass
-

The style class to query for.

-
- -
- - - -
-

Return Value

-

Whether the style class is currently active.

-
- - - - - -
-

Discussion

-

Returns a Boolean value indicating whether the style class with the given identifier is currently active.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

initWithFrame:

- - - -
-

Initializes and returns a newly allocated map view with the specified frame and the default style.

-
- - - -
- (instancetype)initWithFrame:(CGRect)frame
- - - -
-

Parameters

- -
-
frame
-

The frame for the view, measured in points.

-
- -
- - - -
-

Return Value

-

An initialized map view.

-
- - - - - -
-

Discussion

-

Initializes and returns a newly allocated map view with the specified frame and the default style.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

initWithFrame:styleURL:

- - - -
-

Initializes and returns a newly allocated map view with the specified frame and style URL.

-
- - - -
- (instancetype)initWithFrame:(CGRect)frame styleURL:(nullable NSURL *)styleURL
- - - -
-

Parameters

- -
-
frame
-

The frame for the view, measured in points.

-
- -
-
styleURL
-

The map style URL to use. Can be either an HTTP/HTTPS URL or a Mapbox map ID style URL (mapbox://styles/<user>/<style>). Specify nil for the default style.

-
- -
- - - -
-

Return Value

-

An initialized map view.

-
- - - - - -
-

Discussion

-

Initializes and returns a newly allocated map view with the specified frame and style URL.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

metersPerPixelAtLatitude:

- - - -
-

Returns the distance spanned by one pixel at the specified latitude and current zoom level.

-
- - - -
- (CLLocationDistance)metersPerPixelAtLatitude:(CLLocationDegrees)latitude
- - - -
-

Parameters

- -
-
latitude
-

The latitude for which to return the value.

-
- -
- - - -
-

Return Value

-

The distance (in meters) spanned by a single pixel.

-
- - - - - -
-

Discussion

-

Returns the distance spanned by one pixel at the specified latitude and current zoom level.

- -

The distance between pixels decreases as the latitude approaches the poles. This relationship parallels the relationship between longitudinal coordinates at different latitudes.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

removeAnnotation:

- - - -
-

Removes the specified annotation object from the map view.

-
- - - -
- (void)removeAnnotation:(id<MGLAnnotation>)annotation
- - - -
-

Parameters

- -
-
annotation
-

The annotation object to remove. This object must conform to the MGLAnnotation protocol.

-
- -
- - - - - - - -
-

Discussion

-

Removes the specified annotation object from the map view.

- -

Removing an annotation object disassociates it from the map view entirely, preventing it from being displayed on the map. Thus, you would typically call this method only when you want to hide or delete a given annotation.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

removeAnnotations:

- - - -
-

Removes an array of annotation objects from the map view.

-
- - - -
- (void)removeAnnotations:(NSArray<id<MGLAnnotation> > *)annotations
- - - -
-

Parameters

- -
-
annotations
-

The array of annotations to remove. Objects in the array must conform to the MGLAnnotation protocol.

-
- -
- - - - - - - -
-

Discussion

-

Removes an array of annotation objects from the map view.

- -

Removing annotation objects disassociates them from the map view entirely, preventing them from being displayed on the map. Thus, you would typically call this method only when you want to hide or delete the specified annotations.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

removeOverlay:

- - - -
-

Removes a single overlay object from the map.

-
- - - -
- (void)removeOverlay:(id<MGLOverlay>)overlay
- - - -
-

Parameters

- -
-
overlay
-

The overlay object to remove.

-
- -
- - - - - - - -
-

Discussion

-

Removes a single overlay object from the map.

- -

If the specified overlay is not currently associated with the map view, this method does nothing.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

removeOverlays:

- - - -
-

Removes one or more overlay objects from the map.

-
- - - -
- (void)removeOverlays:(NSArray<id<MGLOverlay> > *)overlays
- - - -
-

Parameters

- -
-
overlays
-

An array of objects, each of which conforms to the MGLOverlay protocol.

-
- -
- - - - - - - -
-

Discussion

-

Removes one or more overlay objects from the map.

- -

If a given overlay object is not associated with the map view, it is ignored.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

removeStyleClass:

- - - -
-

Deactivates the style class with the given identifier.

-
- - - -
- (void)removeStyleClass:(NSString *)styleClass
- - - -
-

Parameters

- -
-
styleClass
-

The style class to deactivate.

-
- -
- - - - - - - -
-

Discussion

-

Deactivates the style class with the given identifier.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

resetNorth

- - - -
-

Resets the map rotation to a northern heading.

-
- - - -
- (IBAction)resetNorth
- - - - - - - - - -
-

Discussion

-

Resets the map rotation to a northern heading.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

resetPosition

- - - -
-

Resets the map to the minimum zoom level, a center coordinate of (0, 0), and a northern heading.

-
- - - -
- (void)resetPosition
- - - - - - - - - -
-

Discussion

-

Resets the map to the minimum zoom level, a center coordinate of (0, 0), and a northern heading.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

selectAnnotation:animated:

- - - -
-

Selects the specified annotation and displays a callout view for it.

-
- - - -
- (void)selectAnnotation:(id<MGLAnnotation>)annotation animated:(BOOL)animated
- - - -
-

Parameters

- -
-
annotation
-

The annotation object to select.

-
- -
-
animated
-

If YES, the callout view is animated into position.

-
- -
- - - - - - - -
-

Discussion

-

Selects the specified annotation and displays a callout view for it.

- -

If the specified annotation is not onscreen, this method has no effect.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

setCamera:animated:

- - - -
-

Moves the viewpoint to a different location with respect to the map with an optional transition animation.

-
- - - -
- (void)setCamera:(MGLMapCamera *)camera animated:(BOOL)animated
- - - -
-

Parameters

- -
-
camera
-

The new viewpoint.

-
- -
-
animated
-

Specify YES if you want the map view to animate the change to the new viewpoint or NO if you want the map to display the new viewpoint immediately.

-
- -
- - - - - - - -
-

Discussion

-

Moves the viewpoint to a different location with respect to the map with an optional transition animation.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

setCamera:withDuration:animationTimingFunction:

- - - -
-

Moves the viewpoint to a different location with respect to the map with an optional transition duration and timing function.

-
- - - -
- (void)setCamera:(MGLMapCamera *)camera withDuration:(NSTimeInterval)duration animationTimingFunction:(nullable CAMediaTimingFunction *)function
- - - -
-

Parameters

- -
-
camera
-

The new viewpoint.

-
- -
-
duration
-

The amount of time, measured in seconds, that the transition animation should take. Specify 0 to jump to the new viewpoint instantaneously.

-
- -
-
function
-

A timing function used for the animation. Set this parameter to nil for a transition that matches most system animations. If the duration is 0, this parameter is ignored.

-
- -
- - - - - - - -
-

Discussion

-

Moves the viewpoint to a different location with respect to the map with an optional transition duration and timing function.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

setCenterCoordinate:animated:

- - - -
-

Changes the center coordinate of the map and optionally animates the change.

-
- - - -
- (void)setCenterCoordinate:(CLLocationCoordinate2D)coordinate animated:(BOOL)animated
- - - -
-

Parameters

- -
-
coordinate
-

The new center coordinate for the map.

-
- -
-
animated
-

Specify YES if you want the map view to scroll to the new location or NO if you want the map to display the new location immediately.

- -

Changing the center coordinate centers the map on the new coordinate without changing the current zoom level.

-
- -
- - - - - - - -
-

Discussion

-

Changes the center coordinate of the map and optionally animates the change.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

setCenterCoordinate:zoomLevel:animated:

- - - -
-

Changes the center coordinate and zoom level of the map and optionally animates the change.

-
- - - -
- (void)setCenterCoordinate:(CLLocationCoordinate2D)centerCoordinate zoomLevel:(double)zoomLevel animated:(BOOL)animated
- - - -
-

Parameters

- -
-
centerCoordinate
-

The new center coordinate for the map.

-
- -
-
zoomLevel
-

The new zoom level for the map.

-
- -
-
animated
-

Specify YES if you want the map view to animate scrolling and zooming to the new location or NO if you want the map to display the new location immediately.

-
- -
- - - - - - - -
-

Discussion

-

Changes the center coordinate and zoom level of the map and optionally animates the change.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

setCenterCoordinate:zoomLevel:direction:animated:

- - - -
-

Changes the center coordinate, zoom level, and direction of the map and optionally animates the change.

-
- - - -
- (void)setCenterCoordinate:(CLLocationCoordinate2D)centerCoordinate zoomLevel:(double)zoomLevel direction:(CLLocationDirection)direction animated:(BOOL)animated
- - - -
-

Parameters

- -
-
centerCoordinate
-

The new center coordinate for the map.

-
- -
-
zoomLevel
-

The new zoom level for the map.

-
- -
-
direction
-

The new direction for the map, measured in degrees relative to true north.

-
- -
-
animated
-

Specify YES if you want the map view to animate scrolling, zooming, and rotating to the new location or NO if you want the map to display the new location immediately.

-
- -
- - - - - - - -
-

Discussion

-

Changes the center coordinate, zoom level, and direction of the map and optionally animates the change.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

setDirection:animated:

- - - -
-

Changes the heading of the map and optionally animates the changes.

-
- - - -
- (void)setDirection:(CLLocationDirection)direction animated:(BOOL)animated
- - - -
-

Parameters

- -
-
direction
-

The heading of the map (measured in degrees) relative to true north.

-
- -
-
animated
-

Specify YES if you want the map view to animate the change to the new heading or NO if you want the map to display the new heading immediately.

- -

Changing the heading rotates the map without changing the current center coordinate or zoom level.

-
- -
- - - - - - - -
-

Discussion

-

Changes the heading of the map and optionally animates the changes.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

setVisibleCoordinateBounds:animated:

- - - -
-

Changes the receiver’s viewport to fit the given coordinate bounds, optionally animating the change.

-
- - - -
- (void)setVisibleCoordinateBounds:(MGLCoordinateBounds)bounds animated:(BOOL)animated
- - - -
-

Parameters

- -
-
bounds
-

The bounds that the viewport will show in its entirety.

-
- -
-
animated
-

Specify YES to animate the change by smoothly scrolling and zooming or NO to immediately display the given bounds.

-
- -
- - - - - - - -
-

Discussion

-

Changes the receiver’s viewport to fit the given coordinate bounds, optionally animating the change.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

setVisibleCoordinateBounds:edgePadding:animated:

- - - -
-

Changes the receiver’s viewport to fit the given coordinate bounds and optionally some additional padding on each side.

-
- - - -
- (void)setVisibleCoordinateBounds:(MGLCoordinateBounds)bounds edgePadding:(UIEdgeInsets)insets animated:(BOOL)animated
- - - -
-

Parameters

- -
-
bounds
-

The bounds that the viewport will show in its entirety.

-
- -
-
insets
-

The minimum padding (in screen points) that will be visible around the given coordinate bounds.

-
- -
-
animated
-

Specify YES to animate the change by smoothly scrolling and zooming or NO to immediately display the given bounds.

-
- -
- - - - - - - -
-

Discussion

-

Changes the receiver’s viewport to fit the given coordinate bounds and optionally some additional padding on each side.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

setVisibleCoordinates:count:edgePadding:animated:

- - - -
-

Changes the receiver’s viewport to fit all of the given coordinates and optionally some additional padding on each side.

-
- - - -
- (void)setVisibleCoordinates:(CLLocationCoordinate2D *)coordinates count:(NSUInteger)count edgePadding:(UIEdgeInsets)insets animated:(BOOL)animated
- - - -
-

Parameters

- -
-
coordinates
-

The coordinates that the viewport will show.

-
- -
-
count
-

The number of coordinates. This number must not be greater than the number of elements in coordinates.

-
- -
-
insets
-

The minimum padding (in screen points) that will be visible around the given coordinate bounds.

-
- -
-
animated
-

Specify YES to animate the change by smoothly scrolling and zooming or NO to immediately display the given bounds.

-
- -
- - - - - - - -
-

Discussion

-

Changes the receiver’s viewport to fit all of the given coordinates and optionally some additional padding on each side.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

setZoomLevel:animated:

- - - -
-

Changes the zoom level of the map and optionally animates the change.

-
- - - -
- (void)setZoomLevel:(double)zoomLevel animated:(BOOL)animated
- - - -
-

Parameters

- -
-
zoomLevel
-

The new zoom level for the map.

-
- -
-
animated
-

Specify YES if you want the map view to animate the change to the new zoom level or NO if you want the map to display the new zoom level immediately.

- -

Changing the zoom level scales the map without changing the current center coordinate. At zoom level 0, tiles cover the entire world map; at zoom level 1, tiles cover ¼ of the world; at zoom level 2, tiles cover 1/16 of the world, and so on.

-
- -
- - - - - - - -
-

Discussion

-

Changes the zoom level of the map and optionally animates the change.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

showAnnotations:animated:

- - - -
-

Sets the visible region so that the map displays the specified annotations.

-
- - - -
- (void)showAnnotations:(NSArray<id<MGLAnnotation> > *)annotations animated:(BOOL)animated
- - - -
-

Parameters

- -
-
annotations
-

The annotations that you want to be visible in the map.

-
- -
-
animated
-

YES if you want the map region change to be animated, or NO if you want the map to display the new region immediately without animations.

-
- -
- - - - - - - -
-

Discussion

-

Sets the visible region so that the map displays the specified annotations.

- -

Calling this method updates the value in the visibleCoordinateBounds property and potentially other properties to reflect the new map region.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

toggleDebug

- - - -
-

Toggle the current value of debugActive.

-
- - - -
- (void)toggleDebug
- - - - - - - - - -
-

Discussion

-

Toggle the current value of debugActive.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- - - - -
- - -
-
- - - \ No newline at end of file diff --git a/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLMultiPoint.html b/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLMultiPoint.html deleted file mode 100644 index 804449d..0000000 --- a/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLMultiPoint.html +++ /dev/null @@ -1,389 +0,0 @@ - - - - - MGLMultiPoint Class Reference - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - -
Inherits fromMGLShape : NSObject
Declared inMGLMultiPoint.h
- - - - -
- -

Overview

-

The MGLMultiPoint class is an abstract superclass used to define shapes composed of multiple points. You should not create instances of this class directly. Instead, you should create instances of the MGLPolyline or MGLPolygon classes. However, you can use the method and properties of this class to access information about the specific points associated with the line or polygon.

-
- - - - - -
- -

Tasks

- - - - - - - -
- - - - - -
- -

Properties

- -
- -

pointCount

- - - -
-

The number of points associated with the shape. (read-only)

-
- - - -
@property (nonatomic, readonly) NSUInteger pointCount
- - - - - - - - - -
-

Discussion

-

The number of points associated with the shape. (read-only)

-
- - - - - - - -
-

Declared In

- MGLMultiPoint.h
-
- - -
- -
- - - - - -
- -

Instance Methods

- -
- -

getCoordinates:range:

- - - -
-

Retrieves one or more coordinates associated with the shape.

-
- - - -
- (void)getCoordinates:(CLLocationCoordinate2D *)coords range:(NSRange)range
- - - -
-

Parameters

- -
-
coords
-

On input, you must provide a C array of structures large enough to hold the desired number of coordinates. On output, this structure contains the requested coordinate data.

-
- -
-
range
-

The range of points you want. The location field indicates the first point you are requesting, with 0 being the first point, 1 being the second point, and so on. The length field indicates the number of points you want. The array in coords must be large enough to accommodate the number of requested coordinates.

-
- -
- - - - - - - -
-

Discussion

-

Retrieves one or more coordinates associated with the shape.

-
- - - - - - - -
-

Declared In

- MGLMultiPoint.h
-
- - -
- -
- - - - -
- - -
-
- - - \ No newline at end of file diff --git a/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLPointAnnotation.html b/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLPointAnnotation.html deleted file mode 100644 index 78df336..0000000 --- a/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLPointAnnotation.html +++ /dev/null @@ -1,310 +0,0 @@ - - - - - MGLPointAnnotation Class Reference - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - -
Inherits fromMGLShape : NSObject
Declared inMGLPointAnnotation.h
- - - - -
- -

Overview

-

The MGLPointAnnotation class defines a concrete annotation object located at a specified point. You can use this class, rather than define your own, in situations where all you want to do is associate a point on the map with a title.

-
- - - - - -
- -

Tasks

- - - - - - - -
- - - - - -
- -

Properties

- -
- -

coordinate

- - - -
-

The coordinate point of the annotation, specified as a latitude and longitude.

-
- - - -
@property (nonatomic, assign) CLLocationCoordinate2D coordinate
- - - - - - - - - -
-

Discussion

-

The coordinate point of the annotation, specified as a latitude and longitude.

-
- - - - - - - -
-

Declared In

- MGLPointAnnotation.h
-
- - -
- -
- - - - - - - - -
- - -
-
- - - \ No newline at end of file diff --git a/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLPolygon.html b/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLPolygon.html deleted file mode 100644 index 3ad3ebc..0000000 --- a/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLPolygon.html +++ /dev/null @@ -1,333 +0,0 @@ - - - - - MGLPolygon Class Reference - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - - - - -
Inherits fromMGLMultiPoint : MGLShape : NSObject
Conforms toMGLOverlay
Declared inMGLPolygon.h
- - - - -
- -

Overview

-

The MGLPolygon class represents a shape consisting of one or more points that define a closed polygon. The points are connected end-to-end in the order they are provided. The first and last points are connected to each other to create the closed shape.

-
- - - - - -
- -

Tasks

- - - - - - - -
- - - - - - - -
- -

Class Methods

- -
- -

polygonWithCoordinates:count:

- - - -
-

Creates and returns an MGLPolygon object from the specified set of coordinates.

-
- - - -
+ (instancetype)polygonWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count
- - - -
-

Parameters

- -
-
coords
-

The array of coordinates defining the shape. The data in this array is copied to the new object.

-
- -
-
count
-

The number of items in the coords array.

-
- -
- - - -
-

Return Value

-

A new polygon object.

-
- - - - - -
-

Discussion

-

Creates and returns an MGLPolygon object from the specified set of coordinates.

-
- - - - - - - -
-

Declared In

- MGLPolygon.h
-
- - -
- -
- - - - - - -
- - -
-
- - - \ No newline at end of file diff --git a/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLPolyline.html b/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLPolyline.html deleted file mode 100644 index c963988..0000000 --- a/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLPolyline.html +++ /dev/null @@ -1,333 +0,0 @@ - - - - - MGLPolyline Class Reference - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - - - - -
Inherits fromMGLMultiPoint : MGLShape : NSObject
Conforms toMGLOverlay
Declared inMGLPolyline.h
- - - - -
- -

Overview

-

The MGLPolyline class represents a shape consisting of one or more points that define connecting line segments. The points are connected end-to-end in the order they are provided. The first and last points are not connected to each other.

-
- - - - - -
- -

Tasks

- - - - - - - -
- - - - - - - -
- -

Class Methods

- -
- -

polylineWithCoordinates:count:

- - - -
-

Creates and returns an MGLPolyline object from the specified set of coordinates.

-
- - - -
+ (instancetype)polylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count
- - - -
-

Parameters

- -
-
coords
-

The array of coordinates defining the shape. The data in this array is copied to the new object.

-
- -
-
count
-

The number of items in the coords array.

-
- -
- - - -
-

Return Value

-

A new polyline object.

-
- - - - - -
-

Discussion

-

Creates and returns an MGLPolyline object from the specified set of coordinates.

-
- - - - - - - -
-

Declared In

- MGLPolyline.h
-
- - -
- -
- - - - - - -
- - -
-
- - - \ No newline at end of file diff --git a/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLShape.html b/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLShape.html deleted file mode 100644 index 296c2d9..0000000 --- a/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLShape.html +++ /dev/null @@ -1,364 +0,0 @@ - - - - - MGLShape Class Reference - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - - - - -
Inherits fromNSObject
Conforms toMGLAnnotation
Declared inMGLShape.h
- - - - -
- -

Overview

-

The MGLShape class is an abstract class that defines the basic properties for all shape-based annotation objects. This class must be subclassed and cannot be used as is. Subclasses are responsible for defining the geometry of the shape and providing an appropriate value for the coordinate property inherited from the MGLAnnotation protocol.

-
- - - - - -
- -

Tasks

- - - - - - - -
- - - - - -
- -

Properties

- -
- -

subtitle

- - - -
-

The subtitle of the shape annotation. The default value of this property is nil.

-
- - - -
@property (nonatomic, copy, nullable) NSString *subtitle
- - - - - - - - - -
-

Discussion

-

The subtitle of the shape annotation. The default value of this property is nil.

-
- - - - - - - -
-

Declared In

- MGLShape.h
-
- - -
- -
- -

title

- - - -
-

The title of the shape annotation. The default value of this property is nil.

-
- - - -
@property (nonatomic, copy, nullable) NSString *title
- - - - - - - - - -
-

Discussion

-

The title of the shape annotation. The default value of this property is nil.

-
- - - - - - - -
-

Declared In

- MGLShape.h
-
- - -
- -
- - - - - - - - -
- - -
-
- - - \ No newline at end of file diff --git a/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLStyle.html b/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLStyle.html deleted file mode 100644 index 85cb9df..0000000 --- a/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLStyle.html +++ /dev/null @@ -1,577 +0,0 @@ - - - - - MGLStyle Class Reference - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - -
Inherits fromNSObject
Declared inMGLStyle.h
- - - - -
- -

Overview

-

A collection of convenience methods for creating style URLs of default styles provided by Mapbox. These instances of NSURL are cached.

-
- - - - - -
- -

Tasks

- - - - - - - -
- - - - - - - -
- -

Class Methods

- -
- -

darkStyleURL

- - - -
-

Returns the Dark style URL. -Dark is a subtle, dark-colored backdrop for data visualizations.

-
- - - -
+ (NSURL *)darkStyleURL
- - - - - - - - - -
-

Discussion

-

Returns the Dark style URL. -Dark is a subtle, dark-colored backdrop for data visualizations.

-
- - - - - - - -
-

Declared In

- MGLStyle.h
-
- - -
- -
- -

emeraldStyleURL

- - - -
-

Returns the Emerald style URL. -Emerald is a versatile style with emphasis on road networks and public transportation.

-
- - - -
+ (NSURL *)emeraldStyleURL
- - - - - - - - - -
-

Discussion

-

Returns the Emerald style URL. -Emerald is a versatile style with emphasis on road networks and public transportation.

-
- - - - - - - -
-

Declared In

- MGLStyle.h
-
- - -
- -
- -

hybridStyleURL

- - - -
-

Returns the Hybrid style URL. -Hybrid combines the global satellite and aerial imagery of Mapbox Satellite with unobtrusive labels.

-
- - - -
+ (NSURL *)hybridStyleURL
- - - - - - - - - -
-

Discussion

-

Returns the Hybrid style URL. -Hybrid combines the global satellite and aerial imagery of Mapbox Satellite with unobtrusive labels.

-
- - - - - - - -
-

Declared In

- MGLStyle.h
-
- - -
- -
- -

lightStyleURL

- - - -
-

Returns the Light style URL. -Light is a subtle, light-colored backdrop for data visualizations.

-
- - - -
+ (NSURL *)lightStyleURL
- - - - - - - - - -
-

Discussion

-

Returns the Light style URL. -Light is a subtle, light-colored backdrop for data visualizations.

-
- - - - - - - -
-

Declared In

- MGLStyle.h
-
- - -
- -
- -

satelliteStyleURL

- - - -
-

Returns the Satellite style URL. -Mapbox Satellite is a beautiful global satellite and aerial imagery layer.

-
- - - -
+ (NSURL *)satelliteStyleURL
- - - - - - - - - -
-

Discussion

-

Returns the Satellite style URL. -Mapbox Satellite is a beautiful global satellite and aerial imagery layer.

-
- - - - - - - -
-

Declared In

- MGLStyle.h
-
- - -
- -
- -

streetsStyleURL

- - - -
-

Returns the Streets style URL. -Mapbox Streets is a complete base map, perfect for incorporating your own data.

-
- - - -
+ (NSURL *)streetsStyleURL
- - - - - - - - - -
-

Discussion

-

Returns the Streets style URL. -Mapbox Streets is a complete base map, perfect for incorporating your own data.

-
- - - - - - - -
-

Declared In

- MGLStyle.h
-
- - -
- -
- - - - - - -
- - -
-
- - - \ No newline at end of file diff --git a/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLUserLocation.html b/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLUserLocation.html deleted file mode 100644 index 1dd4306..0000000 --- a/Pods/Mapbox-iOS-SDK/Docs/html/Classes/MGLUserLocation.html +++ /dev/null @@ -1,533 +0,0 @@ - - - - - MGLUserLocation Class Reference - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - - - - -
Inherits fromNSObject
Conforms toMGLAnnotation
Declared inMGLUserLocation.h
- - - - -
- -

Overview

-

The MGLUserLocation class defines a specific type of annotation that identifies the user’s current location. You do not create instances of this class directly. Instead, you retrieve an existing MGLUserLocation object from the userLocation property of the map view displayed in your application.

-
- - - - - -
- -

Tasks

- - - -

Determining the User’s Position

- - - - - -

Accessing the User Annotation Text

- - - -
- - - - - -
- -

Properties

- -
- -

heading

- - - -
-

The heading of the user location. (read-only)

-
- - - -
@property (nonatomic, readonly, nullable) CLHeading *heading
- - - - - - - - - -
-

Discussion

-

The heading of the user location. (read-only)

- -

This property is nil if the user location tracking mode is not MGLUserTrackingModeFollowWithHeading.

-
- - - - - - - -
-

Declared In

- MGLUserLocation.h
-
- - -
- -
- -

location

- - - -
-

The current location of the device. (read-only)

-
- - - -
@property (nonatomic, readonly, nullable) CLLocation *location
- - - - - - - - - -
-

Discussion

-

The current location of the device. (read-only)

- -

This property contains nil if the map view is not currently showing the user location or if the user’s location has not yet been determined.

-
- - - - - - - -
-

Declared In

- MGLUserLocation.h
-
- - -
- -
- -

subtitle

- - - -
-

The subtitle to display for the user location annotation.

-
- - - -
@property (nonatomic, copy, nullable) NSString *subtitle
- - - - - - - - - -
-

Discussion

-

The subtitle to display for the user location annotation.

-
- - - - - - - -
-

Declared In

- MGLUserLocation.h
-
- - -
- -
- -

title

- - - -
-

The title to display for the user location annotation.

-
- - - -
@property (nonatomic, copy) NSString *title
- - - - - - - - - -
-

Discussion

-

The title to display for the user location annotation.

-
- - - - - - - -
-

Declared In

- MGLUserLocation.h
-
- - -
- -
- -

updating

- - - -
-

A Boolean value indicating whether the user’s location is currently being updated. (read-only)

-
- - - -
@property (nonatomic, readonly, getter=isUpdating) BOOL updating
- - - - - - - - - -
-

Discussion

-

A Boolean value indicating whether the user’s location is currently being updated. (read-only)

-
- - - - - - - -
-

Declared In

- MGLUserLocation.h
-
- - -
- -
- - - - - - - - -
- - -
-
- - - \ No newline at end of file diff --git a/Pods/Mapbox-iOS-SDK/Docs/html/Constants/MGLUserTrackingMode.html b/Pods/Mapbox-iOS-SDK/Docs/html/Constants/MGLUserTrackingMode.html deleted file mode 100644 index 8c015a9..0000000 --- a/Pods/Mapbox-iOS-SDK/Docs/html/Constants/MGLUserTrackingMode.html +++ /dev/null @@ -1,302 +0,0 @@ - - - - - MGLUserTrackingMode Constants Reference - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - -
Declared inMGLTypes.h
- - - - - - - - - -

MGLUserTrackingMode

- - -
-

The mode used to track the user location on the map.

-
- - -
- - -

Definition

- typedef NS_ENUM(NSUInteger, MGLUserTrackingMode ) {
- -    MGLUserTrackingModeNone = 0,
- -    MGLUserTrackingModeFollow,
- -    MGLUserTrackingModeFollowWithHeading,
- -    MGLUserTrackingModeFollowWithCourse,
- - };
- -
- -
-

Constants

-
- -
MGLUserTrackingModeNone
-
- - -

The map does not follow the user location.

- - - - - - -

- Declared In MGLTypes.h. -

- -
- -
MGLUserTrackingModeFollow
-
- - -

The map follows the user location.

- - - - - - -

- Declared In MGLTypes.h. -

- -
- -
MGLUserTrackingModeFollowWithHeading
-
- - -

The map follows the user location and rotates when the heading changes.

- - - - - - -

- Declared In MGLTypes.h. -

- -
- -
MGLUserTrackingModeFollowWithCourse
-
- - -

The map follows the user location and rotates when the course changes.

- - - - - - -

- Declared In MGLTypes.h. -

- -
- -
-
- - - - - - - - -
-

Declared In

- MGLTypes.h
-
- - - -
- - -
-
- - - \ No newline at end of file diff --git a/Pods/Mapbox-iOS-SDK/Docs/html/Protocols/MGLAnnotation.html b/Pods/Mapbox-iOS-SDK/Docs/html/Protocols/MGLAnnotation.html deleted file mode 100644 index e0d108c..0000000 --- a/Pods/Mapbox-iOS-SDK/Docs/html/Protocols/MGLAnnotation.html +++ /dev/null @@ -1,430 +0,0 @@ - - - - - MGLAnnotation Protocol Reference - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - -
Conforms toNSObject
Declared inMGLAnnotation.h
- - - - -
- -

Overview

-

The MGLAnnotation protocol is used to provide annotation-related information to a map view. To use this protocol, you adopt it in any custom objects that store or represent annotation data. Each object then serves as the source of information about a single map annotation and provides critical information, such as the annotation’s location on the map. Annotation objects do not provide the visual representation of the annotation but typically coordinate (in conjunction with the map view’s delegate) the creation of an appropriate objects to handle the display.

- -

An object that adopts this protocol must implement the coordinate property. The other methods of this protocol are optional.

-
- - - - - -
- -

Tasks

- - - -

Position Attributes

- - - - - -

Title Attributes

- - - -
- - - - - -
- -

Properties

- -
- -

coordinate

- - - -
-

The center point (specified as a map coordinate) of the annotation. (required) (read-only)

-
- - - -
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate
- - - - - - - - - -
-

Discussion

-

The center point (specified as a map coordinate) of the annotation. (required) (read-only)

-
- - - - - - - -
-

Declared In

- MGLAnnotation.h
-
- - -
- -
- -

subtitle

- - - -
-

The string containing the annotation’s subtitle.

-
- - - -
@property (nonatomic, readonly, copy, nullable) NSString *subtitle
- - - - - - - - - -
-

Discussion

-

The string containing the annotation’s subtitle.

- -

This string is displayed in the callout for the associated annotation.

-
- - - - - - - -
-

Declared In

- MGLAnnotation.h
-
- - -
- -
- -

title

- - - -
-

The string containing the annotation’s title.

-
- - - -
@property (nonatomic, readonly, copy, nullable) NSString *title
- - - - - - - - - -
-

Discussion

-

The string containing the annotation’s title.

- -

Although this property is optional, if you support the selection of annotations in your map view, you are expected to provide this property. This string is displayed in the callout for the associated annotation.

-
- - - - - - - -
-

Declared In

- MGLAnnotation.h
-
- - -
- -
- - - - - - - - -
- - -
-
- - - \ No newline at end of file diff --git a/Pods/Mapbox-iOS-SDK/Docs/html/Protocols/MGLMapViewDelegate.html b/Pods/Mapbox-iOS-SDK/Docs/html/Protocols/MGLMapViewDelegate.html deleted file mode 100644 index 10db097..0000000 --- a/Pods/Mapbox-iOS-SDK/Docs/html/Protocols/MGLMapViewDelegate.html +++ /dev/null @@ -1,1828 +0,0 @@ - - - - - MGLMapViewDelegate Protocol Reference - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - -
Conforms toNSObject
Declared inMGLMapView.h
- - - - -
- -

Overview

-

The MGLMapViewDelegate protocol defines a set of optional methods that you can use to receive map-related update messages. Because many map operations require the MGLMapView class to load data asynchronously, the map view calls these methods to notify your application when specific operations complete. The map view also uses these methods to request annotation marker symbology and to manage interactions with those markers.

-
- - - - - - - - - - - - - - - -
- -

Instance Methods

- -
- -

mapView:alphaForShapeAnnotation:

- - - -
-

Returns the alpha value to use when rendering a shape annotation. Defaults to 1.0.

-
- - - -
- (CGFloat)mapView:(MGLMapView *)mapView alphaForShapeAnnotation:(MGLShape *)annotation
- - - -
-

Parameters

- -
-
mapView
-

The map view rendering the shape annotation.

-
- -
-
annotation
-

The annotation being rendered.

-
- -
- - - -
-

Return Value

-

An alpha value between 0 and 1.0.

-
- - - - - -
-

Discussion

-

Returns the alpha value to use when rendering a shape annotation. Defaults to 1.0.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

mapView:annotation:calloutAccessoryControlTapped:

- - - -
-

Tells the delegate that the user tapped one of the annotation’s accessory buttons.

-
- - - -
- (void)mapView:(MGLMapView *)mapView annotation:(id<MGLAnnotation>)annotation calloutAccessoryControlTapped:(UIControl *)control
- - - -
-

Parameters

- -
-
mapView
-

The map view containing the specified annotation.

-
- -
-
annotation
-

The annotation whose button was tapped.

-
- -
-
control
-

The control that was tapped.

-
- -
- - - - - - - -
-

Discussion

-

Tells the delegate that the user tapped one of the annotation’s accessory buttons.

- -

Accessory views contain custom content and are positioned on either side of the annotation title text. If a view you specify is a descendant of the UIControl class, the map view calls this method as a convenience whenever the user taps your view. You can use this method to respond to taps and perform any actions associated with that control. For example, if your control displayed additional information about the annotation, you could use this method to present a modal panel with that information.

- -

If your custom accessory views are not descendants of the UIControl class, the map view does not call this method.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

mapView:annotationCanShowCallout:

- - - -
-

Returns a Boolean value indicating whether the annotation is able to display extra information in a callout bubble.

-
- - - -
- (BOOL)mapView:(MGLMapView *)mapView annotationCanShowCallout:(id<MGLAnnotation>)annotation
- - - -
-

Parameters

- -
-
mapView
-

The map view that requested the annotation callout ability.

-
- -
-
annotation
-

The object representing the annotation.

-
- -
- - - -
-

Return Value

-

A Boolean indicating whether the annotation should show a callout.

-
- - - - - -
-

Discussion

-

Returns a Boolean value indicating whether the annotation is able to display extra information in a callout bubble.

- -

If the value returned is YES, a standard callout bubble is shown when the user taps a selected annotation. The callout uses the title and subtitle text from the associated annotation object. If there is no title text, though, the annotation will not show a callout. The callout also displays any custom callout views returned by the delegate for the left and right callout accessory views.

- -

If the value returned is NO, the value of the title and subtitle strings are ignored.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

mapView:didChangeUserTrackingMode:animated:

- - - -
-

Tells the delegate that the map view’s user tracking mode has changed.

-
- - - -
- (void)mapView:(MGLMapView *)mapView didChangeUserTrackingMode:(MGLUserTrackingMode)mode animated:(BOOL)animated
- - - -
-

Parameters

- -
-
mapView
-

The map view that changed its tracking mode.

-
- -
-
mode
-

The new tracking mode.

-
- -
-
animated
-

Whether the change caused an animated effect on the map.

-
- -
- - - - - - - -
-

Discussion

-

Tells the delegate that the map view’s user tracking mode has changed.

- -

This method is called after the map view asynchronously changes to reflect the new user tracking mode, for example by beginning to zoom or rotate.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

mapView:didDeselectAnnotation:

- - - -
-

Tells the delegate that one of its annotations was deselected.

-
- - - -
- (void)mapView:(MGLMapView *)mapView didDeselectAnnotation:(id<MGLAnnotation>)annotation
- - - -
-

Parameters

- -
-
mapView
-

The map view containing the annotation.

-
- -
-
annotation
-

The annotation that was deselected.

-
- -
- - - - - - - -
-

Discussion

-

Tells the delegate that one of its annotations was deselected.

- -

You can use this method to track changes in the selection state of annotations.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

mapView:didFailToLocateUserWithError:

- - - -
-

Tells the delegate that an attempt to locate the user’s position failed.

-
- - - -
- (void)mapView:(MGLMapView *)mapView didFailToLocateUserWithError:(NSError *)error
- - - -
-

Parameters

- -
-
mapView
-

The map view that is tracking the user’s location.

-
- -
-
error
-

An error object containing the reason why location tracking failed.

-
- -
- - - - - - - -
-

Discussion

-

Tells the delegate that an attempt to locate the user’s position failed.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

mapView:didSelectAnnotation:

- - - -
-

Tells the delegate that one of its annotations was selected.

-
- - - -
- (void)mapView:(MGLMapView *)mapView didSelectAnnotation:(id<MGLAnnotation>)annotation
- - - -
-

Parameters

- -
-
mapView
-

The map view containing the annotation.

-
- -
-
annotation
-

The annotation that was selected.

-
- -
- - - - - - - -
-

Discussion

-

Tells the delegate that one of its annotations was selected.

- -

You can use this method to track changes in the selection state of annotations.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

mapView:didUpdateUserLocation:

- - - -
-

Tells the delegate that the location of the user was updated.

-
- - - -
- (void)mapView:(MGLMapView *)mapView didUpdateUserLocation:(nullable MGLUserLocation *)userLocation
- - - -
-

Parameters

- -
-
mapView
-

The map view that is tracking the user’s location.

-
- -
-
userLocation
-

The location object representing the user’s latest location. This property may be nil.

-
- -
- - - - - - - -
-

Discussion

-

Tells the delegate that the location of the user was updated.

- -

While the showsUserLocation property is set to YES, this method is called whenever a new location update is received by the map view. This method is also called if the map view’s user tracking mode is set to MGLUserTrackingModeFollowWithHeading and the heading changes, or if it is set to MGLUserTrackingModeFollowWithCourse and the course changes.

- -

This method is not called if the application is currently running in the background. If you want to receive location updates while running in the background, you must use the Core Location framework.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

mapView:fillColorForPolygonAnnotation:

- - - -
-

Returns the fill color to use when rendering a polygon annotation. Defaults to blue.

-
- - - -
- (UIColor *)mapView:(MGLMapView *)mapView fillColorForPolygonAnnotation:(MGLPolygon *)annotation
- - - -
-

Parameters

- -
-
mapView
-

The map view rendering the polygon annotation.

-
- -
-
annotation
-

The annotation being rendered.

-
- -
- - - -
-

Return Value

-

A color to use for the polygon interior.

-
- - - - - -
-

Discussion

-

Returns the fill color to use when rendering a polygon annotation. Defaults to blue.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

mapView:imageForAnnotation:

- - - -
-

Returns an image object to use for the marker for the specified point annotation object.

-
- - - -
- (nullable MGLAnnotationImage *)mapView:(MGLMapView *)mapView imageForAnnotation:(id<MGLAnnotation>)annotation
- - - -
-

Parameters

- -
-
mapView
-

The map view that requested the annotation image.

-
- -
-
annotation
-

The object representing the annotation that is about to be displayed.

-
- -
- - - -
-

Return Value

-

The image object to display for the specified annotation or nil if you want to display the default marker image.

-
- - - - - -
-

Discussion

-

Returns an image object to use for the marker for the specified point annotation object.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

mapView:leftCalloutAccessoryViewForAnnotation:

- - - -
-

Return the view to display on the left side of the standard callout bubble.

-
- - - -
- (nullable UIView *)mapView:(MGLMapView *)mapView leftCalloutAccessoryViewForAnnotation:(id<MGLAnnotation>)annotation
- - - -
-

Parameters

- -
-
mapView
-

The map view presenting the annotation callout.

-
- -
-
annotation
-

The object representing the annotation with the callout.

-
- -
- - - -
-

Return Value

-

The accessory view to display.

-
- - - - - -
-

Discussion

-

Return the view to display on the left side of the standard callout bubble.

- -

The default value is treated as if nil. The left callout view is typically used to display information about the annotation or to link to custom information provided by your application.

- -

If the view you specify is also a descendant of the UIControl class, you can use the map view’s delegate to receive notifications when your control is tapped. If it does not descend from UIControl, your view is responsible for handling any touch events within its bounds.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

mapView:lineWidthForPolylineAnnotation:

- - - -
-

Returns the line width to use when rendering a polyline annotation. Defaults to 3.0.

-
- - - -
- (CGFloat)mapView:(MGLMapView *)mapView lineWidthForPolylineAnnotation:(MGLPolyline *)annotation
- - - -
-

Parameters

- -
-
mapView
-

The map view rendering the polygon annotation.

-
- -
-
annotation
-

The annotation being rendered.

-
- -
- - - -
-

Return Value

-

A line width for the polyline.

-
- - - - - -
-

Discussion

-

Returns the line width to use when rendering a polyline annotation. Defaults to 3.0.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

mapView:regionDidChangeAnimated:

- - - -
-

Tells the delegate that the region displayed by the map view just changed.

-
- - - -
- (void)mapView:(MGLMapView *)mapView regionDidChangeAnimated:(BOOL)animated
- - - -
-

Parameters

- -
-
mapView
-

The map view whose visible region changed.

-
- -
-
animated
-

Whether the change caused an animated effect on the map.

-
- -
- - - - - - - -
-

Discussion

-

Tells the delegate that the region displayed by the map view just changed.

- -

This method is called whenever the currently displayed map region has finished changing.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

mapView:regionWillChangeAnimated:

- - - -
-

Tells the delegate that the region displayed by the map view is about to change.

-
- - - -
- (void)mapView:(MGLMapView *)mapView regionWillChangeAnimated:(BOOL)animated
- - - -
-

Parameters

- -
-
mapView
-

The map view whose visible region will change.

-
- -
-
animated
-

Whether the change will cause an animated effect on the map.

-
- -
- - - - - - - -
-

Discussion

-

Tells the delegate that the region displayed by the map view is about to change.

- -

This method is called whenever the currently displayed map region will start changing.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

mapView:rightCalloutAccessoryViewForAnnotation:

- - - -
-

Return the view to display on the right side of the standard callout bubble.

-
- - - -
- (nullable UIView *)mapView:(MGLMapView *)mapView rightCalloutAccessoryViewForAnnotation:(id<MGLAnnotation>)annotation
- - - -
-

Parameters

- -
-
mapView
-

The map view presenting the annotation callout.

-
- -
-
annotation
-

The object representing the annotation with the callout.

-
- -
- - - -
-

Return Value

-

The accessory view to display.

-
- - - - - -
-

Discussion

-

Return the view to display on the right side of the standard callout bubble.

- -

The default value is treated is if nil. The right callout view is typically used to link to more detailed information about the annotation. A common view to specify for this property is UIButton object whose type is set to UIButtonTypeDetailDisclosure.

- -

If the view you specify is also a descendant of the UIControl class, you can use the map view’s delegate to receive notifications when your control is tapped. If it does not descend from UIControl, your view is responsible for handling any touch events within its bounds.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

mapView:strokeColorForShapeAnnotation:

- - - -
-

Returns the stroke color to use when rendering a shape annotation. Defaults to black.

-
- - - -
- (UIColor *)mapView:(MGLMapView *)mapView strokeColorForShapeAnnotation:(MGLShape *)annotation
- - - -
-

Parameters

- -
-
mapView
-

The map view rendering the shape annotation.

-
- -
-
annotation
-

The annotation being rendered.

-
- -
- - - -
-

Return Value

-

A color to use for the shape outline.

-
- - - - - -
-

Discussion

-

Returns the stroke color to use when rendering a shape annotation. Defaults to black.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

mapView:tapOnCalloutForAnnotation:

- - - -
-

Tells the delegate that the user tapped on an annotation’s callout view.

-
- - - -
- (void)mapView:(MGLMapView *)mapView tapOnCalloutForAnnotation:(id<MGLAnnotation>)annotation
- - - -
-

Parameters

- -
-
mapView
-

The map view containing the specified annotation.

-
- -
-
annotation
-

The annotation whose callout was tapped.

-
- -
- - - - - - - -
-

Discussion

-

Tells the delegate that the user tapped on an annotation’s callout view.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

mapViewDidFinishLoadingMap:

- - - -
-

Tells the delegate that the map view has finished loading.

-
- - - -
- (void)mapViewDidFinishLoadingMap:(MGLMapView *)mapView
- - - -
-

Parameters

- -
-
mapView
-

The map view that has finished loading.

-
- -
- - - - - - - -
-

Discussion

-

Tells the delegate that the map view has finished loading.

- -

This method is called whenever the map view finishes loading, either after the initial load or after a style change has forced a reload.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

mapViewDidStopLocatingUser:

- - - -
-

Tells the delegate that the map view has stopped tracking the user’s location.

-
- - - -
- (void)mapViewDidStopLocatingUser:(MGLMapView *)mapView
- - - -
-

Parameters

- -
-
mapView
-

The map view that is tracking the user’s location.

-
- -
- - - - - - - -
-

Discussion

-

Tells the delegate that the map view has stopped tracking the user’s location.

- -

This method is called when the value of the showsUserLocation property changes to NO.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

mapViewRegionIsChanging:

- - - -
-

Tells the delegate that the region displayed by the map view is changing.

-
- - - -
- (void)mapViewRegionIsChanging:(MGLMapView *)mapView
- - - -
-

Parameters

- -
-
mapView
-

The map view whose visible region is changing.

-
- -
- - - - - - - -
-

Discussion

-

Tells the delegate that the region displayed by the map view is changing.

- -

This method is called whenever the currently displayed map region changes. During movement, this method may be called many times to report updates to the map position. Therefore, your implementation of this method should be as lightweight as possible to avoid affecting performance.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

mapViewWillStartLoadingMap:

- - - -
-

Tells the delegate that the map view will begin to load.

-
- - - -
- (void)mapViewWillStartLoadingMap:(MGLMapView *)mapView
- - - -
-

Parameters

- -
-
mapView
-

The map view that is starting to load.

-
- -
- - - - - - - -
-

Discussion

-

Tells the delegate that the map view will begin to load.

- -

This method is called whenever the map view starts loading, including when a new style has been set and the map must reload.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- -

mapViewWillStartLocatingUser:

- - - -
-

Tells the delegate that the map view will begin tracking the user’s location.

-
- - - -
- (void)mapViewWillStartLocatingUser:(MGLMapView *)mapView
- - - -
-

Parameters

- -
-
mapView
-

The map view that is tracking the user’s location.

-
- -
- - - - - - - -
-

Discussion

-

Tells the delegate that the map view will begin tracking the user’s location.

- -

This method is called when the value of the showsUserLocation property changes to YES.

-
- - - - - - - -
-

Declared In

- MGLMapView.h
-
- - -
- -
- - - - -
- - -
-
- - - \ No newline at end of file diff --git a/Pods/Mapbox-iOS-SDK/Docs/html/Protocols/MGLOverlay.html b/Pods/Mapbox-iOS-SDK/Docs/html/Protocols/MGLOverlay.html deleted file mode 100644 index 60750fd..0000000 --- a/Pods/Mapbox-iOS-SDK/Docs/html/Protocols/MGLOverlay.html +++ /dev/null @@ -1,450 +0,0 @@ - - - - - MGLOverlay Protocol Reference - - - - - - -
- - - - -
- -
-
- - - -
- -
- - - - - - - -
Conforms toMGLAnnotation
Declared inMGLOverlay.h
- - - - -
- -

Overview

-

The MGLOverlay protocol defines a specific type of annotation that represents both a point and an area on a map. Overlay objects are essentially data objects that contain the geographic data needed to represent the map area. For example, overlays can take the form of common shapes such as rectangles and circles. They can also describe polygons and other complex shapes.

- -

You use overlays to layer more sophisticated content on top of a map view. For example, you could use an overlay to show the boundaries of a national park or trace a bus route along city streets. The Mapbox iOS SDK defines several concrete classes that conform to this protocol and define standard shapes.

- -

Because overlays are also annotations, they have similar usage pattern to annotations. When added to a map view using the addOverlay: method, that view detects whenever the overlay’s defined region intersects the visible portion of the map. At that point, the map view asks its delegate to provide a special overlay view to draw the visual representation of the overlay. If you add an overlay to a map view as an annotation instead, it is treated as an annotation with a single point.

-
- - - - - -
- -

Tasks

- - - - -

Position Attributes

- - -
- - - - - -
- -

Properties

- -
- -

coordinate

- - - -
-

The center point (specified as a map coordinate) of the annotation. (required) (read-only)

-
- - - -
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate
- - - - - - - - - -
-

Discussion

-

The center point (specified as a map coordinate) of the annotation. (required) (read-only)

-
- - - - - - - -
-

Declared In

- MGLAnnotation.h
-
- - -
- -
- -

overlayBounds

- - - -
-

The cooordinate rectangle that encompasses the overlay. (required) (read-only)

-
- - - -
@property (nonatomic, readonly) MGLCoordinateBounds overlayBounds
- - - - - - - - - -
-

Discussion

-

The cooordinate rectangle that encompasses the overlay. (required) (read-only)

- -

This property contains the smallest rectangle that completely encompasses the overlay. Implementers of this protocol must set this area when implementing their overlay class, and after setting it, you must not change it.

-
- - - - - - - -
-

Declared In

- MGLOverlay.h
-
- - -
- -
- - - - - -
- -

Instance Methods

- -
- -

intersectsOverlayBounds:

- - - -
-

Returns a Boolean indicating whether the specified rectangle intersects the receiver’s shape.

-
- - - -
- (BOOL)intersectsOverlayBounds:(MGLCoordinateBounds)overlayBounds
- - - -
-

Parameters

- -
-
overlayBounds
-

The rectangle to intersect with the receiver’s area.

-
- -
- - - -
-

Return Value

-

YES if any part of the map rectangle intersects the receiver’s shape or NO if it does not.

-
- - - - - -
-

Discussion

-

Returns a Boolean indicating whether the specified rectangle intersects the receiver’s shape.

- -

You can implement this method to provide more specific bounds checking for an overlay. If you do not implement it, the bounding rectangle is used to detect intersections.

-
- - - - - - - -
-

Declared In

- MGLOverlay.h
-
- - -
- -
- - - - -
- - -
-
- - - \ No newline at end of file diff --git a/Pods/Mapbox-iOS-SDK/Docs/html/css/styles.css b/Pods/Mapbox-iOS-SDK/Docs/html/css/styles.css deleted file mode 100644 index 3308189..0000000 --- a/Pods/Mapbox-iOS-SDK/Docs/html/css/styles.css +++ /dev/null @@ -1,615 +0,0 @@ -body { - font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; - font-size: 13px; -} - -code { - font-family: Courier, Consolas, monospace; - font-size: 13px; - color: #666; -} - -pre { - font-family: Courier, Consolas, monospace; - font-size: 13px; - line-height: 18px; - tab-interval: 0.5em; - border: 1px solid #C7CFD5; - background-color: #F1F5F9; - color: #666; - padding: 0.3em 1em; -} - -ul { - list-style-type: square; -} - -li { - margin-bottom: 10px; -} - -a, a code { - text-decoration: none; - color: #36C; -} - -a:hover, a:hover code { - text-decoration: underline; - color: #36C; -} - -h2 { - border-bottom: 1px solid #8391A8; - color: #3C4C6C; - font-size: 187%; - font-weight: normal; - margin-top: 1.75em; - padding-bottom: 2px; -} - -table { - margin-bottom: 4em; - border-collapse:collapse; - vertical-align: middle; -} - -td { - border: 1px solid #9BB3CD; - padding: .667em; - font-size: 100%; -} - -th { - border: 1px solid #9BB3CD; - padding: .3em .667em .3em .667em; - background: #93A5BB; - font-size: 103%; - font-weight: bold; - color: white; - text-align: left; -} - -/* @group Common page elements */ - -#top_header { - height: 91px; - left: 0; - min-width: 598px; - position: absolute; - right: 0; - top: 0; - z-index: 900; -} - -#footer { - clear: both; - padding-top: 20px; - text-align: center; -} - -#contents, #overview_contents { - -webkit-overflow-scrolling: touch; - border-top: 1px solid #A9A9A9; - position: absolute; - top: 90px; - left: 0; - right: 0; - bottom: 0; - overflow-x: hidden; - overflow-y: auto; - padding-left: 2em; - padding-right: 2em; - padding-top: 1em; - min-width: 550px; -} - -#contents.isShowingTOC { - left: 230px; - min-width: 320px; -} - -.copyright { - font-size: 12px; -} - -.generator { - font-size: 11px; -} - -.main-navigation ul li { - display: inline; - margin-left: 15px; - list-style: none; -} - -.navigation-top { - clear: both; - float: right; -} - -.navigation-bottom { - clear: both; - float: right; - margin-top: 20px; - margin-bottom: -10px; -} - -.open > .disclosure { - background-image: url("../img/disclosure_open.png"); -} - -.disclosure { - background: url("../img/disclosure.png") no-repeat scroll 0 0; -} - -.disclosure, .nodisclosure { - display: inline-block; - height: 8px; - margin-right: 5px; - position: relative; - width: 9px; -} - -/* @end */ - -/* @group Header */ - -#top_header #library { - background: url("../img/library_background.png") repeat-x 0 0 #485E78; - background-color: #ccc; - height: 35px; - font-size: 115%; -} - -#top_header #library #libraryTitle { - color: #FFFFFF; - margin-left: 15px; - text-shadow: 0 -1px 0 #485E78; - top: 8px; - position: absolute; -} - -#libraryTitle { - left: 0; -} - -#top_header #library #developerHome { - color: #92979E; - right: 15px; - top: 8px; - position: absolute; -} - -#top_header #library a:hover { - text-decoration: none; -} - -#top_header #title { - background: url("../img/title_background.png") repeat-x 0 0 #8A98A9; - border-bottom: 1px solid #757575; - height: 25px; - overflow: hidden; -} - -#top_header h1 { - font-size: 105%; - font-weight: normal; - margin: 0; - padding: 3px 0 2px; - text-align: center; - /*text-shadow: 0 1px 0 #D5D5D5;*/ - white-space: nowrap; -} - -#headerButtons { - background-color: #D8D8D8; - background-image: url("../img/button_bar_background.png"); - border-bottom: 0px solid #EDEDED; - border-top: 0px solid #a8a8a8; - font-size: 8pt; - height: 28px; - left: 0; - list-style: none outside none; - margin: 0; - overflow: hidden; - padding: 0; - position: absolute; - right: 0; - top: 61px; -} - -#headerButtons li { - background-repeat: no-repeat; - display: inline; - margin-top: 0; - margin-bottom: 0; - padding: 0; -} - -#toc_button button { - background-color: #EBEEF1; - border-color: #ACACAC; - border-style: none solid none none; - border-width: 0 1px 0 0; - height: 28px; - margin: 0; - padding-left: 30px; - text-align: left; - width: 230px; -} - -li#jumpto_button { - left: 230px; - margin-left: 0; - position: absolute; -} - -li#jumpto_button select { - height: 22px; - margin: 5px 2px 0 10px; - max-width: 300px; -} - -/* @end */ - -/* @group Table of contents */ - -#tocContainer.isShowingTOC { - border-right: 1px solid #ACACAC; - display: block; - overflow-x: hidden; - overflow-y: auto; - padding: 0; -} - -#tocContainer { - background-color: #EBEEF1; - border-top: 1px solid #ACACAC; - bottom: 0; - display: none; - left: 0; - overflow: hidden; - position: absolute; - top: 90px; - width: 229px; -} - -#tocContainer > ul#toc { - font-size: 11px; - margin: 0; - padding: 12px 0 18px; - width: 209px; - -moz-user-select: none; - -webkit-user-select: none; - user-select: none; -} - -#tocContainer > ul#toc > li { - margin: 0; - padding: 0 0 7px 30px; - text-indent: -15px; -} - -#tocContainer > ul#toc > li > .sectionName a { - color: #000000; - font-weight: bold; -} - -#tocContainer > ul#toc > li > .sectionName a:hover { - text-decoration: none; -} - -#tocContainer > ul#toc li.children > ul { - display: none; - height: 0; -} - -#tocContainer > ul#toc > li > ul { - margin: 0; - padding: 0; -} - -#tocContainer > ul#toc > li > ul, ul#toc > li > ul > li { - margin-left: 0; - margin-bottom: 0; - padding-left: 15px; -} - -#tocContainer > ul#toc > li ul { - list-style: none; - margin-right: 0; - padding-right: 0; -} - -#tocContainer > ul#toc li.children.open > ul { - display: block; - height: auto; - margin-left: -15px; - padding-left: 0; -} - -#tocContainer > ul#toc > li > ul, ul#toc > li > ul > li { - margin-left: 0; - padding-left: 15px; -} - -#tocContainer li ul li { - margin-top: 0.583em; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} - -#tocContainer li ul li span.sectionName { - white-space: normal; -} - -#tocContainer > ul#toc > li > ul > li > .sectionName a { - font-weight: bold; -} - -#tocContainer > ul#toc > li > ul a { - color: #4F4F4F; -} - -/* @end */ - -/* @group Index formatting */ - -.index-title { - font-size: 13px; - font-weight: normal; -} - -.index-column { - float: left; - width: 30%; - min-width: 200px; - font-size: 11px; -} - -.index-column ul { - margin: 8px 0 0 0; - padding: 0; - list-style: none; -} - -.index-column ul li { - margin: 0 0 3px 0; - padding: 0; -} - -.hierarchy-column { - min-width: 400px; -} - -.hierarchy-column ul { - margin: 3px 0 0 15px; -} - -.hierarchy-column ul li { - list-style-type: square; -} - -/* @end */ - -/* @group Common formatting elements */ - -.title { - font-weight: normal; - font-size: 215%; - margin-top:0; -} - -.subtitle { - font-weight: normal; - font-size: 180%; - color: #3C4C6C; - border-bottom: 1px solid #5088C5; -} - -.subsubtitle { - font-weight: normal; - font-size: 145%; - height: 0.7em; -} - -.note { - border: 1px solid #5088C5; - background-color: white; - margin: 1.667em 0 1.75em 0; - padding: 0 .667em .083em .750em; -} - -.warning { - border: 1px solid #5088C5; - background-color: #F0F3F7; - margin-bottom: 0.5em; - padding: 0.3em 0.8em; -} - -.bug { - border: 1px solid #000; - background-color: #ffffcc; - margin-bottom: 0.5em; - padding: 0.3em 0.8em; -} - -.deprecated { - color: #F60425; -} - -/* @end */ - -/* @group Common layout */ - -.section { - margin-top: 3em; -} - -/* @end */ - -/* @group Object specification section */ - -.section-specification { - margin-left: 2.5em; - margin-right: 2.5em; - font-size: 12px; -} - -.section-specification table { - margin-bottom: 0em; - border-top: 1px solid #d6e0e5; -} - -.section-specification td { - vertical-align: top; - border-bottom: 1px solid #d6e0e5; - border-left-width: 0px; - border-right-width: 0px; - border-top-width: 0px; - padding: .6em; -} - -.section-specification .specification-title { - font-weight: bold; -} - -/* @end */ - -/* @group Tasks section */ - -.task-list { - list-style-type: none; - padding-left: 0px; -} - -.task-list li { - margin-bottom: 3px; -} - -.task-item-suffix { - color: #996; - font-size: 12px; - font-style: italic; - margin-left: 0.5em; -} - -span.tooltip span.tooltip { - font-size: 1.0em; - display: none; - padding: 0.3em; - border: 1px solid #aaa; - background-color: #fdfec8; - color: #000; - text-align: left; -} - -span.tooltip:hover span.tooltip { - display: block; - position: absolute; - margin-left: 2em; -} - -/* @end */ - -/* @group Method section */ - -.section-method { - margin-top: 2.3em; -} - -.method-title { - margin-bottom: 1.5em; -} - -.method-subtitle { - margin-top: 0.7em; - margin-bottom: 0.2em; -} - -.method-subsection p { - margin-top: 0.4em; - margin-bottom: 0.8em; -} - -.method-declaration { - margin-top:1.182em; - margin-bottom:.909em; -} - -.method-declaration code { - font:14px Courier, Consolas, monospace; - color:#000; -} - -.declaration { - color: #000; -} - -.termdef { - margin-bottom: 10px; - margin-left: 0px; - margin-right: 0px; - margin-top: 0px; -} - -.termdef dt { - margin: 0; - padding: 0; -} - -.termdef dd { - margin-bottom: 6px; - margin-left: 16px; - margin-right: 0px; - margin-top: 1px; -} - -.termdef dd p { - margin-bottom: 6px; - margin-left: 0px; - margin-right: 0px; - margin-top: -1px; -} - -.argument-def { - margin-top: 0.3em; - margin-bottom: 0.3em; -} - -.argument-def dd { - margin-left: 1.25em; -} - -.see-also-section ul { - list-style-type: none; - padding-left: 0px; - margin-top: 0; -} - -.see-also-section li { - margin-bottom: 3px; -} - -.declared-in-ref { - color: #666; -} - -#tocContainer.hideInXcode { - display: none; - border: 0px solid black; -} - -#top_header.hideInXcode { - display: none; -} - -#contents.hideInXcode { - border: 0px solid black; - top: 0px; - left: 0px; -} - -/* @end */ - diff --git a/Pods/Mapbox-iOS-SDK/Docs/html/css/stylesPrint.css b/Pods/Mapbox-iOS-SDK/Docs/html/css/stylesPrint.css deleted file mode 100644 index dc54cd2..0000000 --- a/Pods/Mapbox-iOS-SDK/Docs/html/css/stylesPrint.css +++ /dev/null @@ -1,22 +0,0 @@ - -header { - display: none; -} - -div.main-navigation, div.navigation-top { - display: none; -} - -div#overview_contents, div#contents.isShowingTOC, div#contents { - overflow: visible; - position: relative; - top: 0px; - border: none; - left: 0; -} -#tocContainer.isShowingTOC { - display: none; -} -nav { - display: none; -} \ No newline at end of file diff --git a/Pods/Mapbox-iOS-SDK/Docs/html/hierarchy.html b/Pods/Mapbox-iOS-SDK/Docs/html/hierarchy.html deleted file mode 100644 index 4143a96..0000000 --- a/Pods/Mapbox-iOS-SDK/Docs/html/hierarchy.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - Mapbox iOS SDK 3.0.0 Hierarchy - - - - - -
- - - - -
-
-
- - -
- -
-

Class Hierarchy

- - - -
- - - -
- -

Protocol References

- - - -

Constant References

- - - -
- -
- - -
-
- - \ No newline at end of file diff --git a/Pods/Mapbox-iOS-SDK/Docs/html/img/button_bar_background.png b/Pods/Mapbox-iOS-SDK/Docs/html/img/button_bar_background.png deleted file mode 100644 index 71d1019..0000000 Binary files a/Pods/Mapbox-iOS-SDK/Docs/html/img/button_bar_background.png and /dev/null differ diff --git a/Pods/Mapbox-iOS-SDK/Docs/html/img/disclosure.png b/Pods/Mapbox-iOS-SDK/Docs/html/img/disclosure.png deleted file mode 100644 index 4c5cbf4..0000000 Binary files a/Pods/Mapbox-iOS-SDK/Docs/html/img/disclosure.png and /dev/null differ diff --git a/Pods/Mapbox-iOS-SDK/Docs/html/img/disclosure_open.png b/Pods/Mapbox-iOS-SDK/Docs/html/img/disclosure_open.png deleted file mode 100644 index 82396fe..0000000 Binary files a/Pods/Mapbox-iOS-SDK/Docs/html/img/disclosure_open.png and /dev/null differ diff --git a/Pods/Mapbox-iOS-SDK/Docs/html/img/library_background.png b/Pods/Mapbox-iOS-SDK/Docs/html/img/library_background.png deleted file mode 100644 index 3006248..0000000 Binary files a/Pods/Mapbox-iOS-SDK/Docs/html/img/library_background.png and /dev/null differ diff --git a/Pods/Mapbox-iOS-SDK/Docs/html/img/title_background.png b/Pods/Mapbox-iOS-SDK/Docs/html/img/title_background.png deleted file mode 100644 index 846e496..0000000 Binary files a/Pods/Mapbox-iOS-SDK/Docs/html/img/title_background.png and /dev/null differ diff --git a/Pods/Mapbox-iOS-SDK/Docs/html/index.html b/Pods/Mapbox-iOS-SDK/Docs/html/index.html deleted file mode 100644 index 45d9558..0000000 --- a/Pods/Mapbox-iOS-SDK/Docs/html/index.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - Mapbox iOS SDK 3.0.0 Reference - - - - - -
- - - - -
-
-
- - -
- -
- - -

Mapbox iOS SDK

- -

An open source OpenGL-based vector map solution for iOS with full styling capabilities and Cocoa bindings.

- -

For more information, check out our online overview.

- -

- -

See the full changelog online.

- -

iOS 3.0.0

- -
    -
  • If you install this SDK via CocoaPods, CocoaPods version 0.38.0 or above is required. (#2132)
  • -
  • The styleID property has been removed from MGLMapView. Instead, set the styleURL property to an NSURL in the form mapbox://styles/STYLE_ID. If you previously set the style ID in Interface Builder’s Attributes inspector, delete the styleID entry from the User Defined Runtime Attributes section of the Identity inspector, then set the new “Style URL” inspectable to a value in the form mapbox://styles/STYLE_ID. (#2632)
  • -
  • Default styles such as Streets are no longer bundled with the SDK; instead, they are loaded at runtime from the style API on mapbox.com. As always, you can use these default styles with any valid access token, and Streets continues to be MGLMapView’s initial style. The bundledStyleURLs property on MGLMapView has been deprecated in favor of several class methods on MGLStyle that provide direct access to the default styles. (#2746)
  • -
  • The SDK now builds with Bitcode enabled. A version of libMapbox.a with Bitcode disabled is also available. (#2332, #3003)
  • -
  • The style URL can be set to a local resource: asset://local-color.json and local-color.json both resolve to a file named local-color.json in the application’s root folder. (#3087)
  • -
  • The double-tap-drag gesture for zooming in and out is now consistent with the Google Maps SDK. (#2153)
  • -
  • A new MGLAnnotationImage.enabled property allows you to disable touch events on individual annotations. (#2501)
  • -
  • Fixed a rendering issue that caused one-way arrows along tile boundaries to point due east instead of in the direction of travel. (#2530)
  • -
  • Fixed an issue that prevented zoom level–dependent style properties from updating after zooming programmatically with animation. (#2951)
  • -
  • Performance and appearance improvements during annotation adds & removes. (#1688)
  • -
  • Overall improved performance during renders by not rendering faster than necessary. (#1975)
  • -
  • Fixed a rendering issue with styles that use the background-pattern property. (#2531)
  • -
  • Fixed a crash when reusing a single MGLMapView across multiple UIViewControllers. (#2969)
  • -
  • Fixed a crash on iPod touch and other devices or simulators without a cell carrier. (#2687)
  • -
  • Eliminated flickering when opening and closing an overlay, such as an alert or action sheet. (#2309)
  • -
  • Labels can now line wrap on hyphens and other punctuation. (#2598)
  • -
  • A new delegate callback was added for observing taps to annotation callout views. (#2596)
  • -
  • -mapViewRegionIsChanging: is now sent to the map view’s delegate during gestures. (#2700)
  • -
  • Improved gesture recognition while the map is tilted. (#2770)
  • -
  • -mapViewWillStartLoadingMap: and -mapViewDidFinishLoadingMap: delegate methods now work. (#2706)
  • -
  • Removed CoreTelephony.framework dependency. (#2581)
  • -
  • Improved user location annotation responsiveness. (#2643)
  • -
- - - -
- - - - - - - - - -
- -

Protocol References

- - - -

Constant References

- - - -
- -
- - -
-
- - \ No newline at end of file diff --git a/Pods/Mapbox-iOS-SDK/Headers/MGLAccountManager.h b/Pods/Mapbox-iOS-SDK/Headers/MGLAccountManager.h deleted file mode 100644 index 4c239d6..0000000 --- a/Pods/Mapbox-iOS-SDK/Headers/MGLAccountManager.h +++ /dev/null @@ -1,31 +0,0 @@ -#import - -#import "MGLTypes.h" - -NS_ASSUME_NONNULL_BEGIN - -/** The MGLAccountManager object provides a global way to set a Mapbox API access token, as well as other settings used framework-wide. */ -@interface MGLAccountManager : NSObject - -/** @name Authorizing Access */ - -/** Set the Mapbox API access token for the framework. -* -* You can set an access token on MGLAccountManager or on an individual map view. The same token is used throughout the framework. -* @param accessToken The Mapbox API access token. */ -+ (void)setAccessToken:(nullable NSString *)accessToken; - -/** Retreive the Mapbox API access token for the framework. -* -* You can set an access token on MGLAccountManager or on an individual map view. The same token is used throughout the framework. -* @return accessToken The Mapbox API access token. */ -+ (nullable NSString *)accessToken; - -/** @name Providing User Metrics Opt-Out */ - -/** Whether in-app user metrics opt-out is configured. If set to the default value of `NO`, a user opt-out preference is expected in a `Settings.bundle` that shows in the application's section within the system Settings app. */ -+ (BOOL)mapboxMetricsEnabledSettingShownInApp; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Pods/Mapbox-iOS-SDK/Headers/MGLAnnotation.h b/Pods/Mapbox-iOS-SDK/Headers/MGLAnnotation.h deleted file mode 100644 index aef21ec..0000000 --- a/Pods/Mapbox-iOS-SDK/Headers/MGLAnnotation.h +++ /dev/null @@ -1,34 +0,0 @@ -#import -#import - -#import "MGLTypes.h" - -NS_ASSUME_NONNULL_BEGIN - -/** The `MGLAnnotation` protocol is used to provide annotation-related information to a map view. To use this protocol, you adopt it in any custom objects that store or represent annotation data. Each object then serves as the source of information about a single map annotation and provides critical information, such as the annotation’s location on the map. Annotation objects do not provide the visual representation of the annotation but typically coordinate (in conjunction with the map view’s delegate) the creation of an appropriate objects to handle the display. -* -* An object that adopts this protocol must implement the `coordinate` property. The other methods of this protocol are optional. */ -@protocol MGLAnnotation - -/** @name Position Attributes */ - -/** The center point (specified as a map coordinate) of the annotation. (required) (read-only) */ -@property (nonatomic, readonly) CLLocationCoordinate2D coordinate; - -@optional - -/** @name Title Attributes */ - -/** The string containing the annotation’s title. -* -* Although this property is optional, if you support the selection of annotations in your map view, you are expected to provide this property. This string is displayed in the callout for the associated annotation. */ -@property (nonatomic, readonly, copy, nullable) NSString *title; - -/** The string containing the annotation’s subtitle. -* -* This string is displayed in the callout for the associated annotation. */ -@property (nonatomic, readonly, copy, nullable) NSString *subtitle; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Pods/Mapbox-iOS-SDK/Headers/MGLAnnotationImage.h b/Pods/Mapbox-iOS-SDK/Headers/MGLAnnotationImage.h deleted file mode 100644 index 70bf8b7..0000000 --- a/Pods/Mapbox-iOS-SDK/Headers/MGLAnnotationImage.h +++ /dev/null @@ -1,37 +0,0 @@ -#import - -#import "MGLTypes.h" - -NS_ASSUME_NONNULL_BEGIN - -/** The MGLAnnotationImage class is responsible for presenting point-based annotations visually on a map view. Annotation image objects wrap `UIImage` objects and may be recycled later and put into a reuse queue that is maintained by the map view. */ -@interface MGLAnnotationImage : NSObject - -/** @name Initializing and Preparing the Image Object */ - -/** Initializes and returns a new annotation image object. -* @param image The image to be displayed for the annotation. -* @param reuseIdentifier The string that identifies that this annotation image is reusable. -* @return The initialized annotation image object or `nil` if there was a problem initializing the object. */ -+ (instancetype)annotationImageWithImage:(UIImage *)image reuseIdentifier:(NSString *)reuseIdentifier; - -/** @name Getting and Setting Attributes */ - -/** The image to be displayed for the annotation. */ -@property (nonatomic, readonly) UIImage *image; - -/** The string that identifies that this annotation image is reusable. (read-only) -* -* You specify the reuse identifier when you create the image object. You use this type later to retrieve an annotation image object that was created previously but which is currently unused because its annotation is not on screen. -* -* If you define distinctly different types of annotations (with distinctly different annotation images to go with them), you can differentiate between the annotation types by specifying different reuse identifiers for each one. */ -@property (nonatomic, readonly) NSString *reuseIdentifier; - -/** A Boolean value indicating whether the annotation is enabled. -* -* The default value of this property is `YES`. If the value of this property is `NO`, the annotation image ignores touch events and cannot be selected. */ -@property (nonatomic, getter=isEnabled) BOOL enabled; - -@end - -NS_ASSUME_NONNULL_END diff --git a/Pods/Mapbox-iOS-SDK/Headers/MGLMapView.h b/Pods/Mapbox-iOS-SDK/Headers/MGLMapView.h deleted file mode 100644 index 779faa4..0000000 --- a/Pods/Mapbox-iOS-SDK/Headers/MGLMapView.h +++ /dev/null @@ -1,606 +0,0 @@ -#import "MGLGeometry.h" -#import "MGLMapCamera.h" - -#import -#import - -#import "MGLTypes.h" - -NS_ASSUME_NONNULL_BEGIN - -@class MGLAnnotationImage; -@class MGLUserLocation; -@class MGLPolyline; -@class MGLPolygon; -@class MGLShape; - -@protocol MGLMapViewDelegate; -@protocol MGLAnnotation; -@protocol MGLOverlay; - -/** An MGLMapView object provides an embeddable map interface, similar to the one provided by Apple's MapKit. You use this class to display map information and to manipulate the map contents from your application. You can center the map on a given coordinate, specify the size of the area you want to display, and style the features of the map to fit your application's use case. -* -* Use of MGLMapView requires a Mapbox API access token. Obtain an access token on the [Mapbox account page](https://www.mapbox.com/account/apps/). If you instantiate an MGLMapView from Interface Builder, rendering of the map won't begin until the accessToken property has been set. -* -* @warning Please note that you are responsible for getting permission to use the map data, and for ensuring your use adheres to the relevant terms of use. */ -IB_DESIGNABLE -@interface MGLMapView : UIView - -#pragma mark - Initializing a Map View - -/** @name Initializing a Map View */ - -/** Initializes and returns a newly allocated map view with the specified frame and the default style. -* @param frame The frame for the view, measured in points. -* @return An initialized map view. */ -- (instancetype)initWithFrame:(CGRect)frame; - -/** Initializes and returns a newly allocated map view with the specified frame and style URL. -* @param frame The frame for the view, measured in points. -* @param styleURL The map style URL to use. Can be either an HTTP/HTTPS URL or a Mapbox map ID style URL (`mapbox://styles//