I am new to this stuff. Basically I am trying to show the data from my local database in the popup for some specific rivers, but I am having a hard time while enabling popup. I tried to find the solution but didn't find anything.

I am using Esri_Hydro_Reference_Overlay layer to show rivers in this map and I am getting this message:

enter image description here

the next message says

This layer doesn't have any attribute data. You can, however, display attributes from a different feature layer in the pop-up. How do you want to specify what layer to use?

And it gives me two options

Choose from my items


Enter a URL for a layer

here is the Screenshot of it

enter image description here

Can anyone help me?

  • Are you adding the same URL for the hydro reference layer? If the layer is a Tile Layer(I am guessing cached map service in this case) you wont get popups from that layer. If you have a feature layer(Feature Service) you can use that to drive the popups for that layer. – Russ Roberts Apr 8 at 12:45
  • yes it is a tile layer. any way to show popups in it? – S.Mishra Apr 9 at 16:48
  • You will have to use a feature layer(in this case of rivers) to drive the popups for this tile layer. So when you click on the tile layer its able to send a query of that location through to the feature layer "behind" the tile layer being displayed in the map. You cannot use a tile layer to drive the popup. – Russ Roberts Apr 9 at 18:09
  • so how should i do this implementation? Anything would be a big help – S.Mishra Apr 9 at 20:14
  • You will need to find or publish a feature layer of river data that matches what you see in the tile layer that is the area you are interested in. Then follow the popup workflow that you have in the initial post where you use a layer from My Items or through a URL of the feature layer(feature service). – Russ Roberts Apr 10 at 13:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.