change zorder onover onout mapspot bingmap
-
-
-
Hi,
the spot element doesn't have a zorder setting:
https://krpano.com/plugins/bingmaps/#spotThat means it's currently not possible to define a custom order (but I've noted that as feature request).
Best regards,
Klaus -
but I've noted that as feature request
Great, thanx Klaus ! -
In assigning GPS coordinates for Bing Maps, I see that whenever there are close clusters of mapstpots, the tooltip for the last mapspot in a close clustered series is the one that shows. Is there a way to change this so that maybe the tooltip for one of the middle scenes in the series is the one that shows (when there are several disparate clusters on a large mapped area?) I have a project where the last buildings on a multi-campus college tour are relatively unimportant and my customer wants one of the more important buildings...which appears earlier in the series to be the top tooltip seen in that cluster on Bing Maps
In krpano 1.19 prs I see some variables related to sets and scene counts. Does this present a way to address the "custom order" request?
Code
Display More<action name="skin_addmapspots"> for(set(i,0), i LT scene.count, inc(i), if(scene[get(i)].lat, txtadd(spotname, 'spot', get(i)); txtadd(spotclickevent, 'skin_hidetooltips(); activatespot(',get(spotname),'); loadscene(', get(scene[get(i)].name), ',null,get(skin_settings.loadscene_flags),get(skin_settings.loadscene_blend)); skin_updatescroll(); delayedcall(0.5,skin_showmap(false));'); copy(scene[get(i)].mapspotname, spotname); addspot(get(spotname), get(scene[get(i)].lat), get(scene[get(i)].lng), get(scene[get(i)].heading), false, get(spotclickevent), null); if(skin_settings.tooltips_mapspots, set(layer[skin_map].spot[get(spotname)].tooltip, get(scene[get(i)].title) ); txtadd(layer[skin_map].spot[get(spotname)].onover, 'set(hovering,true);', get(style[skin_tooltips].onover) ); txtadd(layer[skin_map].spot[get(spotname)].onout, 'set(hovering,false);', get(style[skin_tooltips].onout) ); ); ); ); if(xml.scene != null, activatespot( get(scene[get(xml.scene)].mapspotname) ); , activatespot(spot0); ); <!-- zoom and pan the map to see all spots at the same time --> zoomToSpotsExtent(); </action>
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!