Created
November 3, 2014 17:38
-
-
Save mousebird/936765fb9d6ae57a765e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Test a ground overlay-like thing | |
{ | |
UIImage *imgImage = [[UIImage alloc] | |
initWithData:[NSData dataWithContentsOfURL: | |
[NSURL URLWithString:@"http://radar.weather.gov/ridge/RadarImg/N0Z/MUX_N0Z_0.gif"]]]; | |
MaplySticker *mstick = [[MaplySticker alloc] init]; | |
mstick.image = imgImage; | |
mstick.ll = MaplyCoordinateMakeWithDegrees(-126.253365, 33.147724); | |
mstick.ur = MaplyCoordinateMakeWithDegrees(-117.526093, 41.147724); | |
[theViewC addStickers:@[mstick] desc:nil]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment