dear forum
hallo klaus
in the actual work, we use a bit different bing map solution.
only one spot for each tour (8 tours at all)
......
<skin_settings milsertor="false" milsertor_lat="47.282248" milsertor_lng="11.510346"/>
<skin_settings pfarrkirche="false" pfarrkirche_lat="47.281596" pfarrkirche_lng="11.506757" />
<skin_settings schergentor="false" schergentor_lat="47.280647" schergentor_lng="11.507146" />
<skin_settings josefskapelle="false" josefskapelle_lat="47.281711" josefskapelle_lng="11.507282" />
<skin_settings latrine="false" latrine_lat="47.279547" latrine_lng="11.506969" />
<skin_settings museum="false" museum_lat="47.279269" museum_lng="11.507266" />
<skin_settings rathaus="true" rathaus_lat="47.281834" rathaus_lng="11.506851" />
<skin_settings burg="false" burg_lat="47.279493" burg_lng="11.507073" />
<action name="latlong">
if(skin_settings.rathaus == true,
copy(layer[skin_map].lat, skin_settings.rathaus_lat);
copy(layer[skin_map].lng, skin_settings.rathaus_lng););
if(skin_settings.milsertor == true,
copy(layer[skin_map].lat, skin_settings.milsertor_lat);
copy(layer[skin_map].lng, skin_settings.milsertor_lng););
if(skin_settings.josefskapelle == true,
copy(layer[skin_map].lat, skin_settings.josefskapelle_lat);
copy(layer[skin_map].lng, skin_settings.josefskapelle_lng););
if(skin_settings.pfarrkirche == true,
copy(layer[skin_map].lat, skin_settings.pfarrkirche_lat);
copy(layer[skin_map].lng, skin_settings.pfarrkirche_lng););
if(skin_settings.schergentor == true,
copy(layer[skin_map].lat, skin_settings.schergentor_lat);
copy(layer[skin_map].lng, skin_settings.schergentor_lng););
if(skin_settings.latrine == true,
copy(layer[skin_map].lat, skin_settings.latrine_lat);
copy(layer[skin_map].lng, skin_settings.latrine_lng););
if(skin_settings.burg == true,
copy(layer[skin_map].lat, skin_settings.burg_lat);
copy(layer[skin_map].lng, skin_settings.burg_lng););
if(skin_settings.museum == true,
copy(layer[skin_map].lat, skin_settings.museum_lat);
copy(layer[skin_map].lng, skin_settings.museum_lng););
</action>
the actual tour spot is set to true
so far so good.
her starts the set spotaction
<action name="addmapspots_1">
plugin[skin_map].addstylespot(spot_milsertor,47.282248,11.510346,0,mapspot1,false,action(next_tour_mt));
plugin[skin_map].addstylespot(spot_pfarrkirche,47.281596,11.506757,0,mapspot2,false,action(next_tour_pfk));
plugin[skin_map].addstylespot(spot_schergentor,47.28064,11.507146,0,mapspot3,false,action(next_tour_st));
plugin[skin_map].addstylespot(spot_josefskapelle,47.2817114,11.507282,0,mapspot4,false,action(next_tour_jk));
plugin[skin_map].addstylespot(spot_latrine,47.279547,11.506969,0,mapspot5,false,action(next_tour_lat));
plugin[skin_map].addstylespot(spot_rathaus,47.281834,11.506851,0,mapspot7,true,action(next_tour_rh));
plugin[skin_map].addstylespot(spot_museum,47.279269,11.507266,0,mapspot6,false,action(next_tour_arch));
plugin[skin_map].addstylespot(spot_burg,47.279493,11.507073,0,mapspot8,false,action(next_tour_burg));
</action>
and here the question:
is it possible, to copy the lat, lng and active informations from the corresbonding skin settings
thanks a lot
wbr
klaus