helgasoft commented on issue #10824: URL: https://github.com/apache/echarts/issues/10824#issuecomment-1903390467
Version 5.4.3 here. _label.position_ does not work, but [label.offset](https://echarts.apache.org/en/option.html#series-map.label.offset) does the same and it's even more precise. However both are applied to **all** labels. @chengwb53 shows a problem of overlapping label of an **embedded** region which is a possible scenario. In such case it's better to use [label.formatter](https://echarts.apache.org/en/option.html#series-map.label.formatter) with rich and padding - [Demo Code](https://echarts.apache.org/examples/en/editor.html?c=map-HK&code=LYTwwgFghgTgLgOgM4QPYHcAyqoBMCWAdgOYAUAlANwBQAJAsQKZykBKA8uwCoD6ACgEEuACQAEAalEByAPS4ocKDKhIkzGU1QzhAaQQArJKkJSANKIBmAV0IBjOPmOjSmgFJHC5UQG9qo0aCQsIgQ-LiM2HhEZFR-ooy20PBICDCMxPhIcIwwALJQAA6kUrpmom4esf6BSYhqcOwFDsakcf6kqE2OhKIAvD5t_qIOcAA2jABcA0Mzw4wAHnBTUqNQAEaMo6IFqEj4zT3ZWVKD_gC-pqeiajD4jEhTANpX_r6zs3AgBZPSwIVmLyGMBwwCmcBgVkYl3eMz-BWWpWhMP8qw2oymb2RQxQGDBEKhgJmMhkOz2B2WcE6UlExNEuGMcFEVjUhKGxNQFgs9QmjwAzAAGcwAFn5AF0aTJROhUDAANZISwy0RQUajVn-Cwyv5wbIwKakABuXl6AD5pliZrZjEZxghRqgyEaaBaZmk4FYYD0DQhCFBgIw-v0pABJJCrQi4JAnF2zAD80m8UAAPtTJN7ff6JNIztGY0Nlt41ims-m_QHJFIc86XRd1aJbokMXX_FAMaIrfa9dI0rgygU8AQSE9ebzzILROOxeZNYQ4AB1Rj4YgQJbSNaoUa90S1vOiNZtjsy5ZrUaQ6lnOsXi1XmE3maiwZnchxWJPyhAA)  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
