Skip to content

shiyuli/maps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Interactive maps, using code to operate.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages