Coverage for madrona/staticmap/models : 92%
        
        
Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
| 
 
 """Model used for representing a map (ie a collection of styled map layers) 
 ====================== ============================================== Attribute Description ====================== ============================================== 
 ``mapname`` Name of the map. Will be refered to by URL so use http friendly names (no spaces, slashes, etc) 
 ``mapfile`` Mapnik xml configuration file that defines data sources and styles. All paths within xml must be relative to media/staticmap/ 
 ``default_x1`` LL X coordinate 
 ``default_y1`` LL Y coordinate 
 ``default_x2`` UR X coordinate 
 ``default_y2`` UR Y coordinate 
 ``default_width`` Default image width (pixels) 
 ``default_height`` Default image height (pixels) ====================== ============================================== """ 
 return u"%s" % (self.mapfile) 
 Mapnik xml configuration file that defines data sources and styles. All paths within xml must be relative to media/staticmap/ """, blank=False, max_length=510) help_text="Lower-left X coordinate of default map extent. Units and spatial reference system are defined in the mapnik xml.") help_text="Lower-left Y coordinate of default map extent. Units and spatial reference system are defined in the mapnik xml.") help_text="Upper-right X coordinate of default map extent. Units and spatial reference system are defined in the mapnik xml.") help_text="Upper-right Y coordinate of default map extent. Units and spatial reference system are defined in the mapnik xml.")  |