60 | | @param features: A Query of Features to overlay onto the map & their options (Dict): |
61 | | { |
62 | | name : "Query", # A string: the label for the layer |
63 | | query : query, # A gluon.sql.Rows of gis_locations |
64 | | active : False, # Is the feed displayed upon load or needs ticking to load afterwards? |
65 | | popup_url : None, # The URL which will be used to fill the pop-up. it will be appended by the Location ID. |
66 | | marker : None # The marker_id for the icon used to display the feature (over-riding the normal process). |
67 | | # [Plan: Can be a lambda to vary icon (size/colour) based on attribute levels.] |
68 | | } |
69 | | @param feature_overlays: Which Feature Groups to overlay onto the map & their options (List of Dicts): |
70 | | [{ |
71 | | feature_group : db.gis_feature_group.name, |
72 | | parent : None, # Only display features with this parent set. ToDo: search recursively to allow all descendants |
73 | | filter : None, # A query to further limit which features from the feature group are loaded |
74 | | active : False, # Is the feed displayed upon load or needs ticking to load afterwards? |
75 | | popup_url : None, # The URL which will be used to fill the pop-up. it will be appended by the Location ID. |
76 | | marker : None # The marker_id for the icon used to display the feature (over-riding the normal process). |
77 | | # [Plan: Can be a lambda to vary icon (size/colour) based on attribute levels.] |
78 | | }] |
| 60 | @param feature_queries: Feature Queries to overlay onto the map & their options (List of Dicts): |
| 61 | [{ |
| 62 | name : "Query", # A string: the label for the layer |
| 63 | query : query, # A gluon.sql.Rows of gis_locations |
| 64 | active : False, # Is the feed displayed upon load or needs ticking to load afterwards? |
| 65 | popup_url : None, # The URL which will be used to fill the pop-up. it will be appended by the Location ID. |
| 66 | marker : None # The marker_id for the icon used to display the feature (over-riding the normal process). |
| 67 | # [Plan: Can be a lambda to vary icon (size/colour) based on attribute levels.] |
| 68 | }] |
| 69 | @param feature_groups: Feature Groups to overlay onto the map & their options (List of Dicts): |
| 70 | [{ |
| 71 | feature_group : db.gis_feature_group.name, |
| 72 | parent : None, # Only display features with this parent set. ToDo: search recursively to allow all descendants |
| 73 | filter : None, # A query to further limit which features from the feature group are loaded |
| 74 | active : False, # Is the feed displayed upon load or needs ticking to load afterwards? |
| 75 | popup_url : None, # The URL which will be used to fill the pop-up. it will be appended by the Location ID. |
| 76 | marker : None # The marker_id for the icon used to display the feature (over-riding the normal process). |
| 77 | # [Plan: Can be a lambda to vary icon (size/colour) based on attribute levels.] |
| 78 | }] |