Set token value property based on location on map?

I’m working on a module with a market. The price of a resource will depend on where it is in that market. Is there a way to set each token’s Value marker property when the token is moved to a specific area? Then, when purchasing items, you’d drag all your purchases to another Buy Box that displays the sum of all the values.

Of course it is possible.

Impose a grid (depending on what your marker looks like, make it rectangular or irregular). Add grid numbering or name your locations properly. To each piece (resource) add either Calculated or Dynamic Property that calculates resource value based on its location.