Question

Switching Map Layer Dynamically

  • 24 November 2022
  • 1 reply
  • 19 views

Hi , As we have customer worldwide and want to use map_layer_name to show in Map, but here  as instructed for US need to use map layer name “us_zipcode_tabulation_areas” and for UK have map_layer_name “uk_postcode_areas” , so how to use this while showing world wide data , and secondly what about other countries,  N.B.: We do not have lat long available .


1 reply

Userlevel 7
Badge +1

What do you mean by switching? Let’s say you have your data and it’s a worldwide postcode data. Do you mean that you want to pull different map layer depending on a value in your data? In this case it’s not possible. You need to load one map alongside your data.

 

You would need to combine maps from different countries and add it as one. However, this would be quite a task. You’d have to make sure that your data is aligned with the map (synchronised).

Reply