编程语言/地图:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
Kangkk​(留言 | 贡献)
第126行: 第126行:
图示:
图示:


[[文件:等距圆柱投影-1.png|700px|替代=等距圆柱投影-1|等距圆柱投影-1]]
{{Leftrightflex|[[文件:等距圆柱投影-1.png|700px|替代=等距圆柱投影-1|等距圆柱投影-1]]|<syntaxhighlight lang="html5">
 
实现:
 
<syntaxhighlight lang="html5">
<script src="https://d3js.org/d3.v7.min.js"></script>
<script src="https://d3js.org/d3.v7.min.js"></script>
<script src="https://lib.baomitu.com/topojson/3.0.2/topojson.min.js"></script>
<script src="https://lib.baomitu.com/topojson/3.0.2/topojson.min.js"></script>
第160行: 第156行:
       .attr('d', path);
       .attr('d', path);
   });
   });
</script></syntaxhighlight>
</script></syntaxhighlight>}}


==== 等积圆柱投影 ====
==== 等积圆柱投影 ====