Interactive maps, using code to operate. lishiyu.com/maps/
- map.setCenter(positionObject)
- map.getCenter()
- map.setZoom(i)
- info.setPosition(positionObject)
- info.setContent(text)
- POS(x, y) //get the position object
- locate()
- 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()
Just start, long way to go.