Move the camera
Simple camera movement.

#import "MoveCamera.h"
@import Wrld;
@interface MoveCamera () <WRLDMapViewDelegate>
@property (nonatomic) WRLDMapView *mapView;
@end
@implementation MoveCamera
- (void)viewDidLoad
{
[super viewDidLoad];
_mapView = [[WRLDMapView alloc] initWithFrame:self.view.bounds];
_mapView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
_mapView.delegate = self;
[_mapView setCenterCoordinate:CLLocationCoordinate2DMake(37.7858, -122.401)
zoomLevel:15
animated:NO];
[self.view addSubview:_mapView];
}
// wait until map finishes loading before moving camera
- (void)mapViewDidFinishLoadingInitialMap:(WRLDMapView *)mapView
{
[_mapView setCenterCoordinate:CLLocationCoordinate2DMake(37.7952, -122.4028)
zoomLevel:18
animated:NO];
}
@end
v0.0.1600
- Move the camera
- Animate the camera
- Move the camera to an indoor map
- Animate the camera to an indoor map
- Frame an area
- Query camera location and altitude
- Pick a point on the map
- Exit an indoor map
- Query the name of an indoor map
- Control indoor map floors
- Highlight indoor map entities
- Pick indoor map entities
- Query indoor map entity information
- Add a marker
- Add a marker with a different icon
- Add a marker with an elevation
- Add a marker with an altitude
- Add an indoor marker
- Change the title of of a marker
- Change the location of a marker
- Select a marker
- Change the draw order of markers
- Add a polygon
- Add a polygon to an indoor map
- Add a polygon with interior polygons
- Add a polygon with elevation
- Add a building highlight
- Remove a building highlight
- Place objects on buildings
- Pick buildings
- Query building information
- Precaching map data
- Cancel precaching map data
- Map streaming completed notification
- Change the theme manifest
- Change the location of the blue sphere
- Change the heading of the blue sphere
- Change the elevation of the blue sphere
- Move the blue sphere indoors
- Show an accuracy ring around the blue sphere
- Animate indoor maps with a slider
- Search for POIs
- Cancel a POI search
- Load a Mapscene
- Find an outdoor route
- Find an indoor route
- Find a multipart route
- Cancel a routing query
Camera
Indoor maps
Markers
Polygons
Buildings
Precaching
Map Notifications
Themes
Widgets - Blue Sphere
Widgets (Optional)
Services - POI Service
Services - Mapscene Service
Services - Routing Service