Sign in to follow this  
fgoncalves

How Can I Break A Line In Marker Label?

Recommended Posts

Hi...

 

How can i break a line a label in the marker in FusionMap rendering by javascript? When i used flash, i needed to put just '\r\n' , but it's doesn't work to javascript !

 

Tks

Edited by fgoncalves

Share this post


Link to post
Share on other sites

Hi...

 

How can i break a line a label in the marker in FusionMap rendering by javascript? When i used flash, i needed to put just '\r\n' , but it's doesn't work to javascript !

 

Tks

 

i found the solution in FusionMaps docs ! I need put the tag {br} ...

 

Thank you !

Share this post


Link to post
Share on other sites

Hi,

 

To separate a marker label into multiple lines, try using the {br} pseudo code, which is equivalent to <BR> HTML tag.

 

Ref. Code:

<marker id='HO' x='140.09' y='165.19' label='Head {br} Office' />

 

Hope this helps.

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