Browse Source

Add formatting

pull/1/head
Wahyu Ramadhan 1 year ago
parent
commit
20fce656dc
  1. 9
      edit-mode/function/activityLocation.js

9
edit-mode/function/activityLocation.js

@ -53,8 +53,7 @@ function updateCurrentGeoJson() {
features: shapes
};
}
function openActivityMap(id)
{
function openActivityMap(id) {
currentIdAct = id;
map.invalidateSize();
$.ajax({
@ -245,8 +244,7 @@ $(document).ready(function () {
});
}
function submitLocation()
{
function submitLocation() {
let payload
if (currentGeoJson && currentGeoJson != "") {
@ -290,8 +288,7 @@ $(document).ready(function () {
});
});
function submitCircle(radius)
{
function submitCircle(radius) {
let circle = L.circle([circLat, circLong], { radius: radius });
let geojsoncircle = circle.toGeoJSON();
geojsoncircle.properties.radius = radius

Loading…
Cancel
Save