Mobile Framework

Zooming into a Selected Asset in the Floor Plan

When the user clicks on the “Locate Building” button and chooses a building from the list, you can call the DrawingControl’s findAsset() method, which highlights the building, and then centers and zooms into the map.

Note that you can highlight a located asset over an existing highlight scheme. (The default highlight color is yellow. However, you can also specify a custom css class; in this case, red.)

If the user selects a new building, the new building is highlighted in red and the previously selected building returns to yellow.

findAsset accepts two parameters: