public class MKTileOverlay extends NSObject implements MKOverlay
| Modifier and Type | Class and Description |
|---|---|
static interface |
MKTileOverlay.Block_loadTileAtPathResult |
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
MKTileOverlay(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static MKTileOverlay |
alloc() |
static MKTileOverlay |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
MKMapRect |
boundingMapRect()
boundingMapRect should be the smallest rectangle that completely contains the overlay.
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
boolean |
canReplaceMapContent()
If this method is implemented and returns YES, MKMapView may use it as a hint to skip loading or drawing the built in map content in the area covered by this overlay.
|
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
CLLocationCoordinate2D |
coordinate()
From MKAnnotation, for areas this should return the centroid of the area.
|
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
static long |
hash_static() |
MKTileOverlay |
init() |
MKTileOverlay |
initWithURLTemplate(java.lang.String URLTemplate)
URL template is a string where the substrings "{x}", "{y}", "{z}", and "{scale}" are replaced with values from a tile path to create a URL to load.
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
boolean |
intersectsMapRect(MKMapRect mapRect)
Implement intersectsMapRect to provide more precise control over when the view for the overlay should be shown.
|
boolean |
isGeometryFlipped()
Default is NO.
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
void |
loadTileAtPathResult(MKTileOverlayPath path,
MKTileOverlay.Block_loadTileAtPathResult result)
Load the requested tile and call the callback block with the tile data or with an error if the tile could not be loaded.
|
long |
maximumZ() |
long |
minimumZ()
The minimum/maximum zoom level at which tile data is available for this overlay.
|
static MKTileOverlay |
new_objc() |
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setCanReplaceMapContent(boolean value) |
void |
setCoordinate(CLLocationCoordinate2D newCoordinate)
Called as a result of dragging an annotation view.
|
void |
setGeometryFlipped(boolean value)
Default is NO.
|
void |
setMaximumZ(long value) |
void |
setMinimumZ(long value)
The minimum/maximum zoom level at which tile data is available for this overlay.
|
void |
setTileSize(CGSize value)
default is 256x256
|
static void |
setVersion_static(long aVersion) |
java.lang.String |
subtitle() |
static org.moe.natj.objc.Class |
superclass_static() |
CGSize |
tileSize()
default is 256x256
|
java.lang.String |
title()
Title and subtitle for use by selection UI.
|
NSURL |
URLForTilePath(MKTileOverlayPath path)
default implementation fills out the URLTemplate
|
java.lang.String |
URLTemplate() |
static long |
version_static() |
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static MKTileOverlay alloc()
public static MKTileOverlay allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static MKTileOverlay new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public NSURL URLForTilePath(MKTileOverlayPath path)
public java.lang.String URLTemplate()
public MKMapRect boundingMapRect()
MKOverlayboundingMapRect in interface MKOverlaypublic boolean canReplaceMapContent()
MKOverlaycanReplaceMapContent in interface MKOverlaypublic CLLocationCoordinate2D coordinate()
MKOverlaycoordinate in interface MKAnnotationcoordinate in interface MKOverlaypublic MKTileOverlay init()
public MKTileOverlay initWithURLTemplate(java.lang.String URLTemplate)
public boolean intersectsMapRect(MKMapRect mapRect)
MKOverlayintersectsMapRect in interface MKOverlaypublic boolean isGeometryFlipped()
public void setGeometryFlipped(boolean value)
public void loadTileAtPathResult(MKTileOverlayPath path, MKTileOverlay.Block_loadTileAtPathResult result)
public long maximumZ()
public long minimumZ()
public void setCanReplaceMapContent(boolean value)
public void setCoordinate(CLLocationCoordinate2D newCoordinate)
MKAnnotationsetCoordinate in interface MKAnnotationpublic void setMaximumZ(long value)
public void setMinimumZ(long value)
public void setTileSize(CGSize value)
public java.lang.String subtitle()
subtitle in interface MKAnnotationpublic CGSize tileSize()
public java.lang.String title()
MKAnnotationtitle in interface MKAnnotation