Sign in to follow this  
mictracy

Marker Label Info Often Overlaps Each Other

Recommended Posts

in fusionMap,

label info often overlaps each other, How do I solve this problem?

for example, i set 'labelPos=right', markers in fusionMap are generated dynamically, sometimes,two markers placed on a horizontal line and closed each other

.at this time,label info overlapping.

how to solve? thanks in advance.

Share this post


Link to post
Share on other sites

Hi,

 

Could you please send us the complete XML along with map SWF name and the height and width of the map so that we might be able to test it?

 

Awaiting your feedback.

Share this post


Link to post
Share on other sites

Attached is my test code, there is a variable in testFusionMap.html, it is "dataXml", it's value is generated dynamically.

open the file(testFusionMap.html) used by ie, you can see that there are two marker's label info overlapping.

 

thank you very much for your reply!

 

FusionMaps.js and FCMap_China2.swf are used in test file, the two files can not be uploaded, I don't know that you are convenient to find the two files?

testFusionMap.html

Share this post


Link to post
Share on other sites

Hey,

 

Since id='SH' and id='HangZ' are very close to each other. The label position are aligned to right. So, the values are overlapped.

 

Please try setting labelPos to 'top' for marker id 'SH' and labelPos to 'bottom' for marker id 'HangZ'

 

Hope this helps.:)

Capture.PNG

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