Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 886 Bytes

README.md

File metadata and controls

29 lines (23 loc) · 886 Bytes

maps

Interactive maps, using code to operate. lishiyu.com/maps/

original instructions

map object

  • map.setCenter(positionObject)
  • map.getCenter()
  • map.setZoom(i)

infoWindow object

  • info.setPosition(positionObject)
  • info.setContent(text)

global function

  • POS(x, y)  //get the position object
  • locate()

short instructions

  • set(x, y)   //the same as map.setCenter(POS(x, y))
  • get()        //the same as map.getCenter()
  • zoom(i)    //the same as map.setZoom(i)
  • me()        //the same as locate()
  • cls()         //the same as console.clear()

one more thing

Just start, long way to go.