123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8"/>
- <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
- <title>三维-海量点标记</title>
- <link rel="stylesheet" href="../../dist/index.css"/>
- <script src="../../dist/index.js"></script>
- <link href="../../cesium/Source/Widgets/widgets.css" rel="stylesheet">
- <script src="../../cesium/Build/Cesium/Cesium.js"></script>
- </head>
- <body style="margin: 0; padding: 0;">
- <div id="map" style="height: 100vh; width: 100vw;"></div>
- <div class="input-card">
- <div class="input-item">
- <button class="btn" id="lightPoint">根据id高亮点</button>
- </div>
- <div class="input-item">
- <button class="btn" id="origin" onclick="origin()">还原</button>
- </div>
- <div class="input-item">
- <button class="btn" id="remove">移除</button>
- </div>
- <div class="input-item">
- <button class="btn" id="restore" onclick="restore()">还原状态</button>
- </div>
- </div>
- </body>
- <script>
- function origin() {
- points.repeatSize();
- }
- function lightPoint() {
- points.locationById({id: "12332"});
- }
- function remove() {
- points.remove();
- }
- function restore() {
- points.restore();
- }
- let map = new CTMapOl.cesiumComponent.ThrdimeInitMap({
- domId: 'map',
- center: [116.367223000, 39.913864000],
- zoom: 3
- })
- let viewer = map._viewer;
- var points;
- function initData() {
- let options = {
- viewer,
- clickBig: false,
- clickOption: [
- {
- "big": false,
- "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAADJlJREFUaEPVWwtwVsUV/s7eP+RJCI8EAoSHBTE8hQSQdyKKUrGItbVoKypTQQcVBJ8dOrSOHVuhWB9VGBFQJ5lWBREERQUhgYBARIEECAIhJOERHknI+797Onvv/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WQ8v7306FFFs8jVWO63g25Gl1e9r6SXRPhLghybfoBZxKQx8PfJlmgM5+x/e6lBn6wS3gy2dbNWKK6Qxt4K0um3UbLqXTsMcbvi41AO9dFg+q870Qd9ZA3/81uPpKqwRNYVHQbr7dPxYvBYckUvKsq1+Im1p+czIYG8As3DUehsv507eA7roHai3QNQe0wbeBItv5lTzQFBr+ZPCSB88xtff1+QAtthaiKbPWD+9sPaAV2JtGg9q5ajM9lYFYQMlzG1/U4gW9dBUYM7xJMAZXlkPm7gDb9LWb2yAoLBJCgY3w2ZFViLuaRsyzX7ZkmHbeG6G4VLsVIN8qPLWmj+wBl1216K25MXoPj+hYaP2GA6oS111ybH7NQowjlfo+1WBdVfDSw+w3YuGsrV96qOo/Th2CLD5+/c5pdbEefwNEjwHW1Kt7IrLgaDOVhj3V9NJDj2krTV+sWQbwDOt1nGEF1RWQBbngC0UtplHDQ+rYFSIhEcqUvf6S5/3AanRQxaUNa9YtXFANW1Hw93/3LR+2VLBzxWXIU7ngsuat5aLojhA9EkGRMYHLhwU9RyOeb97yYR/QWa9OBrFZIB6AuLIMXFIIebEIqHFVvtvVfWgYRIeuoE7d6m9KXl6lYJpOo15ouQJx7+79SjyctATs/wTA91EDV1eaGq8qA1dVADWVYF331nQIB0jTgNAIUHgUEN4WFN0JFBYkpiZKh4PnU/KfbMevtkzaX1Gc9XIKJL0MYjNZ5f9oo14Hv2c8/u94gj0KYWRC8EIatdB+ltElyzUB9mh8518nALQAzHeCyNHgu6R6r1r83i0FftajXLsvQVhMo/98zSWBzQLYA3zXK50h66aDSd2LjATYUzditgmmQo9J1ALYDRJrwDKNxixqXQ+1Am5eexdFoEaVMcokwPUUj9AFjLYgmE/xmMtBVA5m8yme+iGxD6HIpORF9oqzGrkx/g9woizE/XAA0gAAAABJRU5ErkJggg=="
- }
- ],
- height: 50,
- layerId: "DataSourceLayer",
- points:
- [
- [
- "116.361901000,39.888600000",
- "10110101000102",
- "data:image/png;base64,iVBORw0KGgoAAAANSU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dNISpsAR2xyWP2nceai9Eg3cYnIpVn8TIbQYYksmOdz6ZcIcvedQGMn07DSaG2SD3azy1LybVuSNR61ZL7Xs+TqeH5zoO2IEV/5roqLVqCSkyWk0N9PoWihC0mESEsQzoQwSdvPzY03tMjGAhhlOMYbdNjS3rxt5jF7XqW4iX95FeU4kBxNALdnQWr+MxRMIOI1TOq3h2lDMVyomQC34NT4VMRkgXDEj+NP72XMX7P64FbDScbobFAAAAAElFTkSuQmCC",
- "0.5, 1"
- ]
- ],
- width: 50,
- }
- points = new CTMapOl.cesiumComponent.Points(options);
- points.addTo({viewer: viewer})
- points.on('click', e => {
- console.log(e)
- })
- points.on('mousemove', e => {
- console.log(e)
- })
- document.getElementById('remove').onclick = () => {
- points.remove();
- }
- document.getElementById('lightPoint').onclick = () => {
- points.locationById({id: "10110101000102"});
- }
- }
- initData();
- function initData2() {
- let options = {
- viewer,
- layerId: 'DataSourceLayer',
- points: [
- ['120.12,31.21', '12332', '../assets/image/rect.jpg', '15,15', 2],
- ['120.12,31.21', 'bb23424b', '../assets/image/rect.jpg', '0,0', 2]
- ],
- // clickOption: [
- // {big: false, icon: '../assets/image/rect2.jpg'},
- // {big: false}
- // ],
- width: 30,
- height: 30,
- clickIcon: '../assets/image/rect2.jpg',
- clickBig: false,
- // zoom: 2, // 超过2级就显示
- // maxZoom: 5,
- remark: {
- fontSize: 24,
- color: 'green',
- offset: [0, 0],
- },
- zIndex: 2
- }
- points = new CTMapOl.cesiumComponent.Points(options);
- points.addTo({viewer: viewer})
- }
- // initData2()
- </script>
- <style>
- /*地图*/
- .mapDIV {
- height: 100vh;
- width: 100vw;
- z-index: 1;
- }
- .add-switch {
- position: absolute;
- right: 30px;
- height: 68px;
- width: 30px;
- bottom: 112px;
- background: #FFFFFF 100%;
- color: #172537;
- border-radius: 4px;
- display: flex;
- flex-direction: column;
- align-items: center;
- z-index: 2;
- }
- .add-s-block {
- height: 20px;
- display: flex;
- align-items: center;
- justify-content: center;
- width: 100%;
- line-height: 20px;
- font-size: 12px;
- margin-bottom: 2px;
- color: #172537;
- }
- .add-zoom {
- width: 20px;
- height: 20px;
- background-image: url('../../dist/assets/image/ar/switch/add-zoom.svg');
- background-size: 100% 100%;
- cursor: pointer;
- }
- .sub-zoom {
- width: 20px;
- height: 20px;
- background-image: url('../../dist/assets/image/ar/switch/sub-zoom.svg');
- background-size: 100% 100%;
- cursor: pointer;
- }
- .add-zoom-out {
- width: 20px;
- height: 20px;
- background-image: url('../../dist/assets/image/ar/switch/add-zoom-out.svg');
- background-size: 100% 100%;
- }
- .sub-zoom-out {
- width: 20px;
- height: 20px;
- background-image: url('../../dist/assets/image/ar/switch/sub-zoom-out.svg');
- background-size: 100% 100%;
- }
- .add-s-block.btn-click {
- cursor: pointer;
- }
- .input-card {
- position: absolute;
- right: 15px;
- bottom: 15px;
- z-index: 999;
- }
- </style>
- </html>
|