Welcome to Jenolan Q&A, where you can ask questions and receive answers from other members of the community.

Map Layer setup

0 votes
asked Mar 2, 2012 in Deveopler by jenolan (3,600 points)

1 Answer

0 votes

Description: How to setup layers for use in an Activity Base Layer

Please make sure that you create a base layer that is always enabled, by default this should be the 'session-layer', only add more layers if you are actually going to swap content in/out during an Activity (definitely only for advanced coders).

Included in this layer should be all of your triggers and track marks, doing otherwise might cause misbehaviour with more advanced fiddling.

Multiple Layers
You are able to add as many layers as Trainz permits, remember though that adding/removing layers should not be visible to the user (well unless on purpose) always make sure that the base layer is left alone.

Important Notes
Only add layers in the session level (the second set starting with 'session-layer).

Do not edit the route-layer or other top level layers! All layers are loaded when an Activity starts, if you do not need one you need to swap it out in the Start code.

answered Mar 2, 2012 by jenolan (3,600 points)
edited Mar 2, 2012 by jenolan
...