Code Monkey home page Code Monkey logo

mapapps-daylight's Introduction

Daylight

This bundle enables the user to display the effect of light of certain time of day. Additionally, the shadow of 3D-Objects can be simulated.

Screenshot App

Sample App

https://demos.conterra.de/mapapps/resources/apps/downloads_daylight/index.html

Installation Guide

Requirement: map.apps 4.9.0

Restrictions: Only works in 3D view

dn_daylight Documentation

Development Guide

Define the mapapps remote base

Before you can run the project you have to define the mapapps.remote.base property in the pom.xml-file: <mapapps.remote.base>http://%YOURSERVER%/ct-mapapps-webapp-%VERSION%</mapapps.remote.base>

Other methods to to define the mapapps.remote.base property.

  1. Goal parameters mvn install -Dmapapps.remote.base=http://%YOURSERVER%/ct-mapapps-webapp-%VERSION%

  2. Build properties Change the mapapps.remote.base in the build.properties file and run: mvn install -Denv=dev -Dlocal.configfile=%ABSOLUTEPATHTOPROJECTROOT%/build.properties

mapapps-daylight's People

Contributors

dpayk avatar matthiasstein avatar sarahlechler avatar sholtkamp avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mapapps-daylight's Issues

Daylight bundle breaks loading of parameterized URLs

Reproduction:

  1. Create an app with a 2D map
  2. add viewmodeswitcher, parameter-url and dn_daylight bundles
  3. Open app, switch to 3D and change to a new perspective
  4. Reload URL

Expected result:

  • Map is started in 3D and shows the new perspective

Actual result:

  • Map is shown in 2D
  • viewmodeswitcher tool indicates a 3D map
  • An error is printed in the browser's console: esri.core.Accessor] Accessor#set Assigning an instance of 'esri.views.MapView' which is not a subclass of 'esri.views.SceneView'

Additional Hints:

Possible quick fixes:

  1. Prevent creating of the widget for MapViews
  2. Add toolrule to "DaylightToggleTool" that tool is only available in 3D

Not working in map.apps 4.11

Map view does not load in map.apps 4.11.

Error Message:
ViewProvider: Map does not reach 'isValid' state after 15sec. Please check your view and layer configuration.

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.