Hello,
I'm creating a map that shows various points of interest. When I click on a POI marker, the marker gets highlighted by a blue-ish rectangle (as shown below)!
How can I remove that??
Thank you very much!
You can set the highlight to false for the info window to remove the highlight symbol. Here's an example of how to do this:
map = new Map("map", { basemap: "topo", center: [-118.4, 34.08], zoom: 14 }); map.infoWindow.set("highlight", false);
Thanks. It seems like that should be clarified in the documentation. The Popup page start with this statement
The Popup class is an implementation of InfoWindow that inherits from InfoWindowBase to provide additional capabilities.
I would expect that the methods and properties of the InfoWindow (such as "set") would be listed on the InfoWindow page.
Ken Buja the highlight property is documented on the Popup class. The Popup is the default info window for the map so if you specify map.infoWindow that's the Popup.
Where is that documented in the help?
I will give it a try and see!
Thanks!
Maybe you could create a custom infowindow?
Check it here:
Custom info window | ArcGIS API for JavaScript
I forgot to mention that! Sorry!
Yes, it's in the javascript api!
Dennis,
is this in the javascript api?
Tim
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.