Changeset 719

Show
Ignore:
Timestamp:
03/30/07 00:50:47 (5 years ago)
Author:
bycycle
Message:

Added settings for width and height widget params

Location:
spinoffs/twMaps/twMapsSampleAppPylons
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • spinoffs/twMaps/twMapsSampleAppPylons/development.ini

    r705 r719  
    2626twMaps.center_y = 45 
    2727twMaps.center_x = -123 
     28twMaps.width = 300px 
     29twMaps.height = 300px 
  • spinoffs/twMaps/twMapsSampleAppPylons/twmapssampleapppylons/controllers/maps.py

    r705 r719  
    1313        self.map_opts = { 
    1414            'api_key': config['twMaps.gmap.api_key'], 
     15            'zoom': config.get('twMaps.gmap.zoom', 14), 
    1516            'center_y': config.get('twMaps.center_y', 0), 
    1617            'center_x': config.get('twMaps.center_x', 0), 
    17             'zoom': config.get('twMaps.gmap.zoom', 14), 
     18            'width': config.get('twMaps.width', '400px'), 
     19            'height': config.get('twMaps.height', '400px'), 
    1820        } 
    1921