Disable links | Documentation

Our interactive maps are clickable. That means that if you click on a state or location you will be redirected to a url or trigger some action on the webpage.

Sometimes, however, you don't want anything to happen when a visitor clicks. To achieve this, just leave the url blank. For example, to disable clicks for all states, set the following main_settings property:

state_url: '',

Alternatively, turn off links for a single state with:

url: '',

Disabling clicks on Hawaii (in the US map), would look like this:

© Simplemaps.com 2010-2017 | Home | License | Privacy Policy | Releases | Testimonials | Resources | Documentation
Formerly FlashUSAmap.com and Flashworldmap.com