Ever come across a requirement where you need to find the geometry you are in? In Micello SDK v1, we have a function hitCheck(), which will return a geometry object if the given location at given zoom level, is inside any geometry.

Function Returns Description

hitCheck (Array [Longitude, Latitude], (optional) Current Zoom)
 

Geometry If the Latitude, Longitude coordinates intersect with a geomtry, that geometry is returned. This uses the current active layer (level). If zoom is omitted, the current zoom is used.

Click anywhere on the indoor map in following example. If there is a geometry at the click location, it will show you the geometry id.