Native
How can I get the bluedot coordinates?
The Smart SDK does not expose the user location as raw GPS coordinates directly but if you could describe your use case we can provide examples/instructions on our solutions. Here are couple of examples:
- Capture API. We have a service which stores user locations and this location data can then be used for analytics purposes such as heatmaps.
- Steerpath Live. We also have a service to share user location data to other map users. In Steerpath Live mobile clients will send their location data to the server from which it can be monitored and visualised on the map.
- Geofences. If you want to know if the user is inside a certain area (geofence) you can register these areas with SDKs APIs. The SDK will then fire geofence events when the user enters/leaves these areas.
How to enable analytics?
For Smart SDK the way to enable analytics is to configure the telemetry-service. In your Smart SDK configuration see the "telemetry"-item and update it this way:
"telemetry": {
"default": {
"telemetryURL": "https://capture.eu.steerpath.net/v1/",
"beacons": "known",
"location": "indoor",
"enabled": true,
"locationIntervalS": 60,
"transmissionIntervalS": 120
}
}
The API key you’ve sent is not working with Smart SDK. I cannot get the map shown.
The Smart SDK requires a “custom” API key where the configuration file is set. Our support team will send you a correct API key.
The search bar shows incorrect texts such as "sp_category_..."
In native there may appear search categories which can be found from the web. These can be seen as text starting with “sp_category_….” This means that the SDK is missing translations for those strings which are presented in the configuration file. To fix this you can add the translation texts into the project folder.
In android the translations can be added to:
./android/app/src/main/res/values-en/strings.xml and inside the stings file insert the missing keys and values. Example:
<string name=“sp_show_free_desk_title”>Free desks</string>
<string name=“sp_show_free_desk_title_short”>Free\ndesks</string>
In iOS you need to open the project in XCode. Then add a strings-file named “Steerpath.strings” and then include the missing keys and values. Example:
“sp_show_free_desk_title” = “Free desks”;
“sp_show_free_desk_title_short” = “Free\ndesks”;
Web
Can I display/hide PoI’s via an API call?
There's no direct API in our Web SDK how POIs can be hidden/displayed but you can accomplish this by using Mapbox's APIs. You can iterate style layers and hide elements from the map by modifying the filter of the style layer.
In general we find that it is better to highlight certain POIs from the map instead of excluding them on the map.
How can I display metadata about a POI? How about any additional data?
By default in our Smart SDK you can display metadata properties such as "title" and "description" in the details card view.
If you want to have more additional data linked to the POI we suggest either adding it from our dashboard or by linking your external APIs to a POI property such as localRef.
Can I have wayfinding of two PoI’s selected by the user?
This can be done with both Steerpath Core and Steerpath Smart SDK. Smart SDK has a more straightforward approach with navigating between two locations whereas core SDK allows more flexibility when setting the origin location.
How to switch floors of a building?
Both Smart and Core SDKs come with a floor switch controller included. You can also switch floors programmatically through the APIs.
Can I have wayfinding/navigation between two Floors?
Navigation between two floor is supported in both Core and Smart SDK
Can I group PoI’s by a categories and then show/hide that category
With Smart SDK you can perform a categorical search for example for all the female bathrooms. The Smart SDK search will highlight search results by adding a marker to their location.
We see that it is better to highlight elements on the map with a marker instead of hiding other data.
How to search for a POI by Category or by name?
Smart SDK bottom sheet allows you to have categorical search based on categories. The categories can be set in the configuration given to the Smart SDK instance.
You can also search by typing which will direct search to following POI properties "title", "description", "tags"
Copyright Steerpath. All rights reserved.
Comments
0 comments
Please sign in to leave a comment.