Autodesk-Forge / forge-viewhubs

Build tree view of content: Using the jsTree library, this sample shows you how to build a basic tree view of Hubs, Projects, Folders and Items. Supports menus and reloading among other features
MIT License
25 stars 16 forks source link

Minimap location not correct #7

Open ShadyNawara opened 5 years ago

ShadyNawara commented 5 years ago

I tried using the minimap extension both through the demo and inside my own app but the output doesnt seem to be correct, I get a location in a nearby city. Also, when trying to use the geolocation extension activate(). The debug menu doesnt show up

augustogoncalves commented 5 years ago

is it an RVT model? can you open that file on Revit and check with the Location command?

TD604 commented 3 years ago

@augustogoncalves - i have had the same issue with this, it seems to insert an additional offset if you have set your coordinate system up as will as the location.

when i set the location and remove the coordinate system (model at 0,0,0) the mini map shows it in the correct location however the minute i set a coordinate system the mini map shows the incorrect location. is it possible that it is taking an offset between the project base point and the survey point and offsetting the map location by that distance?

augustogoncalves commented 3 years ago

@TD604 , are you able to share a sample project that demonstrates the issue? you can send to forge.help@autodesk.com (instead of sharing here). Please mention this github issue.

TD604 commented 3 years ago

@TD604 , are you able to share a sample project that demonstrates the issue? you can send to forge.help@autodesk.com (instead of sharing here). Please mention this github issue.

email sent, thanks for your help.