Select to view content in your preferred language

InfoTemplate Location

3158
5
12-23-2015 02:08 PM
JennaWalz2
Emerging Contributor

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!

0 Kudos
5 Replies
RickeyFight
MVP Regular Contributor

Jenna,

Are you thinking something like this?

Popup content in side panel | ArcGIS API for JavaScript

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Jenna,

   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).

Popup content in side panel | ArcGIS API for JavaScript

JennaWalz2
Emerging Contributor

I am thinking of something like a side panel. However, I do not want it the whole length of the screen.

0 Kudos
KousikM
Occasional Contributor

Jenna,

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/

0 Kudos
AkshayHarshe
Esri Contributor

Hi Jeena,

I put together a sample here.

You can check this out.

InfoWindowFloatingPane - JSFiddle

See if that helps.

Thanks,

Akshay

Thanks,
Akshay Harshe