mirror of
https://github.com/jketterl/openwebrx.git
synced 2025-12-06 07:12:09 +01:00
fix initial opacity
This commit is contained in:
parent
ef0cbdfeb9
commit
81b51360d8
|
|
@ -152,7 +152,7 @@ $(function(){
|
||||||
marker.setOptions($.extend({
|
marker.setOptions($.extend({
|
||||||
position: pos,
|
position: pos,
|
||||||
title: sourceToString(update.source)
|
title: sourceToString(update.source)
|
||||||
}, aprsOptions, getMarkerOpacityOptions(update.lastseen) ));
|
}, aprsOptions, getMarkerOpacityOptions(update.lastseen, update.location.ttl) ));
|
||||||
marker.source = update.source;
|
marker.source = update.source;
|
||||||
marker.lastseen = update.lastseen;
|
marker.lastseen = update.lastseen;
|
||||||
marker.mode = update.mode;
|
marker.mode = update.mode;
|
||||||
|
|
@ -212,7 +212,7 @@ $(function(){
|
||||||
west: lon,
|
west: lon,
|
||||||
east: lon + 2
|
east: lon + 2
|
||||||
}
|
}
|
||||||
}, getRectangleOpacityOptions(update.lastseen) ));
|
}, getRectangleOpacityOptions(update.lastseen, update.location.ttl) ));
|
||||||
|
|
||||||
if (expectedLocator && expectedLocator === update.location.locator) {
|
if (expectedLocator && expectedLocator === update.location.locator) {
|
||||||
map.panTo(center);
|
map.panTo(center);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue