All Apps and Add-ons

Location Tracker - Custom Visualization Feature Requests

Explorer

This app is a great start. I really appreciate this app and its improvements over the community supported Route Map app. There are some improvements I would like to request.

  1. Please allow custom map tiles (e.g. http://custom.url/{z}/{x}/{y}.png)
  2. Emulate the slider feature found in the Route Map app for replaying events.
  3. Enable transparency customization for icons and traces.

Thank you!
Mike

1 Solution

Splunk Employee
Splunk Employee

Hi @mkemmerer,

Thanks for the feedback. We'll consider these for a future update.

View solution in original post

Explorer

Hi @mkemmerer,

You can use custom tile maps by modifying the javascript for this app: /location_tracker_app/appserver/static/visualizations/location_tracker/visualization.js.

Modify one of the stanzas (example below) and change the url line. You can even place your own local filename custom maps with their own zoom levels (example below):

            'openstreetmap_tiles': {
                minZoom: 0,
                maxZoom: 4,
                url: '/static/app/location_tracker_app/map_data/{z}/{x}/{y}.png',
                attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'

            },

Once you've modified and saved the javascript file, don't forget to refresh your Splunk version info so that it sees the changes:

https:///en-US/_bump

0 Karma

Splunk Employee
Splunk Employee

Hi @mkemmerer,

Thanks for the feedback. We'll consider these for a future update.

View solution in original post