Developer

VisioMove - Search closest facility

Arrow navigation

Go back

VisioMove - Search closest facility

Update an application to allow users to find for the closest facility within the map.

VisioMove v2.1.8

Introduction

If your application is connected to a positioning system, you may want to use the current position to find the closest facility on the map, such as a restroom or an exit.

Below are some snippets of code which demonstrate how to find the closest facility to a given position within the map.

The code

The code below is based on the fact that your application knows how to group certain facilities.  In the below sample code, we see that there is a "WC" text within the ids.  This code can be used to group the facilities for which we want to find the closest.

The code is written in C++, but the principals can be applied to any of the languages supported by our SDK.

Ok, that's all!