美文网首页Cesium
一些自主学习中的小知识点和问题

一些自主学习中的小知识点和问题

作者: 韩无仙 | 来源:发表于2020-01-15 19:55 被阅读0次

    常用超图SQL语句

    select...from..(dataset)where...(condition)
    where in..(针对某列的多个可能值)
    select distinct(返回唯一不同值)
    where...like...

    1. %表多个字符,_表一个字符
    2. M%匹配以M开头的...
    3. %M%匹配包含M的所有字符
    4. %M_匹配M位于倒数第二位的所有字符

    RequireJS

    1. require.config() 常写入main.js 其中 shim:{name:{exports:"name"}}
    2. define(name,[neededpath],function(){})
    3. require([])

    Promise Ajax

    1. Cesium.when(promise,function(){})
    2. promise(sth).then((layers)=>{})
    $.ajax({
                    type: "POST",
                    url: "js/func/urls.json",
                    async: true,
                    dataType: "json",
                    success: function (result) {
                        if (result) {
                            console.log("ajax读取完成")
                        }
                    }
                })
    

    参考:[https://blog.csdn.net/weixin_42997826/article/details/82713614]

    knockout

    1. 定义viewModel
    2. 绑定DOM 监视viewModel eg:Cesium.knockout.track(viewModel)
    3. Cesium.knockout.applyBindings(viewModel,DOM)
    4. Cesium.knockout.getObserable

    自定义通用展示气泡

    NodeJS Tomcat PHP layui bootstrap-treeview json

    Cesium WEBGL

    相关文章

      网友评论

        本文标题:一些自主学习中的小知识点和问题

        本文链接:https://www.haomeiwen.com/subject/qbfvnctx.html