-
I have a custom basemap style with a source URL of the form http://localhost:4000/... that points to a local Martin server. When exporting the resulting MapLibre map to HTML using .to_html(), the map does not load. Turns out the reason is the resulting URL in the HTML file does not contain the ':4000'. When I manually add that back in, the map loads. Any idea why the port information is getting stripped during the HTML export? |
Beta Was this translation helpful? Give feedback.
Answered by
diehl
Nov 25, 2024
Replies: 1 comment
-
I discovered tonight the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
diehl
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I discovered tonight the
remove_port
option in.to_html()
. Setting that toFalse
fixed the issue.