Oracle Maps example - Theme based FOI layer highlighting feature

Single Selection
Multiple Selection

Instructions

This demo shows how to highlight an FOI by clicking on it.

Source code

    // Enable highlighting FOIs by mouse clicks
    themebasedfoi.enableHighlight(true);
    themebasedfoi.setHighlightStyle("mvdemo.M.REDSQ");
    themebasedfoi.setHighlightMode("single");
    
    // Highlight all FOIs
    themebasedfoi.highlight();
    
    // De-highlight all FOIs
    themebasedfoi.deHighlight();