Question: If I use the Empty template in Xcode, which just gives an app delegate and window, and I want to have a UITableView with navigation bar for drilling up and down, am I correct in assuming I should just do as below, create a UITableView subclass, instantiate it, then instantiate a navController, set the TableView as the navControllers root view and then add the navController as the root view of the Window?

It seems wrong to create a UITableViewController only to add this to another view controller subclass (UINavigationController).

Is this correct?

```
    MyTableViewController *myTableViewController = [[MyTableViewController alloc] initWithNibName:@"MyTableViewController" bundle:nil];

    UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:MyTableViewController];

    [self.window setRootViewController:navController];

```

Answer: 
Add the styles to your myMapOptions 

```
 var myMapOptions = {
                zoom: 16,
                center: secheltLoc,
                styles : styles,
                disableDefaultUI: true,
                scrollwheel: false          
        }

```
The page that applies the style contains these lines that aren't present on the page that doesn't:

```
  //Associate the styled map with the MapTypeId and set it to display.
    theMap.mapTypes.set('map_style', styledMap);
    theMap.setMapTypeId('map_style');

```

[working example](http://www.geocodezip.com/v3_SO_styledMap_achimsagner_de_gmaps_testA.html)