You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Thursday, June 16th 2016, 11:39pm

skin_map from vtourskin.xml question

I am currently using version 1.19.5

I have images that are not geo tagged and I wanted to add bing map support with the VTOUR (MULTIRES) droplet.
Setting the following in vtourskin.xml gets the bing map to display:

In the skin_map layer I also set:
lat="41.525031" lng="-88.081725"

Map displays fine.

My question is can I set the lat & lat from someplace outside of the vtourskin.xml file?
For maintenance purposes I want to have many VTOURS share the same vtourskin.xml file.
With that said I would need to somehow set the lat & lng outside of the vtourskin.xml file.

I see that the SCENES in the tour.xml file has lat & lng but when I set those attributes and then
remove them from the vtourskin.xml file the map does not display.

Can anyone tell me how I might accomplish this?
Or have I coded something incorrectly.



Friday, June 17th 2016, 1:12am

The following code ended up working by setting the lat & lng from the tour.xml startup action.

set(layer[skin_map].lat, 41.525031);
set(layer[skin_map].lng, -88.081725);

*smile* The more you play the more you learn.