File tree Expand file tree Collapse file tree
demo/leaflet/example/client-view/vectortile Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 var token = 'pk.eyJ1IjoicGFybmRlZWRsaXQiLCJhIjoiY2o1MjBtYTRuMDhpaTMzbXhpdjd3YzhjdCJ9.sCoubaHF9-nhGTA-sgz0sA'
4141 var gl = L . mapboxGL ( {
4242 accessToken : token ,
43- style : `${ protocol } ://${ ip } :${ port } /igs/rest/mrms/vtiles/styles/黑暗样式 .json`
43+ style : `${ protocol } ://${ ip } :${ port } /igs/rest/mrms/vtiles/styles/深色-墨卡托 .json`
4444 } ) . addTo ( map ) ;
4545 }
4646 </ script >
Original file line number Diff line number Diff line change 4040 var token = 'pk.eyJ1IjoicGFybmRlZWRsaXQiLCJhIjoiY2o1MjBtYTRuMDhpaTMzbXhpdjd3YzhjdCJ9.sCoubaHF9-nhGTA-sgz0sA'
4141 var gl = L . mapboxGL ( {
4242 accessToken : token ,
43- style : `${ protocol } ://${ ip } :${ port } /igs/rest/mrms/vtiles/styles/浅色样式 .json`
43+ style : `${ protocol } ://${ ip } :${ port } /igs/rest/mrms/vtiles/styles/浅色-墨卡托 .json`
4444 } ) . addTo ( map ) ;
4545 }
4646 </ script >
Original file line number Diff line number Diff line change 4040 var token = 'pk.eyJ1IjoicGFybmRlZWRsaXQiLCJhIjoiY2o1MjBtYTRuMDhpaTMzbXhpdjd3YzhjdCJ9.sCoubaHF9-nhGTA-sgz0sA'
4141 var gl = L . mapboxGL ( {
4242 accessToken : token ,
43- style : `${ protocol } ://${ ip } :${ port } /igs/rest/mrms/vtiles/styles/街道样式 .json`
43+ style : `${ protocol } ://${ ip } :${ port } /igs/rest/mrms/vtiles/styles/街道-墨卡托 .json`
4444 } ) . addTo ( map ) ;
4545 }
4646 </ script >
Original file line number Diff line number Diff line change 7474 if ( inArray ( includes , 'vectortile' ) ) {
7575 // inputScript(httpUrl + "/cdn/leaflet-plugins/Leaflet-VectorGrid/dist/Leaflet.VectorGrid.min.js");
7676 inputCSS ( httpUrl + "/cdn/mapboxgl/mapbox-gl.css" ) ;
77- inputScript ( httpUrl + "/cdn/mapboxgl/mapbox-gl-dev .js" ) ;
77+ inputScript ( httpUrl + "/cdn/mapboxgl/mapbox-gl.js" ) ;
7878 inputScript ( httpUrl + "/cdn/leaflet-plugins/mapbox-gl-leaflet/leaflet-mapbox-gl.js" ) ;
7979 }
8080 if ( inArray ( includes , 'mvt' ) ) {
You can’t perform that action at this time.
0 commit comments