Thanks to visit codestin.com
Credit goes to github.com

Skip to content

jjmontesl/ddd-viewer-app

Repository files navigation

DDD Viewer Web App

DDD Viewer Web App is a web application for visualizing geographical 3D data, generated by the ddd project.

DDD Viewer Online

You can find DDD Viewer online at the 3dsmaps.com site, which uses

Development

Clone the repository:

git clone https://github.com/jjmontesl/ddd-viewer-app.git

You also need to make an npm link to reference the base ddd-viewer library:

npm link ../ddd-viewer  # Replace with local path to ddd-viewer lib

Compiles and hot-reloads for development

npm run serve

or

npm run serve-pub-https

The build toolchain accepts some environment variables that configure the application:

DDD_VIEWER_APP_BUILD_ENV=devel-studio DDD_VIEWER_APP_TILE_URL_BASE="http://localhost:8000/cache/ddd_http/" npm run serve

To build:

npm build       # For default configuration
npm build-prod  # For production website: links to blog and about, oriented to OSM maps, no DDDServer links

Assets

Note that this application connects to map tile servers to retrieve and show data. It also requires some locally available assets to be included with the application. Please refer to ddd-viewer project documentation for further information.

TODO: how to download assets to be used locally (document here or in ddd-viewer project).

HTML5 History Mode considerations

This project uses Vue Router HTML5 History Mode, this means when you are in development mode you can hit Cmd+R (mac) or F5 (Windows) to reload the page and it will work, but when the project is built you need to configure your web server to make that work. Please read the official Vue Router documentation here: https://router.vuejs.org/guide/essentials/history-mode.html#example-server-configurations

Compiles and minifies for production

npm run build

Bugs or improvements

Feel free to report any bugs or improvements. Pull requests are always welcome.

License

Copyright (c) 2021 Jose Juan Montes and contributors

See LICENSE file for further information.

About

DDD Viewer Application (3D OSM maps viewer), using the ddd-viewer library (EXPERIMENTAL / WIP)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages