Export direction_layer to HTML
HuynhThanhQuan opened this issue · 3 comments
I can see that exporting map with direction_layer is not supported for PNG. So is it possible for HTML ?
Because I can't export these direction_layer with using embed_minimal_html or I did it in the wrong way? Please help me
Hello @HuynhThanhQuan and @pbugnion!!
I have been working with the gmaps library and I think I am facing the same problem as you. Have you been able to come up with a solution to export the direction_layer in html? As mentioned in the documentation, there is no warning that it cannot be exported in html. Therefore, I think it can be done. However, the documentation specifies that if you want to export in png, there is a warning.
First, I wanted to solve the problem for jupyter notebook, but later I wanted to pass it to a python script to be run from the terminal.
Please, if you could help me or someone who has a solution.
Thanks
Hello @HuynhThanhQuan and @pbugnion!!
I have been working with the gmaps library and I think I am facing the same problem as you. Have you been able to come up with a solution to export the direction_layer in html? As mentioned in the documentation, there is no warning that it cannot be exported in html. Therefore, I think it can be done. However, the documentation specifies that if you want to export in png, there is a warning.
First, I wanted to solve the problem for jupyter notebook, but later I wanted to pass it to a python script to be run from the terminal.
Please, if you could help me or someone who has a solution.
Thanks
I found a way to go around this by attaching Javascript API into my html https://developers.google.com/maps/documentation/javascript/examples/directions-simple
Of course python embed_minimal_html is not support this so I have to attached it manually
Hello @HuynhThanhQuan and @pbugnion!!
I have been working with the gmaps library and I think I am facing the same problem as you. Have you been able to come up with a solution to export the direction_layer in html? As mentioned in the documentation, there is no warning that it cannot be exported in html. Therefore, I think it can be done. However, the documentation specifies that if you want to export in png, there is a warning.
First, I wanted to solve the problem for jupyter notebook, but later I wanted to pass it to a python script to be run from the terminal.
Please, if you could help me or someone who has a solution.
ThanksI found a way to go around this by attaching Javascript API into my html https://developers.google.com/maps/documentation/javascript/examples/directions-simple
Of course python embed_minimal_html is not support this so I have to attached it manually
Thanks for your help!!