How to display image over the mapview?

Hello,

I am trying to show my own popup when a user clicks on a marker in the event. The problem I have is the image is behind the map. How can I get it to be in front? I need to use my own popup because I need to have a couple images for selecting the location. I can’t see where I can do this. So I tried making my own popup with an image and a text and button control over the image popup.

Any ideas?

Thanks,

Warren

The native.newMapView is a “native” object, and always appears in front of standard display objects (check the page on newMapView).

So that leaves few options, something like:

1- Changing the layout of your screen so they don’t overlap - then there’s not a problem

2 - Change the layout so they ENTIRELY overlap, and  set the map.isVisible to false when the popup appears

3 - Re-design the dialog and use a native. dialog instead (which will appear on top of a native.newMapView)

There’s probably a lot more subtle variations, but I’d suggest option 2, given the realities of native.newMapViews. Best of luck.

The native.newMapView is a “native” object, and always appears in front of standard display objects (check the page on newMapView).

So that leaves few options, something like:

1- Changing the layout of your screen so they don’t overlap - then there’s not a problem

2 - Change the layout so they ENTIRELY overlap, and  set the map.isVisible to false when the popup appears

3 - Re-design the dialog and use a native. dialog instead (which will appear on top of a native.newMapView)

There’s probably a lot more subtle variations, but I’d suggest option 2, given the realities of native.newMapViews. Best of luck.