Changes between Version 11 and Version 12 of BluePrintGISAPI


Ignore:
Timestamp:
04/27/10 12:08:37 (15 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrintGISAPI

    v11 v12  
    4444                 width               = <default>,
    4545                 base_layers         = <default>,
    46                  internal_layers     = None,
    47                  internal_layer_menu = True,
    48                  markers             = <default>,
    49                  popup_url           = <default>,
    50                  external_layers     = None,
    51                  external_layer_menu = True,
     46                 internal_overlays   = None,
     47                 internal_layertree  = True,
     48                 external_overlays   = None,
     49                 external_layertree  = True,
    5250                 toolbar             = False,
    53                  map_center_lat      = <default>,
    54                  map_center_lon      = <default>,
     51                 lat                 = <default>,
     52                 lon                 = <default>,
    5553                 zoom                = <default>
    5654)
     
    5856    height - int - height of map in pixels
    5957    width - int - width of map in pixels
    60     base_layers - list of strings - base layers used for map: "OSM", "Google", "Bing"
    61     internal_layers - list of strings - db.gis_feature_group.name to display on the map
     58    base_layers - list of strings - base layers used for map
     59    internal_overlays - list of dictionaries:
     60        {
     61         db.gis_feature_group.name,
     62         filter = None,
     63         marker = <default>,
     64        }
    6265    internal_layer_menu - bool - whether or not to display the menu to turn on and off the internal_layers
     66    external_layers - list of ints - The external overlays (WMS/KML/GeoRSS/etc) to display on the map. Hard-coding this is Ugly! Can we not just make it Bool & use Map Service Catalogue for more control?
     67    external_layer_menu - bool - whether or not to display the menu to turn on and off the external_layers
     68    toolbar - bool - whether or not to display the toolbar
     69    lat - double - Initial map center point
     70    lon - double - Initial map center point
     71    zoom - int - the initial zoom level of the map
     72
    6373    markers - list of URLs - to images to display
    6474    popup_url - list of strings - The URL which will be used to fill the pop-up (potentially different for each internal_layer) (???current term). it will be appended by the Location ID.
    65     external_layers - list of strings - List of the overlays (WMS/KML/GeoRSS/etc) to display on the map
    66     external_layer_menu - bool - whether or not to display the menu to turn on and off the external_layers
    67     toolbar - bool - whether or not to display the toolbar
    68     map_center_lat - double - Initial map center point
    69     map_center_lon - double - Initial map center point
    70     zoom - int - the initial zoom level of the map
    7175
    7276    Will return the HTML to embed a map with the specified options.
     
    7478   
    7579    Questions:
    76     * I wonder if internal_layers and markers and popup_url should be joined together in a dictionary.
    77     * I wonder if we need another array to differentiate between int/ext layers which are a) initially displayed on the map AND b) shown on the menu (but not selected)
    7880    * I am not entirely sure how the gis_feature_group will work. Perhaps it would be good to be able to pass a query to the function (one of the results of the query will be a location_id field). That would be really nice.
    7981