New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bai_du_map_cgkj

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bai_du_map_cgkj

离线地图js版

  • 1.3.4
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Weekly downloads
 
Created
Source

baiduMapOff

This is a cgkj exclusive offline map, coquettish and lovely

Install

NPM
npm install bai_du_map_cgkj --save
// // Global instruction
// import "bai_du_map_cgkj";

// 局部引用
import "bai_du_map_cgkj";



必须在src目录下创建baiduMapLine.json配置文件,配置文件中定义如下:
{
    "Network":"no",
    "bmapcfg" :{
        "imgext": ".png",

        "imgext1":".jpg",

        "imgext_theme":".png",

        "tiles_dir":"/mapImages/tiles",

        "tiles_themeDir":"/mapImages/midnightTiles",

        "tiles_streetDir":"/mapImages/blendTiles/overlay",

        "tiles_satelliteDir":"/mapImages/blendTiles/satellite"


    }
}

"Network":"no", //为离线模式,yes为在线模式

'imgext': '.png'//普通瓦片图和街道瓦片图的后缀,根据需要修改
'imgext1':'.jpg', // 卫星瓦片图的后缀 根据需要修改,一般是 .png .jpg
"imgext_theme":".png", // 主题瓦片图的后缀 根据需要修改

'tiles_dir':'/mapImages/tiles',       //普通瓦片图的地址,
"tiles_themeDir":"/mapImages/midnightTiles",  //主题瓦片图的地址,
'tiles_streetDir':'/mapImages/blendTiles/overlay',       //街道瓦片图的地址,
'tiles_satelliteDir':'/mapImages/blendTiles/satellite',       //卫星瓦片图的地址,


//

FAQs

Package last updated on 19 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc