Giter Club home page Giter Club logo

baozupro's Introduction

包租Pro

使用高德地图JavaScript API 实现租房信息的地图展示

#代码说明:

1.首先运行crawl.py爬取数据源,根据需要爬取的不同页面,需要修改代码。

2.在templates文件夹下运行python -m SimpleHTTPServer + 8000。

注:这是python自带的微型的HTTP服务程序,实验时使用,省去写服务端代码的麻烦。

3.打开浏览器输入localhost:8000 就进入到下图所示页面

4.加载数据源 .csv文件。

.csv文件要和html文件在一个目录下,因为SimpleHTTPServer是在此处运行的,否则无法加载数据。

效果图1

效果图2

baozupro's People

Contributors

hugooood avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

tuboshu18

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.