GithubHelp home page GithubHelp logo

mapbox's Introduction

MapBox本地化部署策略

公瑾大佬的本地化部署文档


  • 发布当前项目来运行并查看
  • 使用的为谷歌地图切片(可以使用本地mbtiles来进行使用)
  • 对应文档为:文档
  • 具体部署策略如下:

1:使用Nginx或其他,修改配置文件 nginx.conf 中的配置:

location / {
            #修改当前路径 端口为80,如为其他端口请修改index.html中请求路径
            root   C:\Users\Administrator\Desktop\MapBox;
            index  index.html index.htm;
        }

2:启动Nginx即可看到本地化。

3:切片数据本地化实现真正本地化部署。

4:增加了mbtiles文件夹,内部存放了全球地图(仅限测试使用),可以使用tileServer 来进行解析mbtiles来进行访问。

5:更新到了最新正式版的1.4.1版本的js及css文件。

6:国内用户可以查看gitee

7:关于自定义雪碧图,可以查看:自定义雪碧图

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.