Closed 1995parham closed 5 years ago
@1995parham we recommend using the map config json directly copied from Export map as json instead of composing it from scratch.
You can first call addDataToMap
passing the data only, style layers. Then copy the map config json out to be passed to this action
@heshan0131 Thanks for your time and response. So first I load the map data then export it as JSON and use the provided configuration for update the map configuration in my application?
You don't even need to click to exoprt the map, just need to copy the json blob from the input box. That's your map config right there.
Just need to make sure your dataset.info.id
doesn't change
@heshan0131 I am so grateful for your help
I use Kepler to demonstrate the information that is gathered from API. I want to configure its layer when I pushing the data using
addDataToMap
. I have used the following code and I want to know is it standard? or there is any documentation on it?