-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix]mapboxgl l7支持多坐标系,listLayers图层顺序 review by qiw
- Loading branch information
1 parent
1016f0a
commit b3b5dce
Showing
95 changed files
with
783 additions
and
500 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,23 +54,15 @@ | |
var includes = (targetScript.getAttribute('include') || '').split(','); | ||
var excludes = (targetScript.getAttribute('exclude') || '').split(','); | ||
if (!inArray(excludes, 'maplibregl')) { | ||
// inputCSS(libsurl + '/maplibre-gl-js/3.1.0/maplibre-gl.css'); | ||
// inputScript(libsurl + '/maplibre-gl-js/3.1.0/maplibre-gl.js'); | ||
inputCSS('https://unpkg.com/[email protected]/dist/maplibre-gl.css'); | ||
inputScript('https://unpkg.com/[email protected]/dist/maplibre-gl.js'); | ||
inputCSS(libsurl + '/maplibre-gl-js/3.1.0/maplibre-gl.css'); | ||
inputScript(libsurl + '/maplibre-gl-js/3.1.0/maplibre-gl.js'); | ||
} | ||
if (inArray(includes, 'L7')) { | ||
inputScript('../../dist/maplibregl/l7-dev.js'); | ||
inputScript(libsurl + '/maplibregl-l7-render/index.js'); | ||
} | ||
if (inArray(includes, 'g2')) { | ||
inputScript('https://cdnjs.cloudflare.com/ajax/libs/antv-g2/4.2.8/g2.min.js'); | ||
} | ||
if (inArray(includes, 'L7Three')) { | ||
// inputScript('https://cdnjs.cloudflare.com/ajax/libs/three.js/r115/three.min.js'); | ||
inputScript(libsurl + '/three/0.115.0/three.min.js'); | ||
inputScript(libsurl + '/three/0.115.0/examples/js/loaders/GLTFLoader.js'); | ||
inputScript('../../dist/maplibregl/l7-three.min.js'); | ||
} | ||
if (inArray(includes, 'turf')) { | ||
inputScript(libsurl + '/turf/6.5.0/turf.min.js'); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.