debisoft commited on
Commit
02bf179
·
1 Parent(s): f210abf
Files changed (1) hide show
  1. main.py +2 -1
main.py CHANGED
@@ -18,9 +18,10 @@ style="""
18
  """
19
 
20
  js = """
 
21
  function load()
22
  {
23
- var map = L.map('mapid').setView([ 37.5158, 127.0991], 13);
24
  L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
25
  maxZoom: 19,
26
  attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
 
18
  """
19
 
20
  js = """
21
+ let map = null;
22
  function load()
23
  {
24
+ map = L.map('mapid').setView([ 37.5158, 127.0991], 13);
25
  L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
26
  maxZoom: 19,
27
  attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'