Giter Site home page Giter Site logo

3digitaltwin's People

Contributors

kiwigiw avatar leoneljdias avatar mafaldarc avatar ruijramos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

3digitaltwin's Issues

Configurar vários fornecedores de mapas

Criar um ficheiro de configuração onde são criados e armazenados os vários fornecedores de tiles/mapas, assim como as respectivas chaves públicas. Este ficheiro deve ser lido pelo construtor na sua inicialização.

Example:

config/providers.conf
{ 
   MAPBOX_API_KEY: "xpto1",
   GOOGLEMAPS_API_KEY: "xpto2",
   BING_API_KEY: "xpto3",
   MAPTILER_API_KEY: "xpto4",
   OPEN_MAP_TILES_SERVER_MAP: "xpto5"
}

Implementar o método setProviderTile

Este método setProviderTile(provider, heightProvider) deve permitir alterar o provider de tiles que está a ser representado como mapa base do mundo assim como o heightProvider. Ver documentação do geo-three

Inicialização das configurações através do construtor

Example:

new ThreeDigitalTwin({
        center: [-74.0066, 40.7135], //wgs84
        zoom: 250, //meters
        minZoom: 0, //meters
        maxZoom: 10000, //meters
        pitchAngle: 0, // in radians
        minPitchAngle: 0,
        maxPitchAngle: Math.PI,
        bearingAngle: 0, // in radians
        minBearingAngle: 0,
        maxBearingAngle: Math.PI / 2,
        worldSizeWidth: 15000, //width in meters
        worldSizeHeight: 15000, //height in meters
        containerId: 'world', //canvas id,
        oceanVisible: true, //boolean,
        axisHelper: false, //boolean,
        providerMapTile: null,
        modeMapTile: null,
})

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.