Changes between Version 7 and Version 8 of BluePrint/GIS/Markers


Ignore:
Timestamp:
05/17/13 20:02:29 (12 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BluePrint/GIS/Markers

    v7 v8  
    11== GIS Markers ==
    2 
    32Markers get used to display [wiki:BluePrintGISFeatureLayers Features].
    43
     
    1312
    1413In order to allow good maintenance we want to keep the markers named nicely & in their hierarchy. We want a script to copy these files into the uploads folder with the correct names & insert the records into the database to point at them.[[BR]]
    15 Currently this is done for just the single default marker: {{{marker.png}}} (code in {{{models/_gis.py}}}) [[BR]]
     14Currently this is done for just the single default marker: {{{marker.png}}} (code in {{{modules/s3db/gis.py}}}) [[BR]]
    1615NB ID=1 is the default marker
    1716{{{
    18 dir=os.path.join(request.folder,'static','markers')
    19 files=dir.list()
     17dir = os.path.join(request.folder, "static", "markers")
     18files = dir.list()
    2019etc (recursively)
    2120}}}
    2221
    2322(or could we have 2 types of markers defined in the DB? Static & Uploads)
     23
     24We would also like to be able to support Markers held within {{{static/theme/<theme_name>/img}}}
    2425
    2526We also want these enhancements to the marker/create routine: