Use the command add_cntrol_grid. It is displayed properly in VSCode window but not present in html. This function had worked previously. Ran the code in an new conda env and on Google colab with the same results.
from anymap_ts import MapLibreMap
controls = {"navigation": True, "layer-control": True,"control-grid":True}
centerval = [0.7106, 52.0685]
zoomval = 5.0
m = MapLibreMap(
centerval,
zoom=zoomval,
controls=controls,
style="https://basemaps.cartocdn.com/gl/positron-nolabels-gl-style/style.json"
)
#m.add_control_grid()
m.to_html("historical_map.html")
m
Environment Information
Description
Use the command add_cntrol_grid. It is displayed properly in VSCode window but not present in html. This function had worked previously. Ran the code in an new conda env and on Google colab with the same results.
What I Did