< Potlatch 2 < Developer Documentation

Potlatch 2/Developer Documentation/Layering

Each data layer (whether a vector background layer or the main map) has a MapPaint object. Its children are as follows

  • Rendering layer -5 (equivalent to OSM layer=-5)
    • Fill paint sprite (child 0)
    • Casing paint sprite (child 1)
    • Stroke paint sprite (child 2)
      • Sublayer sprites (added as required)
    • Names paint sprite (child 3)
  • Rendering layer -4 as above
  • and so on up to...
  • Rendering layer +5
  • Interaction layer -5
    • Way hit test (child 0)
    • Node hit test (child 1)
  • Interaction layer -4
  • and so on up to...
  • Interaction layer +5
This article is issued from Openstreetmap. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.