Sign in to follow this  
adampalmer

How to build a drill-down map and display code

Recommended Posts

Hello, I've just started looking at Maps v3.

 

 

 

I'd like to build a drill-down map of the UK and display on my web page the short-name/code (e.g. NA, UK) of the country/region that has just been clicked on.

 

 

 

The drill down maps should open up in the same window i.e. not in a pop-up or frame... so the online documentation doesn't really help me as I can't see an option for this.

 

 

 

Can anyone point me in the right direction? I can't find any tutorials for this.

 

 

 

Thanks

Share this post


Link to post
Share on other sites

Hi,

One way would be to :

1. Call a JavaScript function on clicking an entity

2. Pass the short name or entity id of the region.

3. Accordingly keep an array to store the map swf files realted to that ID or short name

4. show the code, Load that new map

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this