pitommasi

Hide Entities

Recommended Posts

Here I am with another feature request:

is it possible (without custom maps) to hide some entities (contry or states) from a map?

I.e.: let's say that I want to show the entire world map (the one with all countries) except north america: is that possible?

Share this post


Link to post
Share on other sites

Nope, sorry, not just the name, but the antire graphic entity. I might need, for example, a World map not showing North America, as if it didn't exist... :rolleyes:

Edited by pitommasi

Share this post


Link to post
Share on other sites

Sorry to insist, but I really neeed to know if this feature is available.

I whish to hide entire graphical entitie from a map (not just labels or names, but whole countries, as they didn't exist...

I am attaching a screenshot for reference, thanks.

In this screenshot, as you can see, north america is not visible.

post-14963-002135400 1302616222_thumb.jpg

Share this post


Link to post
Share on other sites

Hi,

 

You can hide a entity in map if you first hide the border using BorderAlpha='0' in <map> entity.

 

To hide the entity please use alpha='0' in the <entity> node of the respective entity.

 

e.g., <map BorderAlpha='0' >

<data>

<entity id='NA' alpha='0' />

<entity id='SA' />

<entity id='EU' />

<entity id='AS' />

<entity id='AF' />

<entity id='AU' />

</data>

</map>

Share this post


Link to post
Share on other sites

cool... it works, the only thing is that I had to set also the map to not show labels, tooltips and everything that can still render entities visible...

BUT!

This does not solve my problem entirely.

first because the entity is still there, so if I do something on rollover, I need to plan exceptions for every hidden entity and the space in the map is still visible...

What if I wanted something like the following screenshot?

post-14963-018932700 1304414670_thumb.png

Share this post


Link to post
Share on other sites

Hi,

 

You can set off the tooltips for certain entities.

 

To achieve this you can use hoverOnEmpty='0' in <map> and place null value for the value attribute of required <entity> element.

 

e.g.,

 

<map  hoverOnEmpty='0' BorderAlpha='0' showlabels='1' showBevel='0' showShadow='0' fillcolor='886688'>
<data>
	<entity id='NA'  alpha='0'  showLabel='0'/>
	<entity id='SA'  value=''  showLabel='1'/>
	<entity id='EU'  value='3' displayValue='My Europe' showLabel='1'/>
	<entity id='AS'  value='3' displayValue='Oriental land' tooltext='tooltext' showLabel='1'/>
	<entity id='AF'  showLabel='0'/>
	<entity id='AU'  showLabel='0' />
</data>
</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