Changes between Version 17 and Version 18 of BluePrintGISAPI


Ignore:
Timestamp:
05/13/10 07:09:38 (12 years ago)
Author:
Michael Howden
Comment:

Custom Overlay

Legend:

Unmodified
Added
Removed
Modified
  • BluePrintGISAPI

    v17 v18  
    8282}}}
    8383
     84==== Produce Custom Overlay ====
     85
     86This would produce a custom overlay with either:
     87 * polygons highlighted
     88 * variable sized markers (image, circle, bar)
     89I'm not sure if this is the right way to do it. But this is the sort of functionality I'd want.[[BR]]
     90Infact, this function should be included with the API above, or I think that parts of the API above should be included with this.
     91{{{
     92Args:
     93Locations - list of dicts - [{ location_id: ..., code_id: ...,  value:...}, {}, ...]
     94code_id - used to lookup the marker/colour from the code_values list for this location_id.
     95value - used to define the size of the marker.
     96Type - Fill-Colour (for polygons only) / Marker / Circle / Bar Graph.
     97Code Values - list - either of marker images to use, or colour values. *Predefined code values could be included in the code.
     98popup_url = <default>, # The URL which will be used to fill the pop-up. it will be appended by the Location ID.
     99
     100}}}
    84101----
    85102[wiki:BluePrintGeographicInformationSystems GIS BluePrints]