简体   繁体   English

在 leaflet map 上的圆上添加度数标记

[英]Adding degree markers to a circle on a leaflet map

Please try this.请试试这个。 1) Click https://net-control.us/map1Rose.php 2) Right click marker no. 1) 单击https://net-control.us/map1Rose.php 2) 右键单击标记号。 13 or any other... your choice. 13 或任何其他...您的选择。 3) Click the 'Click here to add mileage circles' 4) For our example, select 2 in the first dialog box and 6 in the second. 3) 单击“单击此处添加里程圈” 4) 对于我们的示例,第一个对话框中的 select 2 和第二个对话框中的 6。

This should have produced a series of 6 circles at 2 mile intervals, centered around the selected marker.这应该以 2 英里的间隔产生一系列 6 个圆圈,以所选标记为中心。

This and similar maps are often used by Amateur Radio operators to determine how far away another station is and approximately where each is in relation to the clicked marker.业余无线电操作员经常使用这张地图和类似的地图来确定另一个电台的距离以及每个电台相对于点击标记的大致位置。
What I'd like to do is add a tick mark on each circle, about 10 degrees apart from each other.我想做的是在每个圆圈上添加一个刻度线,彼此相距约 10 度。 This information can then be used to determine what map direction in degrees to point an antenna for best performance to the other stations.然后,此信息可用于确定 map 方向的度数,以将天线指向其他站以获得最佳性能。 Any one of the markers might be the station asking for the circles, so the center is always located at that marker.任何一个标记都可能是要求圆圈的车站,因此中心始终位于该标记处。

I have two questions;我有两个问题; 1) How do I do this in such a way that the tick mark is actually usable. 1)如何以使刻度线实际可用的方式执行此操作。 Meaning you can read what direction it represents, 110 degrees for example or a degree sign.这意味着您可以读取它代表的方向,例如 110 度或度数符号。 2) I've never liked the look of the mileage markers, any recommendation on something cleaner would be appreciated. 2)我从不喜欢里程标记的外观,任何关于更清洁的建议将不胜感激。

Generally speaking this is a fair representation of how a map would look, marker spacing for example.一般来说,这是 map 外观的公平表示,例如标记间距。 But each map request (this one is net 2109) would look different, be in a different city or state even.但是每个 map 请求(这个是净 2109)看起来会有所不同,在不同的城市或 state 中。 And everyone chooses their own distance between circles and the number of circles they want to see.每个人都可以选择自己的圈子之间的距离和他们想看到的圈子的数量。 Seems to me each circle would be required to have tick marks.在我看来,每个圆圈都需要有刻度线。 But maybe 10 degree marks on one circle and 30 degree on another might be best.但也许一个圆圈上的 10 度标记和另一个圆圈上的 30 度标记可能是最好的。 Or some other such scheme.或者其他一些这样的方案。

Regardless of how it ends up, I'm struggling to make this work, I can't get a simple / or |不管结果如何,我都在努力完成这项工作,我无法得到一个简单的 / 或 | or \ or other mark to show up on the circles, let alone the degree it represents from the center.或 \ 或其他标记显示在圆圈上,更不用说它代表的距离中心的度数。

We (Amateur Radio Emergency Services) use this kind of map to help provide communications in cooperation with our local Emergency Managers.我们(业余无线电应急服务)使用这种 map 与我们当地的应急管理人员合作提供通信。 I would really appreciate ideas or even better yet examples of how to improve what I've begun.我真的很感激关于如何改进我已经开始的东西的想法甚至更好的例子。

Other than a slight tilt to 0̷ degrees which may be explained by declination.除了轻微倾斜到 0̷ 度,这可以用偏角来解释。 I used the same technique to put the bearings on the circles as I did to put the mileage labels in place.我使用相同的技术将轴承放在圆圈上,就像我将里程标签放在适当的位置一样。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM