you want the interface with mini map to customize the display
you want the interface with mini map to customize the display
1, add a div to the page to place the mini-map
< div style= "left:12px;bottom:10px;width:300px;height:240px;background-color:-sharp000000" >
< div id= "map" style= "width:100%;height:100%;background-color:-sharp000000" >
< / div >
< / div >
2, the interface for calling the mini-map
var mapConfig = Glodon.Bimface.Plugins.Map.MapConfig ();
mapConfig.domElement = document.getElementById ('map'); / / the dom element of the page
mapConfig.viewer = viewer3D; / / 3D model
var map = new Glodon.Bimface.Plugins.Map.Map (mapConfig);
var l = map.getFloorList (); / / get a list of mini-maps of the floor
map.showFloorById (l [0] .id); / / display a mini-map
Application scenario: for example, we have many shops, and we need to add their name to each store, or the name of each room in the office building ...
I want to customize the exposure, so I don t need to set manually....
large models do not open wireframes by default, while small models load wireframes by default as a developer, I hope I can have an API that can customize the effect of switching wireframes in order to adapt to different project needs. ...