I have an map (Ext.map) placed in my view.

I wanted to set the mapOptions just as the Map example :

            mapOptions : {
                center : new google.maps.LatLng(37.381592, -122.135672),  //nearby San Fran
                zoom : 12,
                mapTypeId : google.maps.MapTypeId.ROADMAP,
                navigationControl: true,
                navigationControlOptions: {
                    style: google.maps.NavigationControlStyle.DEFAULT
So when I try to fill this in SD for example

center : new google.maps.LatLng(37.381592, -122.135672)
then SD will output this as

mapOptions: '{\ncenter : new google.maps.LatLng(37.381592, -122.135672)\n}'
So this means mapOptions will be a string? I don't think this is the right way to go ..