I visited "Feature layer hover" sample code. It is almost what I am looking for. Only the different what I would like "to hover on objects on the map, instead of area-boundary (as shown in this sample code)". Please help.
Hi Bulbul,
It might help if you post the sample link you visited (likely this one: Feature layer hover | ArcGIS API for JavaScript ) and it might be best to post this thread in the ArcGIS API for JavaScript place. Community help is for help on the GeoNet.
In any case, have you looked at this code? Does this help?
Here is the Link
Feature layer hover | ArcGIS API for JavaScript
Please let me know if you need anything else
Thanks
Thanks, looks like we're on the same page.
Have you looked at this sample code?
Yes I did but in it you have to click but I just want hover and the geometry of the feature layer is point as this example Feature layer hover | ArcGIS API for JavaScript
here they are using polygon geometry from feature layer and I want point geometry from the feature layer.
Thanks
Bulbul,
I am not fully sure since I do not know enough about JavaScript. Maybe take a look at these two threads. They may be able to help you:
I used this same example to hover over a point feature layer.
Just use the name of your Feature Layer.
Instead of southCarolinaCounties.on("mouse-over", function(evt){...
Just do yourPointFeatureLayer.on("mouse-over", function(evt){...
Thanks David but Its still not working do you mind to have a look in my code thanks
Bulbul,
You can post your code in this thread. It helps if you use the code block like Blake pointed out. (you can also attach a file to this thread but it may be more visual for people to see the code posted as opposed to attached).