0

I'm using ArcGIS API v4 and the document said ArcGIS API allows view can only have one instance of popup at a time

All Views contain a default popup. This popup can display generic content, which is set in its title and content properties. When content is set directly on the Popup instance it is not tied to a specific feature or layer.

I've been searching for similar questions but still got no clearly answers? Is there a way to implement opening multiple popup on ArcGIS map at the same time?

Vince
20.5k16 gold badges49 silver badges65 bronze badges
asked Jul 22, 2020 at 4:00
4
  • 1
    The popup is a singleton type of object, meaning only one popup in a map. Commented Jul 22, 2020 at 15:47
  • Thanks @kenbuja, yeah since popup is singleton, I'm looking for an idea of how to extend or customize it show it can display more than one at a time Commented Jul 23, 2020 at 9:06
  • Are you looking to display multiple of these all the time (like a fancy label) or is it that when people click on them you want them to remain? Either way, there's probably a better solution than trying to use the Popup for this. Commented Jul 24, 2020 at 0:04
  • @BjornSvensson yes I want it to stay remain when people click away out of popup or open another popups. Do you have any recommends? Thanks Commented Jul 24, 2020 at 5:16

1 Answer 1

0

@Hung, while the "Popup" widget is a singleton, the "Feature" widget can be used to display information normally found in the Popup without having to use the Popup itself. The documentation includes samples for showing the Feature widget in a side panel, and you could for example expand that to have multiple side panels, or display it somewhere else.

answered Oct 26, 2020 at 17:13

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.