|
@@ -71,7 +71,7 @@ $( document ).ready(function() {
|
|
}
|
|
}
|
|
|
|
|
|
function drawSemiCircles(feature, layer) {
|
|
function drawSemiCircles(feature, layer) {
|
|
- if (feature.properties.place) {
|
|
|
|
|
|
+ if (feature.properties.place && feature.properties.place.angles) {
|
|
feature.properties.place.angles.map(function(angles) {
|
|
feature.properties.place.angles.map(function(angles) {
|
|
// Strangely enough, we need to invert the coordinates.
|
|
// Strangely enough, we need to invert the coordinates.
|
|
L.circle([feature.geometry.coordinates[1],
|
|
L.circle([feature.geometry.coordinates[1],
|