Good morning.
I’m attempting to write a function that loads a set of data and displays some feature details in a mouseover tooltip based on that data
For example, mousing over a certain US state, I want to display the number of books sold for that state.
Some states will have actual values, others not (can also be 0).
We have an object array that houses the data that also gets output to the client side for other functionality. i.e. [{state: ‘Texas’, value:‘200’},…]
The sample I’ve seen loads similar data from a shapefile. Is it possible to do from an object on the server side?
On the front end, so far I have managed to get the marker and pop up to follow the mouse and update the popup with the real time coordinates, but I’m at a loss as to how to pull any information about which feature I’m currently over.
also, is there a way to disable zooming/panning on the map?