11-13-2017 02:11 AM
Some help would be graetly appreciated.
I am trying to implement a test terrain module to portals 3D view but am having some trouble.
I followed the video tutorial but one section is a bit misleading and that is the terrainSource attribute value.
From the video the trailing value of .../%1/%x/%y.tif is added to the virtual directory but an image screenshot in the video and pdf displays .../%1/r/%r/%y.tif.Witch one is the correct one?
Then also , is the vr 3D plugin still required , no mention of it in the video.
Also installed is , but chrome and firefox does not seem to be happy with them , Chrome not supported and Firefox returns it as outdated and does not load it.
Also I get alot of errors logged in chrome and firefox related to mMapSDK.js:1 Refused to set unsafe header "Content-length"
FYI , i also set the MIME types for blob,JSON and myVR
Any help would be greatly appreciated.
Solved! Go to Solution.
11-14-2017 05:39 AM
11-14-2017 11:37 PM - edited 11-14-2017 11:40 PM
Thanks for the reply.
I do remember the plugin was discontinued due to browser support , just thought I was missing something.
Okay, so I fixed the trailing value , see in the log the path is build up correctly now.Also set forceWebGL to true.
1.So with the mTransformer I only build from level 8 to 19 so 8 do not contain many tiles and see in the log it is trying to acces tiles that does not exist.
2.Seems that I have a CORS issue , but I will fix this later as die virtual path address differ from the portal address.
Cannot read property 'lat' of null
Refused to set unsafe header "Content-length"
Attached is the log of the events.
If you can maybe give me your opinion.
11-15-2017 01:46 AM
The error isn't familiar to me, could you perhaps try with a standard Portal layout? I can see you are using page called GeoFarmSA.aspx.
11-15-2017 02:45 AM
Yes , I will give this a try tomorrow and get back to you.
But It looks like a headers issue caused by content length in mMapSDK.js
But will try it and get back to you!
11-19-2017 11:31 PM
Sorry, I have not been able to test your suggestion and I do apologise.
I am at Geospace only on Thursdays and Fridays and that is where I am trying to implement it.
I will get back to you on your suggestion on Thursday.
11-27-2017 11:39 PM
Sorry for the delayed response.
I managed to get it working.
As you suspected , was something on my custom page.(VR js file issue)