Never-ending Pumpkin Mulch

    @tuby/kereal
    TypeScript icon, indicating that this package has built-in type declarations

    0.4.1 • Public • Published

    #@tuby/kereal

    The kereal is a 3d engine to create a syber world. This library is only API, should set a basic engine.

    Recently,the basic engine include osg cesium cloud openlayers.

    ##Installation With NPM:

    $ npm install @tuby/kereal

    With Yarn:

    $ yarn @tuby/kereal

    ##Update With NPM:

    $ npm update @tuby/kereal

    With Yarn:

    $ yarn upgrade @tuby/kereal

    Usage

    $ npm install @tuby/kereal-cesium

    import {createKereal} from '@tuby/kereal-cesium'
    
    let options={
        elementId: 'map3d',
        baseMap:{
            // 初始视点位置
            initLocation: {
                viewpoint: {
                heading: 25.942301367654593,
                pitch: -38.431944183452515,
                roll: 0.07677076716942897,
                x: 113.19540948017503,
                y: 23.81639878150138,
                z: 270.32724939781247
                }
            },
            // 地球地图配置
            basemap: {
                'name': '地球',
                'type': 'tms',
                'url': 'http://www.cntuby.com:9000/Base/World',
                'format': 'png',
                'maximumLevel': 8
            },
            layers: []
        }
    }
    
    var kereal= createKereal(options);
    

    Testing & Dev

    npm run dev
    

    📜 Changelog

    Detailed changes for each release are documented in the CHANGELOG.md

    ©️ License

    MIT

    Install

    npm i @tuby/kereal

    DownloadsWeekly Downloads

    2

    Version

    0.4.1

    License

    MIT

    Unpacked Size

    220 kB

    Total Files

    10

    Last publish

    Collaborators

    • tubycn