Hi I had some code working on 0.35 (i was stuck here as there was a problem with old mac processors) and now I have updated to 1.1 and there is a part of my code that stopped working as I expected:
I have a navigator where one of the pages contains a map view:
Clicking on the map page i want to be able to navigate to the second page. On 0.35 that was working but now (on 1.1) once the map is shown it’s always shown on top of everything forever wherever I navigate.
to solve it on 0.35 i did the following trick (dunno if it was correct but it worked):
Do you happen to be using an EdgeNavigator in your app? I’d identified an issue, and have a fix ready for 1.1, that address a problem with activity and EdgeNavigator.
Is the render value is changing from true to false correctly for you? I’ve tested and it appears to work for me, but I haven’t tested the MapView aspect yet.
yes… it works the “true/false” but once the map is shown it’s always on top of the screen no matter if i navigate to page3 or back to page1 (both in Android/iOS)
I also got the same trouble and tried the sample code written by zaulin above.
But, it still doesn’t work for me.
Does anyone find the solution? Or, Is there any minimum and perfect sample code (for MapView + Overlay popup) provided by Fuse team?(I already googled it, but I couldn’t reach.)
Note:
The “render” value mentioned by edA-qa mort-ora-y was changed correctly.
But the popup page was drawn under the nativeview host on iPhone preview. (On Fuse local preview, it worked well.)
I also read this part: “The only exception is when Fuse.Controls.NativeViewHost.RenderToTexture is enabled, which comes with its own set of limitations.” in your NativeViewHost document. But, still not get the exact meaning.
<Panel>
<NativeViewHost>
<Panel Alignment="Top" Padding="15" Color="#0006">
<Text>This text is layered on top of the WebView</Text>
</Panel>
<WebView Url="http://example.com" />
</NativeViewHost>
</Panel>