This commit is contained in:
@@ -310,7 +310,7 @@ You should have received a copy of the GNU General Public License along with FG
|
||||
latlng.lat = e1.lat;
|
||||
latlng.lng = e1.lng;
|
||||
this.$store.dispatch('setCenter', latlng);
|
||||
if(e1.__vertex._icon.style!=null) {
|
||||
if(e1.__vertex !== undefined && e1.__vertex !== null && e1.__vertex._icon.style!=null) {
|
||||
e1.__vertex._icon.style['background-color'] = 'red';
|
||||
}
|
||||
return;
|
||||
|
||||
@@ -127,7 +127,9 @@
|
||||
'name': o.options.attributes.name,
|
||||
'radius': String(o.options.attributes.radius),
|
||||
'lat': o._latlng.lat,
|
||||
'lng': o._latlng.lng };
|
||||
'lng': o._latlng.lng,
|
||||
'box': o.box!==undefined?o.box.getLatLngs():null
|
||||
};
|
||||
} else if (o instanceof L.RunwayNode) {
|
||||
console.log(o)
|
||||
return { 'index': Number(o['glueindex']), '_leaflet_id': o._leaflet_id, 'type': 'runway' };
|
||||
|
||||
Reference in New Issue
Block a user