Zum Hauptinhalt gehen

Register Module in GeoCortex resource manager

Kommentare

4 Kommentare

  • Permanently deleted user

    Hi Ammar,

    That line of code is actually emitted by our Resource Compiler tool. The string parameter you refer to is actually just a base64-encoded representation of your view.

    If you're following the typical steps for custom development, you should be invoking the resource compiler against your custom code and HTML, and ending up with a JavaScript library containing all of your assets. This library file will have the calls to the ResourceManager at the bottom of the file (just like Mapping.js), and you can then configure your library to be included.

    We introduced a splash screen in version 2.0 of the viewer, and this is actually quite easy to modify. If you look at the bottom of Index.html, you'll see the splash screen. A little ways above that is some code that handles dismissing the splash screen when the viewer is ready. Look for "dismissSplashScreen" - you can customize this logic to have the splash screen dismissed when the user clicks on the link in your disclaimer.

    Hope this helps!

     

    -Jason

     

    0
  • Permanently deleted user

    Jason,

    Would you be able to provide an example of how you customized the splash screen so that a user has to select "Accept Term" before the site opens?

    Walter

    0
  • Permanently deleted user

    I'd be interested to see the "Accept Terms" example also. 

     

    I'm also wondering if it's possible to customize a splash screen by viewer.  If I change the splash screen logo icon in index.html it applies to ALL HTML5 viewers for all sites and I'd like to be able to customize it for different clients.

    0
  • Brian Oevermann

    +1 on the Accept Terms example.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.