Hi guys!! I will need your help because i am a bit confused!
I create a web map (https://voutsos.maps.arcgis.com/home/item.html?id=66e13c949c074b0ba726837684b664a7 ) which compines a basemap and a feature layer. I create a mobile app using the existing arcgis tutorials and the tutorial for adding a web map (Display a web map | ArcGIS for Developers ). Till here everything is ok! My only problem is that when i click to an item, it's pop-up (with all the info's about the item) from the web map, doesn't show up
.
I'm trying for 5 days to figure it out but i cant! What code should i add to make this work? Please help!
<SPAN class="">private void setupMap() </SPAN>{ <SPAN class="">if</SPAN> (mMapView != <SPAN class="">null</SPAN>) { String itemId = <SPAN class="">"41281c51f9de45edaf1c8ed44bb10e30"</SPAN>; Portal portal = <SPAN class="">new</SPAN> Portal(<SPAN class="">"https://www.arcgis.com"</SPAN>, <SPAN class="">false</SPAN>); PortalItem portalItem = <SPAN class="">new</SPAN> PortalItem(portal, itemId); ArcGISMap map = <SPAN class="">new</SPAN> ArcGISMap(portalItem); mMapView.setMap(map); } }This is the code to display the web map ...