Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 1.14 KB

keyed-collision-caches.md

File metadata and controls

25 lines (15 loc) · 1.14 KB

Keyed collision caches

All symbolizers working with collision detector have parameters collision-cache-detect and collision-cache-insert. These parameters set names of collision detectors. Multiple names delimited by comma are supported. If one of these parameters is not defined, collision detector with name default is used instead. The default collision detector can be referenced explicitly.

An example of inserting objects only into collision detector called water:

collision-cache-insert="water"

An example of detection against collision detector called water and default collision detector:

collision-cache-detect="water,default"

DebugSymbolizer

DebugSymbolizer has parameter collision-cache for comma separated list of collision detectors to visualize. If collision-cache is not set, all objects of all collision detectors are visualized.

An example

collision-cache-1.xml

collision-cache-1