Applet --- --- Film mall map component

A small program --- --- Film mall map component

html5 new features: geolocation get the current user location information through a browser js procedures (longitude / latitude / altitude / speed).

Data for LBS (Location Base Service) location-based services

What hungry, and pieces of a taxi ...

To achieve positioning

(1)window.navigator.geolocation({})

    getCurrentPosition:fn

(2) third-party location-based services provider: the high moral map / Tencent Map / Baidu Map

- applet: Component map (mapping)

<map>

    longitude center location longitude

    latitude center position latitude

    scale zoom level 3`20

    style="width:100%;height:600px;"

</map>

- Baidu map coordinate pickup system

http://api.map.baidu.com/lbsapi/getpoint/index.html

116.300901,39.916085

Gongzhufen: 116.316685,39.913702

Personal center 

--- Avatar

<open-data type="userAvatorUrl"><open-data>

- Nickname

<open-data type="userNickName"></open-data>

- Get more user information

<button open-type="getUserInfo" bindgetuserinfo="handleGetInfo">

   getting information

</button>

# Ask you whether to allow public information

2. I like the movies

(1) Add a personal favorite movies (Movie Picture / Text) --- mymovie

- Create the component mymovie 

- Upload Picture button (upload more than one)

- Submit: Upload pictures cloud storage / comments -> Cloud Database

(2) to display a list of all your favorite movies -movielist

Guess you like

Origin www.cnblogs.com/sna-ling/p/11902019.html