View MapView Example

NK MapView

Description

NKMapView shows a UIMapView with given width, height and coordinates over the top of a webview.

Usage

Call with init(x,y,width,height) & use show() & hide() to show and hide.

Example

var map = new NKMapView();
map.setMapType("hybrid");
map.init(0, 0, 320, 460);
map.showUserLocation("YES");
map.setDisplayRegion(50.818631, -0.121940, 0.05, 0.05);
map.addAnnotation(50.818631, -0.121940, "Annotation Title", "Annotation Blurb");
map.show();

See the code for more detail.