Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
GUI
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/7
Click/touch detection on states irregular areas
Click/touch each state to trigger aa method, it detects with precision the area of the clicked state.
Also, click in the thin space between states, and it triggers the detection of the closest state.
This asset includes a method to show the name of the selected state and area in km.

Color states independently
It presents each state in the color you define, Includes examples of single color and a heat map going gradually from red to yellow. Useful in business intelligence charts also.

Zoom, scroll.
Includes buttons to zoom in/out, also listens to pinch gesture.
When the map is larger than the screen it can be scrolled with mouse or swipe gesture.
State names.
Shows state names as floating text.
Names don't overlap on small areas, they are configured in a resource file to be shown at a certain level of zoom.

Lightweight.
Area detection does not uses images, just a 100kb text resource file.
To show the map only one sprite is used.

Fully customizable C# code.
A prefab, a sprite, text data files and a C# script is all it takes, so you can modify at your needs.

More info.
http://davidhf.name/AssetsForUnity/MEX_Map_Documentation.htm

Mexico map with states

(not enough ratings)
8 users have favourite this asset
(8)
$5
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
404.1 KB
Latest version
1.0
Latest release date
Jun 14, 2016
Original Unity version
5.3.4
Support
Visit site
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR