Label or Marker for center of Path

  • webiedesign
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
3 days 8 hours ago #12806 by webiedesign
Label or Marker for center of Path was created 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.

More
3 days 3 hours ago #12807 by Dima
Replied by Dima on topic Label or Marker for center of Path
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.

Don't forget support my developments: post review in JED , donate ;)

Post your sites as examples into my directory User's Sites for apropriate extension

Please Log in or Create an account to join the conversation.

  • webiedesign
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
2 days 19 hours ago #12808 by webiedesign
Replied by webiedesign on topic Label or Marker for center of Path
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.

More
2 days 16 hours ago #12809 by Dima
Replied by Dima on topic Label or Marker for center of Path
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


Don't forget support my developments: post review in JED , donate ;)

Post your sites as examples into my directory User's Sites for apropriate extension
Attachments:

Please Log in or Create an account to join the conversation.

  • webiedesign
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
2 days 8 hours ago #12810 by webiedesign
Replied by webiedesign on topic Label or Marker for center of Path
That would be great !

Please Log in or Create an account to join the conversation.

More
1 day 21 hours ago - 1 day 21 hours ago #12811 by Dima
Replied by Dima on topic Label or Marker for center of Path
Hi.
I added ability

zhuk.cc/2019/12/06/zh-openstreetmap-new-feature-for-paths/

I didn't implement tooltip style because I think I can't do that way.

I'll think of implementing tooltip style a little bit later.

Don't forget support my developments: post review in JED , donate ;)

Post your sites as examples into my directory User's Sites for apropriate extension
Last edit: 1 day 21 hours ago by Dima.

Please Log in or Create an account to join the conversation.

Time to create page: 0.087 seconds

Donate


Go to top