I am using an
Webmap is rather large and cannot be rendered all at once when zoomed out, however I would like to avoid showing holes in the data on screen when data does actually exist there.
I have seen samples and demos before where it is possible to use a tiled map service to cover the entire large area without rendering all the individual features, but still be able to show an
InfoWindow when the map is clicked. I am assuming this would be done using a
FeatureLayer with its
mode set to
SELECTION and the
onClick handler for the
map would query the
FeatureLayer based on where the
map was clicked, then the selected features would appear on the
map and the
InfoWindow could be visible.
I have not seen where it is possible to set the
mode of a
FeatureLayer that is provided via an
ArcGIS.com Webmap. If I simply create a new
FeatureLayer in my application that points to the
Hosted Feature Service on
ArcGIS.com, then I lose all of the configuration (symbology, popup, etc.) that I have done when publishing the
Is what I have described above possible? If not, is there another way to render a large number of features on the map and still have access to attribute information?