class_docstr: Test ability to marshall deck_gl_json_chart protos via st.map.
class_docstr_tok: ["Test","ability","to","marshall","deck_gl_json_chart","protos","via","st.map","."]
docstr: Test that it can be called with lat/lon.
docstr_tok: ["Test","that","it","can","be","called","with","lat\/lon","."]
code: def test_basic(self):
      """Test that it can be called with lat/lon."""
      st.map(df1)
  
      c = json.loads(
          self.get_delta_from_queue().new_element.deck_gl_json_chart.json
      )
  
      self.assertIsNotNone(c.get("initialViewState"))
      self.assertIsNotNone(c.get("layers"))
      self.assertIsNone(c.get("mapStyle"))
      self.assertEqual(len(c.get("layers")), 1)
      self.assertEqual(c.get("initialViewState").get("latitude"), 2.5)
      self.assertEqual(c.get("initialViewState").get("longitude"), 25)
      self.assertEqual(c.get("initialViewState").get("zoom"), 3)
      self.assertEqual(c.get("initialViewState").get("pitch"), 0)
      self.assertEqual(
          c.get("layers")[0].get("@@type"), "ScatterplotLayer"
      )
  
imports: import itertools
  import json
  import numpy
  import pandas
  import pytest
  from parameterized import parameterized
  import streamlit
  from streamlit.elements.map import _DEFAULT_MAP, _DEFAULT_ZOOM_LEVEL
  from streamlit.errors import StreamlitAPIException
  from tests.delta_generator_test_case import DeltaGeneratorTestCase
  from tests.streamlit import pyspark_mocks
  from tests.streamlit.snowpark_mocks import DataFrame
  from tests.streamlit.snowpark_mocks import Table
  from tests.testutil import create_snowpark_session, patch_config_options
label_desc: Use image node_id 2 for calling the StMapTest obj's underlying member method code with example usage: obj.test_basic() without return types