Changes between Version 13 and Version 14 of BluePrintGISAPI
- Timestamp:
- 04/27/10 13:34:01 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrintGISAPI
v13 v14 41 41 ==== Embed a map within a Page ==== 42 42 {{{ 43 gis.show_map(height = <default>, 44 width = <default>, 45 base_layers = <default>, 43 gis.show_map( 46 44 internal_overlays = None, 47 45 internal_layertree = True, 48 external_overlays = False ,46 external_overlays = False 49 47 external_layertree = True, 50 48 toolbar = False, 49 height = <default>, 50 width = <default>, 51 51 lat = <default>, 52 52 lon = <default>, 53 zoom = <default> 53 zoom = <default>, 54 base_layers = <default> 54 55 ) 55 56 """ 56 height - int - height of map in pixels57 width - int - width of map in pixels58 base_layers - list of ints - base layers used for map. Hard-coding this is Ugly! Can we not just use Map Service Catalogue for this? Maybe creating separate configurations for separate use-cases, so can call e.g. db.gis_config.3 instead of the default59 57 internal_overlays - list of dictionaries: 60 58 { … … 69 67 external_layertree - bool - whether or not to display the menu to turn on and off the external_layers 70 68 toolbar - bool - whether or not to display the toolbar 69 height - int - height of map in pixels 70 width - int - width of map in pixels 71 71 lat - double - Initial map center point 72 72 lon - double - Initial map center point 73 73 zoom - int - the initial zoom level of the map 74 base_layers - list of ints - base layers used for map. Hard-coding this is Ugly! Can we not just use Map Service Catalogue for this? Maybe creating separate configurations for separate use-cases, so can call e.g. db.gis_config.3 instead of the default 74 75 75 76 Will return the HTML to embed a map with the specified options.