simplemaps

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:

HTML5 Map Documentation v3.2

The current version is 3.2. Older docs: 3.0, 2.9
Already a customer and need to update?

Customization

Installation

Common Questions

Troubleshooting

JavaScript API

© Simplemaps.com 2010-2015 | License | Privacy Policy | Releases | Testimonials | Resources | Documentation
Deprecated Maps: Flash USA Map | Flash World Map | Flash Canada Map | Flash Europe Map | Flash Congress Map
Formerly FlashUSAmap.com and Flashworldmap.com