everyone. I'm sorry if it is common question but I'd googled it for a couple days and still haven't find the answer. Everything I see in documentation is style an exist HTML layout, which looks like:
<div class="esriPopupWrapper" style="position: absolute;">
Zoom to
But I need to setup totally different popup, put style on it and, surely, link it to data. I see there's the PopupTemplate class that allow to put data in 'content' block or 'title' block, but how to define own sections, change markup and do stuff like this?
What I tried:
أكثر...
<div class="esriPopupWrapper" style="position: absolute;">
Zoom to
But I need to setup totally different popup, put style on it and, surely, link it to data. I see there's the PopupTemplate class that allow to put data in 'content' block or 'title' block, but how to define own sections, change markup and do stuff like this?
What I tried:
- delete sections in popup.domNode and then add my ones - data stopedsynchronize.
- changed markup directly in popup.domNode.innerHTML - same thing
- thought that it is crucial to update ._title and ._content properties to show where's now these blocks placed, but have same result.
أكثر...