Hello,
Is there any way to anchor the Info Template to the corner of the screen/window instead of anchoring it to the corner of the feature?
Thanks!
Jenna,
Are you thinking something like this?
Popup content in side panel | ArcGIS API for JavaScript
Here is a sample that places the info window content in a side panel. This is not exactly what you are asking for but may suffice until JS API 4.0 is officially released (it has the ability to dock the info window).
I am thinking of something like a side panel. However, I do not want it the whole length of the screen.
I think, you can try to make Infowindow as movable. Then you can drag it on any corner of map window.
Use this sample. http://gavinr.com/2015/04/13/arcgis-javascript-draggable-infowindow/
Hi Jeena,
I put together a sample here.
You can check this out.
InfoWindowFloatingPane - JSFiddle
See if that helps.
Thanks,
Akshay
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.