RevealBi/Documentation

[Topic] Customizing map tiles

brianlagunas opened this issue · 1 comments

Description

Document how to customize map tiles:

Example:

$.ig.RevealSdkSettings.visualizations.scatterMaps = new $.ig.ScatterMapVisualizationsConfiguration("Esri", "token")

For OpenStreeMaps:

$.ig.RevealSdkSettings.visualizations.scatterMaps = $.ig.ScatterMapVisualizationsConfiguration.createOpenStreetMapConfiguration(url);

For open streetmaps, you can do something like this:

const url = 'https://tile.openstreetmap.jp/{Z}/{X}/{Y}.png'
$.ig.RevealSdkSettings.visualizations.scatterMaps = $.ig.ScatterMapVisualizationsConfiguration.createOpenStreetMapConfiguration(url);

The map inserts the coordinates into the url when you pan the map around.

Let's make sure we have a sample for this topic too. One for each maps type.