-
Zh OpenStreetMap
-
Component
-
Label or Marker for center of Path
Label or Marker for center of Path
-
webiedesign
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 7
-
Thank you received: 0
-
-
4 years 3 months ago #12806
by webiedesign
Is it possible to have a label or marker display automatically in the center of a path ? Like this ?
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4606
-
Thank you received: 460
-
-
-
-
-
4 years 3 months ago #12807
by Dima
Hi.
If your image is KML file - today - No.
You can set type to Internal parser, and set to show name or description as popup or tooltip (on hover event).
I can add into my parser option - to use name or description as text in path center (I can get center). And you will have ability to change styles for divs with this text.
Please Log in or Create an account to join the conversation.
-
webiedesign
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 7
-
Thank you received: 0
-
-
4 years 3 months ago #12808
by webiedesign
No I am converting the KML file to paths in the Zh Open Street Map component. The image I sent was from a KML file, but I won't be using it.
Please Log in or Create an account to join the conversation.
Less
More
-
Posts: 4606
-
Thank you received: 460
-
-
-
-
-
4 years 3 months ago #12809
by Dima
It doesn't matter. I can get center for path (polygon).
And I can easy add ability to show some information.
For example, like marker as label
or like tooltip
Please Log in or Create an account to join the conversation.
-
webiedesign
-
Topic Author
-
Offline
-
New Member
-
Less
More
-
Posts: 7
-
Thank you received: 0
-
-
Less
More
-
Posts: 4606
-
Thank you received: 460
-
-
-
-
-
4 years 3 months ago - 4 years 3 months ago #12811
by Dima
Last edit: 4 years 3 months ago by Dima.
Please Log in or Create an account to join the conversation.
-
Zh OpenStreetMap
-
Component
-
Label or Marker for center of Path
Time to create page: 0.185 seconds