ArcGIS Server » Web Applications » Javascript APIs » ArcGIS
 
 

Code Gallery

Developer Summit 2009: InfoTips demo

This sample shows how to add infoTip(s) to your JavasScript API application. The samples and code is pretty self explanatory. Usage can be seen by viewing the source of the samples.

InfoTip class documentation and full source code with comments is provided in the jsdoc folder or just use the live link to view the same.

Note: Sample demoed at the "A Developer's Guide to ArcGIS Server" session

Tweet your questions or comments - sathyaprasad
Author sathyaprasad
Date Submitted 03-31-2009
Date Last Updated 04-13-2009
Language JavaScript
Product/Version ArcGIS Server 9.3
Views 2918
Downloads 742
License Type ESRI Attribution and License Agreement
(7 ratings)

Report Inappropriate Content: This Code Gallery is intended for the free exchange of code related to ESRI software products. Let us know if this entry is inappropriate (e.g., a download for a commercial product).

 

like the code, but....   posted by kjhoffman36 on Apr 30, 2009 6:41 AM

Does it work if you don't have your points hard-coded in a javacript file? I have points in a dynamic service layer and I would like to do the same thing, but I am not a developer. I try to take what you have and make it work for what I have (over 800 features, so I can't hard code the points) and I keep failing. Any help would be appreciated! Kevin

Problems with JS Api v1.4?   posted by gvs08 on Sep 01, 2009 12:18 PM

I tried it out with my own application but it didn't work - I never saw the InfoTip. Perhaps I made something wrong but perhaps it's because I used the new v1.4 instead of v1.3? Has anybody made the same experience and knows a workaround?

tips on dynamic services   posted by vidalpj on Oct 09, 2009 8:00 AM

if you're looking to add tips to dynamic services, just add the features as graphics as you go. you can wipe them out on extent changes/zooms/pans. works pretty nice and is fast enough for me.. thanks for the sample.

IE Issues   posted by jdobre06 on Oct 16, 2009 10:38 AM

I was wondering if I could get some help on why my infotips aren't working correctly in IE. First, I create a rounded infotip and it shows as rounded in FF. However in IE, it is still square. Also when I set the size of the infotip, I want the x set but the y to be variable. I set it up like iTip2.setSize(200, "");. This works in FF, but does not even show the infotip in IE. Any ideas?

Solved: Problems with JS Api v1.4?   posted by gvs08 on Oct 21, 2009 6:51 AM

My fault: I had forgotten the css file... Now it works fine!