leaflet调用智图地图实现常规地图、午夜蓝、灰色、水系、暖色效果代码
代码语言:html
所属分类:其他
代码描述:leaflet调用智图地图实现常规地图、午夜蓝、灰色、水系、暖色效果代码
代码标签: leaflet 智图 地图 常规地图 午夜蓝 灰色 水系 暖色
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html> <head> <title></title> <meta charset="utf-8"> <style type="text/css"> body { padding: 0; margin: 0; } html, body, #map { height: 100%; } </style> <link rel="stylesheet" href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css" /> <script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"></script> <script src="https://cdn.bootcss.com/proj4js/2.4.3/proj4.js"></script> <script src="https://cdn.bootcss.com/proj4leaflet/1.0.1/proj4leaflet.min.js"></script> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/leaflet.ChineseTmsProviders.js"></script> </head> <body> <div id='map'></div> <script type="text/javascript"> var normalm1 = L.tileLayer.chinaProvider('Geoq.Normal.Map', { maxZoom:.........完整代码请登录后点击上方下载按钮下载查看
网友评论0