problem using BlackBerry MapField
This is the code i use for displaying a map:
class MapScreen extends FullScreen
{
public MapScreen()
{
super( FullScreen.DEFAULT_CLOSE | FullScreen.DEFAULT_MENU );
MapField map = new MapField();
MapAction action = map.getAction();
action.setCentreAndZoom(new MapPoint(40, -40), 3);
add(map);
}
}
But only map tiles appear in the screen. Please help.
Try This -