code: def test_map3d_with_line3d(fake_writer):
      example_data = [
          [[119.107078, 36.70925, 1000], [116.587245, 35.415393, 1000]],
          [[117.000923, 36.675807], [120.355173, 36.082982]],
          [[118.047648, 36.814939], [118.66471, 37.434564]],
          [[121.391382, 37.539297], [119.107078, 36.70925]],
          [[116.587245, 35.415393], [122.116394, 37.509691]],
          [[119.461208, 35.428588], [118.326443, 35.065282]],
          [[116.307428, 37.453968], [115.469381, 35.246531]],
      ]
      c = (
          Map3D()
          .add_schema(
              maptype="山东",
              itemstyle_opts=opts.ItemStyleOpts(
                  color="rgb(5,101,123)",
                  opacity=1,
                  border_width=0.8,
                  border_color="rgb(62,215,213)",
              ),
              light_opts=opts.Map3DLightOpts(
                  main_color="#fff",
                  main_intensity=1.2,
                  is_main_shadow=False,
                  main_alpha=55,
                  main_beta=10,
                  ambient_intensity=0.3,
              ),
              view_control_opts=opts.Map3DViewControlOpts(
                  center=[-10, 0, 10]
              ),
              post_effect_opts=opts.Map3DPostEffectOpts(
                  is_enable=False
              ),
          )
          .add(
              series_name="",
              data_pair=example_data,
              type_=ChartType.LINE3D,
              effect=opts.Lines3DEffectOpts(
                  is_show=True,
                  period=4,
                  trail_width=3,
                  trail_length=0.5,
                  trail_color="#f00",
                  trail_opacity=1,
              ),
              linestyle_opts=opts.LineStyleOpts(
                  is_show=False, color="#fff", opacity=0
              ),
          )
          .set_global_opts(
              title_opts=opts.TitleOpts(title="Map3D-Line3D")
          )
      )
      c.render()
      _, content = fake_writer.call_args[0]
      assert_in("itemStyle", content)
  
file_path: pyecharts/test/test_map3d.py
imports: from unittest.mock import patch
  from nose.tools import assert_in
  from pyecharts import options
  from pyecharts.charts import Map3D
  from pyecharts.faker import Faker
  from pyecharts.globals import ChartType
  from pyecharts.commons.utils import JsCode
label_desc: Use image node_id 5 for calling a global function with example usage: test_map3d_with_line3d(fake_writer) without return types