This provider allows you to retrieve IndoorLocations from a server using web socket. In particular, it's perfect to retrieve locations from Wi-Fi infrastructures.
This provider needs to be connected to a SocketIndoorLocationEmitter server. Multiple emitters are available:
Instanciate the provider with your emitter URL:
socketIndoorLocationProvider = new SocketIndoorLocationProvider(this, "YOUR_SERVER_SOCKET_ADDRESS");
Set the provider in your Mapwize SDK:
mapwizePlugin.setLocationProvider(socketIndoorLocationProvider);
A simple demo application to test the provider is available in the /app directory.
You will need to set your credentials in SocketIndoorLocationProviderDemoApp and MapActivity.
Sample keys are given for Mapwize and Mapbox. Please note that those keys can only be used for testing purposes, with very limited traffic, and cannot be used in production. Get your own keys from mapwize.io and mapbox.com. Free accounts are available.
Contributions are welcome. We will be happy to review your PR.
For any support with this provider, please do not hesitate to contact [email protected]
MIT