Commit 4092eb5a authored by Manggar Mahardhika's avatar Manggar Mahardhika

push

parent 87e39c3b
......@@ -5,5 +5,13 @@ from . import views
app_name = 'api'
urlpatterns = [
path('search_auto', views.search_auto, name='search')
path('search_auto', views.search_auto, name='search'),
path('tuplah', views.tuplah, name='tuplah'),
path('building', views.building, name='building'),
path('jalan', views.jalan, name='jalan'),
path('sungai', views.sungai, name='sungai'),
path('edit', views.editpoly, name='edit'),
path('validatedit', views.validatedit, name='validatedit'),
path('hapus', views.hapus, name='hapus'),
path('hasilsearch', views.hasilsearch, name='ressearch')
]
\ No newline at end of file
......@@ -16,4 +16,145 @@ def search_auto(request):
all = desa.fetchall()
data = {'nama_des':all}
return Response(data)
\ No newline at end of file
return Response(data)
@api_view(('GET',))
@renderer_classes((TemplateHTMLRenderer, JSONRenderer))
def tuplah(request):
with conn.cursor() as desa:
desa.execute(f"SELECT json_build_object('type', 'Feature', 'legend', a.legenda,'geometry', ST_AsGeoJSON( st_intersection(a.geom, b.geom):: geometry) :: json) from geo_tuplah a, geo_prov_kab b")
all = desa.fetchall()
data = {'tuplah':all}
return Response(data)
@api_view(('GET',))
@renderer_classes((TemplateHTMLRenderer, JSONRenderer))
def building(request):
if request.method == 'GET':
wetan = request.GET.get("wetan")
kulon = request.GET.get("kulon")
lor = request.GET.get("lor")
kidul = request.GET.get("kidul")
# lat = request.GET.get("lat")
# lng = request.GET.get("lng")
# kulon lor, wetan lor, wetan kidul, kulon kidul, kulon lor
with conn.cursor() as buldings:
buldings.execute("SELECT json_build_object('type', 'Feature', 'properties', (id, name, information, 'gen'), 'administrasi',(address_1, address_2, address_3, provinsi, 'no'), 'geometry', ST_AsGeoJSON(geom :: geometry) :: json) FROM geo_bangunan WHERE st_intersects(geom,'SRID=0;POLYGON((%s %s, %s %s, %s %s, %s %s, %s %s))')"% (kulon, lor, wetan, lor, wetan, kidul, kulon, kidul, kulon, lor))
prov_res = buldings.fetchall()
polbang = []
for i in prov_res:
i[0]['properties']['f2'] = i[0]['properties']['f2'].replace("'"," ")
polbang.append(i[0])
data = {'gen':prov_res}
return Response(data)
@api_view(('GET',))
@renderer_classes((TemplateHTMLRenderer, JSONRenderer))
def jalan(request):
if request.method == 'GET':
wetan = request.GET.get("wetan")
kulon = request.GET.get("kulon")
lor = request.GET.get("lor")
kidul = request.GET.get("kidul")
# lat = request.GET.get("lat")
# lng = request.GET.get("lng")
# kulon lor, wetan lor, wetan kidul, kulon kidul, kulon lor
with conn.cursor() as jalan:
jalan.execute("SELECT json_build_object ('type', 'Feature', 'properties', ( id, namrjl ), 'geometry', ST_AsGeoJSON ( st_intersection(geom, 'SRID=4326;POLYGON((%s %s, %s %s, %s %s, %s %s, %s %s))') :: geometry ) :: json ) FROM geo_jalan WHERE st_intersects(geom,'SRID=4326;POLYGON((%s %s, %s %s, %s %s, %s %s, %s %s))')"% (kulon, lor, wetan, lor, wetan, kidul, kulon, kidul, kulon, lor, kulon, lor, wetan, lor, wetan, kidul, kulon, kidul, kulon, lor))
prov_res = jalan.fetchall()
data = {'gen':prov_res}
return Response(data)
@api_view(('GET',))
@renderer_classes((TemplateHTMLRenderer, JSONRenderer))
def sungai(request):
if request.method == 'GET':
wetan = request.GET.get("wetan")
kulon = request.GET.get("kulon")
lor = request.GET.get("lor")
kidul = request.GET.get("kidul")
# lat = request.GET.get("lat")
# lng = request.GET.get("lng")
# kulon lor, wetan lor, wetan kidul, kulon kidul, kulon lor
with conn.cursor() as sungai:
sungai.execute("SELECT json_build_object ('type', 'Feature', 'properties', ( a.id, a.namobj ), 'geometry', ST_AsGeoJSON ( st_intersection(a.geom, b.geom) :: geometry ) :: json ) FROM geo_sungai a, geo_prov_kab b")
prov_res = sungai.fetchall()
data = {'gen':prov_res}
return Response(data)
@api_view(('GET',))
@renderer_classes((TemplateHTMLRenderer, JSONRenderer))
def editpoly(request):
if request.method == 'GET':
id_poly = request.GET.get("id_poly")
with conn.cursor() as buldings:
buldings.execute("SELECT json_build_object('type', 'Feature', 'properties', (id, name, information, 'osm'), 'administrasi',(address_1, address_2, address_3, provinsi, 'no'), 'geometry', ST_AsGeoJSON(geom :: geometry) :: json) FROM geo_bangunan WHERE id = %s"% int(id_poly))
build = buldings.fetchall()
return Response(build[0][0])
import json
@api_view(('POST',))
@renderer_classes((TemplateHTMLRenderer, JSONRenderer))
def validatedit(request):
if request.method == 'POST':
name_b = request.POST.get("name_b")
info_b = request.POST.get("info_b")
desa_b = request.POST.get("desa_b")
kec_b = request.POST.get("kec_b")
kab_b = request.POST.get("kab_b")
pro_b = request.POST.get("pro_b")
id_poly = request.POST.get("id_poly")
polygon = request.POST.get("polygon")
cood_edit = json.loads(polygon)
co_edit = cood_edit['geometry']['coordinates']
print(id_poly, name_b, info_b, polygon)
with conn.cursor() as buldings:
buldings.execute("""UPDATE geo_bangunan set geom = st_geomfromgeojson('{"type":"MultiPolygon", "coordinates":[%s]}'),name='%s',information='%s',address_1='%s', address_2 = '%s', address_3 = '%s', provinsi='%s' WHERE id = %s"""% (co_edit,name_b, info_b, desa_b, kec_b, kab_b, pro_b, int(id_poly)))
conn.commit()
data = {'status':'Success'}
return Response(data)
@api_view(('POST',))
@renderer_classes((TemplateHTMLRenderer, JSONRenderer))
def hapus(request):
if request.method == 'POST':
id_poly = request.POST.get("id_poly")
with conn.cursor() as buldings:
buldings.execute("""DELETE from geo_bangunan where id = %s"""% int(id_poly))
conn.commit()
data = {'status':'Success'}
return Response(data)
@api_view(('GET',))
@renderer_classes((TemplateHTMLRenderer, JSONRenderer))
def hasilsearch(request):
if request.method == 'GET':
id_desa = request.GET.get("id_desa_search")
with conn.cursor() as kel:
kel.execute("SELECT json_build_object('type', 'Feature', 'administrasi', (kode_desa, desa, kecamatan, kab_kota, provinsi, jumlah_pen, jumlah_kk, luas_desa),'penduduk', (pria, wanita, belum_kawin, kawin, cerai_hidup, cerai_mati, wajib_ktp, islam, kristen, khatolik, hindu, budha, konghucu, kepercayaan_lain, u0, u5, u10, u15, u20, u25, u30, u35, u40, u45, u50, u55, u60, u65, u70, u75),'pekerjaan_pendidikan', (tidak_sekolah, belum_tamat, tamat_sd, sltp, slta, diploma_i, diploma_ii, diploma_iv, strata_ii, strata_iii, tidak_bekerja, aparatur_pemerintah, tenaga_pendidik, wiraswasta, pertanian, tenaga_kesehatan, pensiunan, pegawai, tentara, kepolisian, pedagang, petani, peternak, nelayan, karyawan, buruh, pembantu, tukang, pendeta, pastor, ustadz, dosen, guru, pilot, pengacara, notaris, arsitek, akuntan, konsultan, dokter, bidan, perawat, psikiater, sopir, lainnya),'geometry', ST_AsGeoJSON(geom :: geometry) :: json) from geo_data_kelurahan where id = %s"% int(id_desa))
kel_res_ = kel.fetchall()
kel_res = []
for i in kel_res_:
kel_res.append(i[0])
data = {'result':kel_res}
return Response(data)
\ No newline at end of file
......@@ -19,9 +19,13 @@ class Dashboard(generic.TemplateView):
kel_res_ = kel.fetchall()
with conn.cursor() as kec:
kec.execute("SELECT kecamatan, json_build_object('type', 'Feature','geometry', ST_AsGeoJSON(geom :: geometry) :: json) from geo_data_kecamatan")
kec.execute("SELECT kecamatan, json_build_object('type', 'Feature', 'administrasi', (id, kecamatan),'geometry', ST_AsGeoJSON(geom :: geometry) :: json) from geo_data_kecamatan")
kec_res_ = kec.fetchall()
with conn.cursor() as knt:
knt.execute("SELECT json_build_object('type', 'Feature', 'administrasi', (a.namobj, a.remark),'geometry', ST_AsGeoJSON(a.geom :: geometry) :: json) from geo_kantor_administrasi a join geo_prov_kab b on st_intersects(a.geom,b.geom)")
knt_res = knt.fetchall()
kec_res = []
for i in kec_res_:
kec_res.append(i[1])
......@@ -30,12 +34,120 @@ class Dashboard(generic.TemplateView):
for i in kel_res_:
kel_res.append(i[0])
kntl = []
for i in knt_res:
kntl.append(i[0])
with conn.cursor() as kantor_administrasi:
kantor_administrasi.execute("SELECT json_build_object('type', 'Feature', 'administrasi', (a.namobj, a.remark),'geometry', ST_AsGeoJSON(a.geom :: geometry) :: json) from geo_kantor_administrasi a join geo_prov_kab b on st_intersects(a.geom,b.geom)")
kantor_administrasi_res = kantor_administrasi.fetchall()
kantor_administrasi_result = []
for i in kantor_administrasi_res:
kantor_administrasi_result.append(i[0])
with conn.cursor() as layanan_kesehatan:
layanan_kesehatan.execute("SELECT json_build_object('type', 'Feature', 'administrasi', (a.namobj, a.remark), 'geometry', ST_AsGeoJSON(a.geom :: geometry) :: json) from geo_layanan_kesehatan a join geo_prov_kab b on st_intersects(a.geom,b.geom)")
layanan_kesehatan_res = layanan_kesehatan.fetchall()
layanan_kesehatan_result = []
for i in layanan_kesehatan_res:
layanan_kesehatan_result.append(i[0])
with conn.cursor() as puskesmas:
puskesmas.execute("SELECT json_build_object('type', 'Feature', 'administrasi', (a.namobj, a.remark), 'geometry', ST_AsGeoJSON(a.geom :: geometry) :: json) from geo_puskesmas a join geo_prov_kab b on st_intersects(a.geom,b.geom)")
puskesmas_res = puskesmas.fetchall()
puskesmas_result = []
for i in puskesmas_res:
puskesmas_result.append(i[0])
with conn.cursor() as rumah_sakit:
rumah_sakit.execute("SELECT json_build_object('type', 'Feature', 'administrasi', (a.namobj, a.remark), 'geometry', ST_AsGeoJSON(a.geom :: geometry) :: json) from geo_rumah_sakit a join geo_prov_kab b on st_intersects(a.geom,b.geom)")
rumah_sakit_res = rumah_sakit.fetchall()
rumah_sakit_result = []
for i in rumah_sakit_res:
rumah_sakit_result.append(i[0])
with conn.cursor() as sarana_ibadah:
sarana_ibadah.execute("SELECT json_build_object('type', 'Feature', 'administrasi', (a.namobj, a.remark), 'geometry', ST_AsGeoJSON(a.geom :: geometry) :: json) from geo_sarana_ibadah a join geo_prov_kab b on st_intersects(a.geom,b.geom)")
sarana_ibadah_res = sarana_ibadah.fetchall()
sarana_ibadah_result = []
for i in sarana_ibadah_res:
if i[0]["administrasi"]['f1'] == None:
i[0]["administrasi"]['f1'] = "None"
sarana_ibadah_result.append(i[0])
with conn.cursor() as sarana_pendidikan:
sarana_pendidikan.execute("SELECT json_build_object('type', 'Feature', 'administrasi', (a.namobj, a.remark), 'geometry', ST_AsGeoJSON(a.geom :: geometry) :: json) from geo_sarana_pendidikan a join geo_prov_kab b on st_intersects(a.geom,b.geom)")
sarana_pendidikan_res = sarana_pendidikan.fetchall()
sarana_pendidikan_result = []
for i in sarana_pendidikan_res:
if i[0]["administrasi"]['f1'] == None:
i[0]["administrasi"]['f1'] = "None"
sarana_pendidikan_result.append(i[0])
with conn.cursor() as spbu:
spbu.execute("SELECT json_build_object('type', 'Feature', 'administrasi', (a.namobj, a.remark), 'geometry', ST_AsGeoJSON(a.geom :: geometry) :: json) from geo_spbu a join geo_prov_kab b on st_intersects(a.geom,b.geom)")
spbu_res = spbu.fetchall()
spbu_result = []
for i in spbu_res:
spbu_result.append(i[0])
with conn.cursor() as stasiun:
stasiun.execute("SELECT json_build_object('type', 'Feature', 'administrasi', (a.namobj, a.remark), 'geometry', ST_AsGeoJSON(a.geom :: geometry) :: json) from geo_stasiun a join geo_prov_kab b on st_intersects(a.geom,b.geom)")
stasiun_res = stasiun.fetchall()
stasiun_result = []
for i in stasiun_res:
stasiun_result.append(i[0])
with conn.cursor() as terminal:
terminal.execute("SELECT json_build_object('type', 'Feature', 'administrasi', (a.namobj, a.remark), 'geometry', ST_AsGeoJSON(a.geom :: geometry) :: json) from geo_terminal_bus a join geo_prov_kab b on st_intersects(a.geom,b.geom)")
terminal_res = terminal.fetchall()
terminal_result = []
for i in terminal_res:
terminal_result.append(i[0])
with conn.cursor() as cagar_budaya:
cagar_budaya.execute("SELECT json_build_object('type', 'Feature', 'administrasi', (a.namobj, a.remark), 'geometry', ST_AsGeoJSON(a.geom :: geometry) :: json) from geo_cagar_budaya a join geo_prov_kab b on st_intersects(a.geom,b.geom)")
cagar_budaya_res = cagar_budaya.fetchall()
cagar_budaya_result = []
for i in cagar_budaya_res:
cagar_budaya_result.append(i[0])
with conn.cursor() as gardu_listrik:
gardu_listrik.execute("SELECT json_build_object('type', 'Feature', 'administrasi', (a.namobj, a.remark), 'geometry', ST_AsGeoJSON(a.geom :: geometry) :: json) from geo_gardu_listrik a join geo_prov_kab b on st_intersects(a.geom,b.geom)")
gardu_listrik_res = gardu_listrik.fetchall()
gardu_listrik_result = []
for i in gardu_listrik_res:
gardu_listrik_result.append(i[0])
print(all)
context = {
'title':'NA - Dashboard',
'kelurahan':kel_res,
'kecamatan':kec_res,
'global':all[0]
'kantor_administrasi':kantor_administrasi_result,
'layanan_kesehatan':layanan_kesehatan_result,
'puskesmas':puskesmas_result,
'rumah_sakit':rumah_sakit_result,
'sarana_ibadah':sarana_ibadah_result,
'sarana_pendidikan':sarana_pendidikan_result,
'spbu':spbu_result,
'stasiun':stasiun_result,
'terminal':terminal_result,
'cagar_budaya':cagar_budaya_result,
'gardu_listrik':gardu_listrik_result,
'global':all[0],
'kntl':kntl
}
return render (request, self.template_name, context)
......
<svg height='300px' width='300px' fill="#4D4D4D" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" x="0px" y="0px"><g><rect x="336" y="352" width="16" height="16"></rect><rect x="336" y="320" width="16" height="16"></rect><rect x="368" y="352" width="16" height="16"></rect><rect x="368" y="320" width="16" height="16"></rect><rect x="400" y="352" width="16" height="16"></rect><rect x="400" y="320" width="16" height="16"></rect><rect x="432" y="352" width="16" height="16"></rect><rect x="432" y="320" width="16" height="16"></rect><rect x="160" y="352" width="16" height="16"></rect><rect x="160" y="320" width="16" height="16"></rect><rect x="128" y="352" width="16" height="16"></rect><rect x="128" y="320" width="16" height="16"></rect><rect x="96" y="352" width="16" height="16"></rect><rect x="96" y="320" width="16" height="16"></rect><rect x="64" y="352" width="16" height="16"></rect><rect x="64" y="320" width="16" height="16"></rect><path d="M488,256H368V224a8,8,0,0,0-8-8H336V192a8,8,0,0,0-8-8h-8.8A65.3,65.3,0,0,0,264,136.493V112h24a8,8,0,0,0,8,8h32a8,8,0,0,0,8-8V80a8,8,0,0,0-8-8H304V64a8,8,0,0,0-8-8H256a8,8,0,0,0-8,8v72.493A65.3,65.3,0,0,0,192.8,184H184a8,8,0,0,0-8,8v24H152a8,8,0,0,0-8,8v32H24a8,8,0,0,0-8,8v32a8,8,0,0,0,8,8h8V440a8,8,0,0,0,8,8H472a8,8,0,0,0,8-8V304h8a8,8,0,0,0,8-8V264A8,8,0,0,0,488,256ZM304,88h16v16H304ZM264,72h24V96H264Zm88,160v17.684L323.264,232Zm-32-32v16H297.264l-26-16Zm-17.591-16H287.5a65.224,65.224,0,0,0-9.49-26.9A49.331,49.331,0,0,1,302.409,184Zm-47.781-27.314L256,155.314l1.372,1.372A49.562,49.562,0,0,1,271.355,184h-30.71A49.562,49.562,0,0,1,254.628,156.686Zm-20.641.414A65.224,65.224,0,0,0,224.5,184H209.591A49.331,49.331,0,0,1,233.987,157.1ZM192,200h48.736l-26,16H192Zm-32,32h28.736L160,249.684ZM32,288V272H184v16ZM96,432H80V408a8,8,0,0,1,16,0Zm64,0H144V408a8,8,0,0,1,16,0Zm32,0H176V408a24,24,0,0,0-48,0v24H112V408a24,24,0,0,0-48,0v24H48V304H192Zm32,0H208V304h16Zm48,0H240V388.281l16-10.666,16,10.666Zm0-62.948-11.562-7.708a8,8,0,0,0-8.876,0L240,369.052V304h32ZM304,432H288V304h16Zm8-144H200V272H312Zm-81.876-32L256,241.214,281.876,256Zm29.845-30.946a8,8,0,0,0-7.938,0L197.876,256H180.265L256,209.394,331.735,256H314.124ZM368,432H352V408a8,8,0,0,1,16,0Zm64,0H416V408a8,8,0,0,1,16,0Zm32,0H448V408a24,24,0,0,0-48,0v24H384V408a24,24,0,0,0-48,0v24H320V304H464Zm16-144H328V272H480Z"></path></g></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#3BB300" xmlns="http://www.w3.org/2000/svg" data-name="Layer 1" viewBox="0 0 100 100" x="0px" y="0px"><title>2Artboard 88</title><path d="M89,44h3a6,6,0,0,0,0-12H89V14A12,12,0,0,0,77,2H23A12,12,0,0,0,11,14V32H8A6,6,0,0,0,8,44h3V74a12,12,0,0,0,6,10.34V92a6,6,0,0,0,6,6h6a6,6,0,0,0,6-6V86H62v6a6,6,0,0,0,6,6h6a6,6,0,0,0,6-6V85.58A12,12,0,0,0,89,74ZM29,71a6,6,0,1,1,6-6A6,6,0,0,1,29,71Zm42,0a6,6,0,1,1,6-6A6,6,0,0,1,71,71Zm6-30H23V14H77Z"></path></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#4D4D4D" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" x="0px" y="0px"><title>Anti-Terrorism</title><g data-name="Anti-Terrorism 10"><path d="M56,25H44V20a1,1,0,0,0-1-1H34.7L33,17.54V13h2v1a1,1,0,0,0,1,1h4a1,1,0,0,0,1-1V10a1,1,0,0,0-1-1H37V8a1,1,0,0,0-1-1H32a1,1,0,0,0-1,1v9.54L29.3,19H21a1,1,0,0,0-1,1v5H8a1,1,0,0,0-1,1V56a1,1,0,0,0,1,1H56a1,1,0,0,0,1-1V26A1,1,0,0,0,56,25ZM33,51H31V46a1,1,0,0,1,2,0Zm-1-8a3,3,0,0,0-3,3v5H28V31h8V51H35V46A3,3,0,0,0,32,43Zm-8,8V31h2V51ZM9,51V31H22V51ZM32,19.32,43.3,29H20.7ZM38,31h2V51H38Zm4,0H55V51H42Zm13-2H46.37L44,27H55ZM42,21v4h-.3L37,21ZM39,11v2H37V11Zm-4-1v1H33V9h2ZM22,21h5L22.3,25H22ZM9,27H20l-2.33,2H9ZM55,55H9V53H55Z"></path><path d="M26,28H38a1,1,0,0,0,.94-.66,1,1,0,0,0-.3-1.11l-6-5a1,1,0,0,0-1.28,0l-6,5a1,1,0,0,0-.3,1.11A1,1,0,0,0,26,28Zm6-4.7L35.24,26H28.76Z"></path><path d="M14,34H11a1,1,0,0,0-1,1v4a1,1,0,0,0,1,1h3a1,1,0,0,0,1-1V35A1,1,0,0,0,14,34Zm-1,4H12V36h1Z"></path><path d="M14,42H11a1,1,0,0,0-1,1v4a1,1,0,0,0,1,1h3a1,1,0,0,0,1-1V43A1,1,0,0,0,14,42Zm-1,4H12V44h1Z"></path><path d="M20,34H17a1,1,0,0,0-1,1v4a1,1,0,0,0,1,1h3a1,1,0,0,0,1-1V35A1,1,0,0,0,20,34Zm-1,4H18V36h1Z"></path><path d="M35,35a1,1,0,0,0-1-1H30a1,1,0,0,0-1,1v4a1,1,0,0,0,1,1h4a1,1,0,0,0,1-1Zm-2,3H31V36h2Z"></path><path d="M20,42H17a1,1,0,0,0-1,1v4a1,1,0,0,0,1,1h3a1,1,0,0,0,1-1V43A1,1,0,0,0,20,42Zm-1,4H18V44h1Z"></path><path d="M47,34H44a1,1,0,0,0-1,1v4a1,1,0,0,0,1,1h3a1,1,0,0,0,1-1V35A1,1,0,0,0,47,34Zm-1,4H45V36h1Z"></path><path d="M47,42H44a1,1,0,0,0-1,1v4a1,1,0,0,0,1,1h3a1,1,0,0,0,1-1V43A1,1,0,0,0,47,42Zm-1,4H45V44h1Z"></path><path d="M53,34H50a1,1,0,0,0-1,1v4a1,1,0,0,0,1,1h3a1,1,0,0,0,1-1V35A1,1,0,0,0,53,34Zm-1,4H51V36h1Z"></path><path d="M53,42H50a1,1,0,0,0-1,1v4a1,1,0,0,0,1,1h3a1,1,0,0,0,1-1V43A1,1,0,0,0,53,42Zm-1,4H51V44h1Z"></path></g></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#FFFFFF" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 125 87" version="1.1" x="0px" y="0px"><title>religion meditation spirituality caring warmth Kindness affection Offer love Copy 2</title><desc>Created with Sketch.</desc><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-775.000000, -3015.000000)" fill="#FFFFFF" fill-rule="nonzero"><path d="M899.163518,3096.13474 C899.163518,3096.24089 899.160137,3096.34702 899.153381,3096.45297 C898.977627,3099.20879 896.601113,3101.30035 893.845288,3101.1246 L858.302214,3098.85783 C853.427493,3098.54694 849.215609,3095.34065 847.618171,3090.72462 L845.234936,3083.83791 C845.06576,3083.34905 844.90038,3082.85889 844.738811,3082.36747 L837.987824,3061.83383 C837.015749,3058.87719 838.269218,3055.64577 840.980789,3054.11801 C841.22263,3053.98175 841.476733,3053.86851 841.739751,3053.77977 C844.059945,3052.99694 846.575445,3054.24322 847.358275,3056.56341 L852.694337,3072.37871 L851.75473,3066.08008 C850.499605,3057.66639 848.176025,3049.44724 844.840281,3041.62175 L839.378134,3028.80782 C837.82312,3025.15983 837.882659,3021.02449 839.542051,3017.42279 C839.812982,3016.83473 840.2441,3016.3349 840.786003,3015.98057 C842.378916,3014.93901 844.514578,3015.38597 845.556138,3016.97888 L856.094693,3033.09606 C861.065929,3040.69884 864.978076,3048.94352 867.723185,3057.60261 L870.304437,3065.74484 C872.601959,3072.99207 879.055558,3078.12913 886.633456,3078.74271 L894.56705,3079.3851 C897.163503,3079.59533 899.163518,3081.76384 899.163518,3084.36879 L899.163518,3096.13474 Z M774.998128,3096.13474 L774.998128,3084.36879 C774.998128,3081.76384 776.998143,3079.59533 779.594597,3079.3851 L787.528191,3078.74271 C795.106088,3078.12913 801.559687,3072.99207 803.85721,3065.74484 L806.438461,3057.60261 C809.183571,3048.94352 813.095717,3040.69884 818.066954,3033.09606 L828.605509,3016.97888 C829.647068,3015.38597 831.78273,3014.93901 833.375643,3015.98057 C833.917547,3016.3349 834.348664,3016.83473 834.619595,3017.42279 C836.278988,3021.02449 836.338527,3025.15983 834.783513,3028.80782 L829.321366,3041.62175 C825.985621,3049.44724 823.662041,3057.66639 822.406917,3066.08008 L821.46731,3072.37871 L826.803371,3056.56341 C827.586202,3054.24322 830.101701,3052.99694 832.421896,3053.77977 C832.684914,3053.86851 832.939016,3053.98175 833.180857,3054.11801 C835.892428,3055.64577 837.145897,3058.87719 836.173822,3061.83383 L829.422836,3082.36747 C829.261266,3082.85889 829.095887,3083.34905 828.926711,3083.83791 L826.543476,3090.72462 C824.946038,3095.34065 820.734154,3098.54694 815.859432,3098.85783 L780.316358,3101.1246 C777.560533,3101.30035 775.184019,3099.20879 775.008266,3096.45297 C775.001509,3096.34702 774.998128,3096.24089 774.998128,3096.13474 Z"></path></g></g></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#FFFFFF" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" stroke-width="0.501" stroke-linejoin="bevel" fill-rule="evenodd" version="1.1" overflow="visible" viewBox="0 0 96 96" x="0px" y="0px"><g fill="none" stroke="black" font-family="Times New Roman" font-size="16" transform="scale(1 -1)"><g transform="translate(0 -96)"><g><path d="M 18,19.123 L 18,22.127 L 78,22.127 L 78,19.123 L 18,19.123 Z M 23.25,24.373 L 23.25,27.377 L 72.75,27.377 L 72.75,24.373 L 23.25,24.373 Z M 27.75,29.622 L 27.75,51.377 L 36,51.377 L 36,29.622 L 27.75,29.622 Z M 44.25,29.622 L 44.25,51.377 L 52.5,51.377 L 52.5,29.622 L 44.25,29.622 Z M 60,29.622 L 60,51.377 L 68.25,51.377 L 68.25,29.622 L 60,29.622 Z M 23.25,53.623 L 23.25,56.627 L 72.75,56.627 L 72.75,53.623 L 23.25,53.623 Z M 18,58.873 L 18,61.877 L 48,76.877 L 78,61.877 L 78,58.873 L 18,58.873 Z" stroke-linecap="round" stroke="none" fill="#FFFFFF" stroke-width="0.533" stroke-linejoin="round" marker-start="none" marker-end="none" stroke-miterlimit="79.8403193612775"></path></g></g></g></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#FFFFFF" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 66 66" enable-background="new 0 0 66 66" xml:space="preserve"><g><g><path d="M3.7,58v3.1h58.5V58c0-0.5-0.4-1-1-1H4.7C4.2,57,3.7,57.5,3.7,58z"></path></g><g><path d="M4.7,25.3h56.5c0.4,0,0.8-0.3,1-0.7c0.1-0.4-0.1-0.9-0.4-1.1L33.5,5.1c-0.3-0.2-0.8-0.2-1.1,0L4.2,23.5 c-0.4,0.2-0.5,0.7-0.4,1.1C3.9,25,4.3,25.3,4.7,25.3z"></path></g><g><path d="M48.4,52c-0.5,0-1,0.5-1,1v2h11.9v-2c0-0.5-0.4-1-1-1H57V30.3h1.3c0.6,0,1-0.4,1-1v-2H47.4v2c0,0.6,0.5,1,1,1h1.3V52H48.4 z"></path></g><g><path d="M7.7,52c-0.5,0-1,0.5-1,1v2h11.9v-2c0-0.5-0.4-1-1-1h-1.3V30.3h1.3c0.6,0,1-0.4,1-1v-2H6.7v2c0,0.6,0.5,1,1,1H9V52H7.7z"></path></g><g><path d="M40.5,32.8C41.8,33.3,41.2,33.1,40.5,32.8L40.5,32.8z"></path></g><g><path d="M33.3,30.2c-0.2-0.1-0.5-0.1-0.7,0c-6.8,2.5-12.1,4.3-12.2,4.4c-1,0.4-0.8,1.5-0.1,1.8c0.6,0.3,12.1,5.8,12.2,5.9 c0.1,0.1,0.3,0.1,0.4,0.1c0.2,0,0.3,0,0.4-0.1c12.4-6,12.2-5.9,12.4-6c0.6-0.5,0.3-1.4-0.3-1.7c-7.8-2.8-6.3-2.3-5.1-1.8 C39.4,32.4,37.3,31.7,33.3,30.2z"></path></g><g><path d="M20.4,36.5L20.4,36.5C20.4,36.5,20.3,36.5,20.4,36.5z"></path></g><g><path d="M31.8,44.2c-0.1-0.1-4.4-2.1-8.1-3.9l-0.1,5c0,0.5,0.4,1,0.9,1c2.6,0.3,5.2,1.5,7.7,3.8c0.2,0.2,0.4,0.3,0.7,0.3 c0.2,0,0.5-0.1,0.7-0.2c2.5-2.1,5.2-3.4,7.9-3.8c0.5-0.1,0.8-0.5,0.8-1l0-5c-2.7,1.3-8,3.9-8,3.9C33.4,44.5,32.7,44.6,31.8,44.2z"></path></g></g></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#FFFFFF" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 50 50" enable-background="new 0 0 50 50" xml:space="preserve"><g><rect x="17.244" y="2.64" fill="#FFFFFF" width="15.457" height="45.86"></rect><rect x="2.042" y="17.84" fill="#FFFFFF" width="45.863" height="15.458"></rect></g></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#4D4D4D" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns" viewBox="0 0 22 22" version="1.1" x="0px" y="0px"><title>building_tower_office_company_goverment</title><desc>Created with Sketch.</desc><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage"><g sketch:type="MSArtboardGroup" transform="translate(-110.000000, -22.000000)" fill="#4D4D4D"><g sketch:type="MSLayerGroup" transform="translate(110.000000, 23.000000)"><path d="M0,11 L0,21 L22,21 L22,11 L0,11 Z M10,15 C10,15 10,14 11,14 C12,14 12,15 12,15 L12,20 L10,20 L10,15 Z M5,17 L6,17 L6,20 L5,20 L5,17 Z M7,17 L8,17 L8,20 L7,20 L7,17 Z M3,17 L4,17 L4,20 L3,20 L3,17 Z M1,17 L2,17 L2,20 L1,20 L1,17 Z M18,17 L19,17 L19,20 L18,20 L18,17 Z M20,17 L21,17 L21,20 L20,20 L20,17 Z M16,17 L17,17 L17,20 L16,20 L16,17 Z M14,17 L15,17 L15,20 L14,20 L14,17 Z M18,14 L19,14 L19,16 L18,16 L18,14 Z M20,14 L21,14 L21,16 L20,16 L20,14 Z M16,14 L17,14 L17,16 L16,16 L16,14 Z M14,14 L15,14 L15,16 L14,16 L14,14 Z M5,14 L6,14 L6,16 L5,16 L5,14 Z M7,14 L8,14 L8,16 L7,16 L7,14 Z M3,14 L4,14 L4,16 L3,16 L3,14 Z M1,14 L2,14 L2,16 L1,16 L1,14 Z M18,12 L19,12 L19,13 L18,13 L18,12 Z M20,12 L21,12 L21,13 L20,13 L20,12 Z M16,12 L17,12 L17,13 L16,13 L16,12 Z M14,12 L15,12 L15,13 L14,13 L14,12 Z M5,12 L6,12 L6,13 L5,13 L5,12 Z M7,12 L8,12 L8,13 L7,13 L7,12 Z M3,12 L4,12 L4,13 L3,13 L3,12 Z M1,12 L2,12 L2,13 L1,13 L1,12 Z" sketch:type="MSShapeGroup"></path><path d="M13,9.8 L13,8 C13,7.14303 12.2656024,5.55166241 11.4261639,5.11396734 L11,0 L10.5745035,5.10595774 C9.70731999,5.53189629 9,7.13771546 9,8 L9,9.8 L6,11 L6,12 L16,12 L16,11 L13,9.8 Z M10,9 L12,9 L12,8 C12,7.3137564 11.2117462,6 11,6 C10.758882,6 10,7.28567673 10,8.00000001 L10,9 Z" sketch:type="MSShapeGroup"></path></g></g></g></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#4D4D4D" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.1" x="0px" y="0px" viewBox="0 0 100 100"><g transform="translate(0,-952.36218)"><path style="text-indent:0;text-transform:none;direction:ltr;block-progression:tb;baseline-shift:baseline;color:#000000;enable-background:accumulate;" d="m 45.0375,961.36217 9.9249,0 0,21.81672 c 0,0.26185 0.1078,0.52209 0.2929,0.70724 0.1852,0.18515 0.4454,0.29294 0.7072,0.29293 l 22.8502,0 0,9.92576 -22.8502,0 c -0.2618,0 -0.522,0.10778 -0.7072,0.29293 -0.1851,0.18515 -0.2929,0.44539 -0.2929,0.70724 l 0,48.25721 -9.9249,0 0,-48.25721 c 0,-0.26185 -0.1078,-0.52209 -0.2929,-0.70724 -0.1851,-0.18515 -0.4453,-0.29294 -0.7072,-0.29293 l -22.8501,0 0,-9.92576 22.8501,0 c 0.2619,0 0.5221,-0.10778 0.7072,-0.29293 0.1851,-0.18515 0.2929,-0.44539 0.2929,-0.70724 z" fill="#4D4D4D" fill-opacity="1" fill-rule="evenodd" stroke="none" marker="none" visibility="visible" display="inline" overflow="visible"></path></g></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#4D4D4D" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" x="0px" y="0px"><title>62. Goverment</title><g data-name="Layer 75"><polygon points="15 85.5 10.5 85.5 10.5 89.5 89.5 89.5 89.5 85.5 85 85.5 15 85.5"></polygon><path d="M51.87,16H59l-1.85-2.63a.51.51,0,0,1,0-.6L59,10.5H51.65a1.93,1.93,0,0,1,.22.87Z"></path><polygon points="84.5 80.5 80 80.5 20 80.5 15.5 80.5 15.5 84.5 84.5 84.5 84.5 80.5"></polygon><polygon points="79.5 75.5 75 75.5 68.29 75.5 63.36 75.5 56.64 75.5 43.36 75.5 36.64 75.5 31.71 75.5 25 75.5 20.5 75.5 20.5 79.5 79.5 79.5 79.5 75.5"></polygon><rect x="68.79" y="45.5" width="5.71" height="29"></rect><rect x="57.14" y="45.5" width="5.71" height="29"></rect><path d="M50.87,19.52V11.37a.87.87,0,0,0-1.74,0v8.15l.87,0Z"></path><rect x="25.5" y="45.5" width="5.71" height="29"></rect><rect x="37.14" y="45.5" width="5.71" height="29"></rect><polygon points="31.71 44.5 36.64 44.5 43.36 44.5 56.64 44.5 63.36 44.5 68.29 44.5 75 44.5 79.5 44.5 79.5 40.5 76.43 40.5 23.57 40.5 20.5 40.5 20.5 44.5 25 44.5 31.71 44.5"></polygon><path d="M50,20.5c-14.07,0-25.57,8.48-25.92,19H75.92C75.57,29,64.07,20.5,50,20.5Z"></path></g></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#4D4D4D" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve"><rect x="11" y="93" width="79" height="6"></rect><rect x="18" y="49" width="9" height="38"></rect><rect x="10" y="42" width="79" height="6"></rect><rect x="31" y="49" width="8" height="38"></rect><rect x="45" y="49" width="9" height="38"></rect><rect x="59" y="49" width="9" height="38"></rect><rect x="73" y="49" width="8" height="38"></rect><polygon points="49.508,30.584 9,41 90.018,41 "></polygon><rect x="13" y="88" width="74" height="3"></rect><path d="M39.912,23.395c0.197-3.475,1.044-6.7,2.246-9.117c0.427-0.857,1.166-1.709,1.057-2.246c-0.17,0.076-0.506-0.101-0.66,0 c-3.254,2.124-5.756,6.442-6.21,11.23C37.283,23.557,38.758,23.316,39.912,23.395z"></path><path d="M40.572,23c1.277,0,2.555,0,3.832,0c0.205-4,0.533-8,1.718-11c-0.616,0-1.233,0-1.85,0C42.026,15,40.688,19,40.572,23z"></path><path d="M49.293,12c-0.793,0-1.586,0-2.379,0c-1.471,3-1.781,7-1.85,11c1.366,0,2.73,0,4.096,0C49.467,20,49.205,16,49.293,12z"></path><path d="M49.953,23.379c1.33-0.08,2.984,0.158,4.096-0.141C53.961,19.01,53.51,15,52.332,12c-0.838,0-1.674,0-2.512,0 C49.908,16,49.646,19.854,49.953,23.379z"></path><path d="M58.541,23c-0.197-4-1.582-8-3.566-11c-0.662,0-1.322,0-1.982,0c1.131,3,1.473,7,1.719,11C55.986,23,57.264,23,58.541,23z"></path><path d="M62.637,23c-0.076-2-0.998-4.827-2.113-6.673c-1.078-1.784-2.6-3.672-4.625-4.394c-0.102,0.03-0.26-0.144-0.264-0.016 C57.721,14.763,58.813,19,59.201,23C60.348,23,61.492,23,62.637,23z"></path><path d="M63.693,24.179C61.951,23.586,58.777,24,56.561,24c-7.123,0-15.018,0-21.404,0c-0.494,1-1.239,1-1.453,3 c10.569,0,21.139,0,31.709,0C64.963,26,64.588,24.482,63.693,24.179z"></path><path d="M33,34c4.249-0.859,15.332-4.399,16.557-4.396C50.775,29.608,61.813,33.166,66,34c0.43-1.416-0.395-3.034-0.588-4.046 c-0.16-0.839,0.113-1.954,0-2.954c-10.525,0-21.052,0-31.578,0c-0.153,0-0.143,0.256-0.131,0.443C34.172,30.026,32.699,31.585,33,34 z"></path><path d="M49,6c-0.055,0-0.106,0.012-0.16,0.015c-0.029,0.029-0.07,0.048-0.115,0.048c-0.028,0-0.05-0.018-0.073-0.031 C45.501,6.362,43,11,43,11h12C55,11,52.313,6,49,6z"></path><path d="M48.896,6.015C48.926,5.985,49,5.945,49,5.9V2.163C49,2.073,49.09,2,49,2s0,0.073,0,0.163V5.9 c0,0.061-0.18,0.104-0.13,0.132c0.023,0.013-0.036,0.031-0.007,0.031C48.908,6.063,48.867,6.044,48.896,6.015z"></path><path d="M50.315,3.33C50.515,3.408,50.703,3.48,51,3.361V2.136c-0.285,0.124-0.449,0.061-0.655-0.019 C50.203,2.063,50.042,2,49.821,2c-0.371,0-0.648,0.18-0.771,0.277v1.244c0.059-0.054,0.355-0.302,0.771-0.302 C50.027,3.219,50.174,3.275,50.315,3.33z"></path></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#3BB300" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve"><g><path fill="#3BB300" d="M64.96,67.608h0.692c6.481,0,11.739-5.256,11.739-11.738V16.739C77.391,10.257,72.133,5,65.652,5H34.348 c-6.482,0-11.739,5.257-11.739,11.739V55.87c0,6.482,5.256,11.738,11.739,11.738h0.692L18.925,95h9.082l6.903-11.739H65.09 L71.994,95h9.082L64.96,67.608z M38.261,10.87c0-1.08,0.875-1.957,1.957-1.957h19.564c1.082,0,1.957,0.877,1.957,1.957v3.913 c0,1.081-0.875,1.956-1.957,1.956H40.218c-1.082,0-1.957-0.875-1.957-1.956V10.87z M30.435,26.521c0-3.24,2.629-5.869,5.87-5.869 h27.391c3.241,0,5.87,2.629,5.87,5.869v13.696c0,2.16-1.754,3.912-3.913,3.912H34.348c-2.161,0-3.913-1.752-3.913-3.912V26.521z M34.336,61.722c-3.235,0-5.858-2.625-5.858-5.861c0-3.235,2.624-5.86,5.858-5.86c3.237,0,5.862,2.625,5.862,5.86 C40.198,59.097,37.573,61.722,34.336,61.722 M39.514,75.435l4.603-7.826h11.766l4.601,7.826H39.514z M59.782,55.86 c0-3.235,2.629-5.86,5.87-5.86c3.24,0,5.869,2.625,5.869,5.86c0,3.236-2.629,5.861-5.869,5.861 C62.412,61.722,59.782,59.097,59.782,55.86"></path></g></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#FF3434" xmlns:x="http://ns.adobe.com/Extensibility/1.0/" xmlns:i="http://ns.adobe.com/AdobeIllustrator/10.0/" xmlns:graph="http://ns.adobe.com/Graphs/1.0/" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/" version="1.1" x="0px" y="0px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve"><metadata><sfw xmlns="http://ns.adobe.com/SaveForWeb/1.0/"><slices></slices><sliceSourceBounds height="16383" width="16383" x="-8141" y="-8142" bottomLeftOrigin="true"></sliceSourceBounds></sfw></metadata><g><polygon points="72.5,35 54.999,35 54.999,17.5 45,17.5 45,35 27.5,35 27.5,44.999 45,44.999 45,62.5 54.999,62.5 54.999,44.999 72.5,44.999 "></polygon><path d="M50,5C31.146,5,15.862,20.284,15.862,39.138C15.862,57.991,50,95,50,95s34.138-37.009,34.138-55.862 C84.138,20.284,68.854,5,50,5z M50,85.69c0,0-27.931-31.127-27.931-46.553c0-15.425,12.506-27.931,27.931-27.931 c15.426,0,27.931,12.506,27.931,27.931C77.931,54.563,50,85.69,50,85.69z"></path></g></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#FFF200" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve"><g><g><polygon fill="#FFF200" points="34.82574,91 44,56 25,56 47,15 67,15 53,41 75,41 "></polygon></g></g></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#FF8400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 332.66 502" x="0px" y="0px"><title>Asset 2</title><g data-name="Layer 2"><g data-name="Layer 1"><path d="M332.66,164.28C332.66,73.55,258.19,0,166.33,0S0,73.55,0,164.28a162,162,0,0,0,20.77,79.51h0L166.33,502,311.9,243.79h0A162,162,0,0,0,332.66,164.28ZM166.33,251c-54.21,0-98.16-43.41-98.16-96.95s44-97,98.16-97,98.16,43.41,98.16,97S220.54,251,166.33,251Z"></path></g></g></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#4D4D4D" xmlns="http://www.w3.org/2000/svg" data-name="Layer 1" viewBox="0 0 64 64" x="0px" y="0px"><title>bank museum building goverment</title><g><path d="M32,10a5,5,0,1,0,5,5A5.0059,5.0059,0,0,0,32,10Zm0,8a3,3,0,1,1,3-3A3.0033,3.0033,0,0,1,32,18Z"></path><path d="M54,31a1,1,0,0,0,1-1V27h3a1,1,0,0,0,1-1V22c0-.0079-.0043-.0143-.0045-.0222a.9961.9961,0,0,0-.0714-.3541c-.0108-.0263-.0294-.0467-.0423-.0719a.7681.7681,0,0,0-.25-.31.97.97,0,0,0-.1076-.0934l-26-16a1.0018,1.0018,0,0,0-1.0478,0l-26,16a.9673.9673,0,0,0-.1074.0932.97.97,0,0,0-.1.0866.9832.9832,0,0,0-.1507.2234c-.0129.0252-.0316.0457-.0424.0721a.995.995,0,0,0-.0714.3539C5.0043,21.9855,5,21.9921,5,22v4a1,1,0,0,0,1,1H9v3a1,1,0,0,0,1,1h1V49H10a1,1,0,0,0-1,1v3H6a1,1,0,0,0-1,1v4a1,1,0,0,0,1,1H58a1,1,0,0,0,1-1V54a1,1,0,0,0-1-1H55V50a1,1,0,0,0-1-1H53V31Zm-1-2H45V27h8ZM44,49a1,1,0,0,0-1,1v3H38V50a1,1,0,0,0-1-1H36V31h1a1,1,0,0,0,1-1V27h5v3a1,1,0,0,0,1,1h1V49ZM21,53V50a1,1,0,0,0-1-1H19V31h1a1,1,0,0,0,1-1V27h5v3a1,1,0,0,0,1,1h1V49H27a1,1,0,0,0-1,1v3Zm13-4H30V31h4Zm1-20H28V27h8v2ZM28,51h8v2H28ZM32,7.1738,54.4668,21H9.5332ZM7,23H57v2H7Zm12,4v2H11V27Zm-6,4h4V49H13ZM11,51h8v2H11Zm46,6H7V55H57ZM45,53V51h8v2Zm6-4H47V31h4Z"></path></g></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#4D4D4D" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 100" version="1.1" x="0px" y="0px"><title>mosque</title><desc>Created with Sketch.</desc><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(16.000000, 16.000000)"><circle cx="35" cy="35" r="35"></circle><path d="M43.6956522,56.1267606 C32.2173913,56.1267606 22.826087,46.6197183 22.826087,35 C22.826087,23.3802817 32.2173913,13.8732394 43.6956522,13.8732394 C46.4782609,13.8732394 48.9130435,14.5774648 51,15.2816901 C46.826087,12.1126761 41.6086957,10 35.6956522,10 C22.1304348,10 11,21.2676056 11,35 C11,48.7323944 22.1304348,60 35.6956522,60 C41.2608696,60 46.826087,57.8873239 51,54.7183099 C48.5652174,55.7746479 46.1304348,56.1267606 43.6956522,56.1267606 Z" fill="#4D4D4D" fill-rule="nonzero"></path><polygon fill="#4D4D4D" fill-rule="nonzero" points="49 24 51.75 31.9180328 60 31.9180328 53.125 36.7377049 55.875 45 49 39.8360656 42.125 45 44.875 36.7377049 38 31.9180328 46.59375 31.9180328"></polygon></g></g></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#4D4D4D" xmlns="http://www.w3.org/2000/svg" data-name="Layer 1" viewBox="0 0 32 32" x="0px" y="0px"><title>10</title><path d="M29,28H28V25a1,1,0,0,0-1-1V16h2a1,1,0,0,0,.77-1.64l-10-12A1,1,0,0,0,19,2H13a1,1,0,0,0-.77.36l-10,12A1,1,0,0,0,3,16H5v8a1,1,0,0,0-1,1v3H3a1,1,0,0,0,0,2H29a1,1,0,0,0,0-2ZM21,16v8H19V16ZM16,6a3,3,0,1,1-3,3A3,3,0,0,1,16,6ZM11,16h2v8H11Z"></path></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#4D4D4D" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve"><g><path d="M30,12h-2.01001V7.63h1.58002c0.54999,0,1-0.45001,1-1V2.21997c0-0.56-0.45001-1-1-1H2c-0.54999,0-1,0.44-1,1V6.63 c0,0.54999,0.45001,1,1,1h1.58002V24.37H2c-0.54999,0-1,0.45001-1,1v4.40997c0,0.56,0.45001,1,1,1h27.57001c0.54999,0,1-0.44,1-1 V25.37c0-0.54999-0.45001-1-1-1h-1.58002V20H30c0.54999,0,1-0.44,1-1v-6C31,12.44,30.54999,12,30,12z M20.39001,7.63V24.37 h-3.60999V7.63H20.39001z M14.78003,7.63V24.37h-3.60004V7.63H14.78003z M5.58002,7.63h3.59998V24.37H5.58002V7.63z M25.98999,24.37h-3.59998V7.63h3.59998V12h-2.01001c-0.54999,0-1,0.44-1,1v6c0,0.56,0.45001,1,1,1h2.01001V24.37z M26.98999,16.98999C26.44,16.98999,26,16.54999,26,16s0.44-0.98999,0.98999-0.98999s1,0.44,1,0.98999 S27.53998,16.98999,26.98999,16.98999z"></path></g></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#4D4D4D" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 100" enable-background="new 0 0 100 100" xml:space="preserve"><g><g><path fill-rule="evenodd" clip-rule="evenodd" d="M92.818,23.216V72.1c0,0-13.907-3.91-24.24-1.923 c-9.255,1.779-16.066,6.8-17.215,7.687v0.148c0,0-0.034-0.027-0.096-0.075c-0.061,0.048-0.095,0.075-0.095,0.075v-0.148 c-1.148-0.887-7.959-5.907-17.211-7.687C23.626,68.189,8.357,72.1,8.357,72.1V23.071c-0.893,0.134-1.84,0.277-2.858,0.429v52.662 c0,0,16.64-4.282,27.959-2.104c11.131,2.141,17.856,8.581,17.856,8.581s6.725-6.44,17.855-8.581 c11.321-2.179,27.278,2.104,27.278,2.104V23.727C96.448,23.727,95.059,23.492,92.818,23.216z M33.121,65.229 c9.051,1.739,16.046,6.978,16.046,6.978V24.113c0,0-7.032-5.245-16.104-6.989c-9.183-1.766-21.179,1.723-21.179,1.723v48.094 C11.884,66.941,23.918,63.459,33.121,65.229z M89.284,67.117V19.023c0,0-10.996-3.49-20.175-1.723 c-9.072,1.743-16.335,6.987-16.335,6.987v48.095c0,0,7.223-5.237,16.276-6.979C78.252,63.636,89.284,67.117,89.284,67.117z"></path></g></g></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#4D4D4D" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 100 100" style="enable-background:new 0 0 100 100;" xml:space="preserve"><g><g><path d="M64.9,50.1C60,55,52,55,47.1,50.1c-4.9-4.9-4.9-12.9,0-17.8c0.3-0.3,0.6-0.5,0.9-0.8 c-3.4,0.4-6.7,1.9-9.3,4.5c-6.2,6.2-6.2,16.3,0,22.5s16.3,6.2,22.5,0c2.6-2.6,4.1-5.9,4.5-9.3C65.5,49.5,65.2,49.8,64.9,50.1z"></path></g><g><polygon points="54.4,39.7 51.7,43.4 56.3,43.4 58.9,47.1 60.3,42.7 64.7,41.4 60.9,38.7 61,34.1 57.3,36.8 53,35.4 "></polygon></g><g><path d="M50,0C31.3,23,11,22,13.8,46.2c0.1,0.9,0.3,1.9,0.5,2.9c2.3,11,3.4,22.2,3.4,33.5v9.9 c0,4.2,3.4,7.6,7.6,7.6h49.4c4.2,0,7.6-3.4,7.6-7.6v-9.9c0-11.2,1.1-22.5,3.4-33.5c0.2-1,0.4-2,0.5-2.9C89,22,68.7,23,50,0z M78.1,45.2c-0.1,0.6-0.2,1.3-0.4,2.1c-2.4,11.2-3.5,23-3.5,35.2v9.3H25.9v-9.3c0-12.2-1.2-24-3.5-35.2c-0.2-0.8-0.3-1.6-0.4-2.1 c-1.2-10.3,2.5-13,12.5-20.3c4.6-3.3,10-7.3,15.6-12.8c5.6,5.5,11,9.4,15.6,12.8C75.5,32.2,79.3,34.9,78.1,45.2z"></path></g></g></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#0059B3" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 90 90" enable-background="new 0 0 90 90" xml:space="preserve"><path d="M71.693,10.919C64.415,3.64,54.874,0,45.333,0S26.251,3.64,18.972,10.919c-14.558,14.558-14.558,38.163,0,52.72L45.333,90 l26.36-26.36C86.252,49.082,86.252,25.478,71.693,10.919z M68.213,60.16c-6.111,6.111-14.237,9.478-22.88,9.478 c-1.976,0-3.923-0.186-5.827-0.529l-5.135-1.368c-4.43-1.591-8.491-4.153-11.918-7.58c-6.112-6.111-9.478-14.237-9.478-22.88 c0-8.644,3.366-16.769,9.478-22.88c6.111-6.112,14.237-9.478,22.88-9.478c8.643,0,16.769,3.366,22.88,9.478 c6.112,6.111,9.478,14.237,9.478,22.88C77.69,45.923,74.325,54.049,68.213,60.16z M57.967,13.411L45.333,9.355l-12.634,4.057 l-1.306,3.204l3.382,2.773c2.539-2.233,6.33-3.654,10.559-3.654c4.229,0,8.02,1.421,10.558,3.654l3.382-2.773L57.967,13.411z M46.564,13.344c0,0.68-0.552,1.231-1.232,1.231c-0.681,0-1.231-0.551-1.231-1.231v-1.679h2.463V13.344z M55.167,20.522 c-0.027-0.025-0.058-0.049-0.086-0.074c0.002,0,0.002,0,0.003-0.001c-0.059-0.052-0.12-0.102-0.181-0.153 c-0.069-0.059-0.137-0.118-0.209-0.176c-0.077-0.064-0.157-0.125-0.237-0.186c-0.073-0.056-0.147-0.113-0.222-0.168 c-0.084-0.061-0.169-0.119-0.254-0.178c-0.077-0.052-0.152-0.105-0.229-0.157c-0.091-0.06-0.184-0.116-0.276-0.173 c-0.075-0.048-0.153-0.096-0.231-0.142c-0.099-0.058-0.198-0.114-0.298-0.169c-0.077-0.043-0.152-0.084-0.231-0.126 c-0.105-0.056-0.215-0.11-0.323-0.164c-0.075-0.036-0.15-0.073-0.225-0.11c-0.118-0.054-0.235-0.107-0.354-0.159 c-0.072-0.031-0.143-0.062-0.215-0.092c-0.126-0.053-0.255-0.104-0.385-0.153c-0.038-0.015-0.074-0.032-0.113-0.046 c0.002,0.001,0.004,0.002,0.005,0.005c-1.727-0.65-3.689-1.02-5.772-1.02c-2.082,0-4.045,0.37-5.772,1.02 c0.001-0.002,0.003-0.004,0.004-0.005c-0.038,0.014-0.074,0.031-0.113,0.045c-0.129,0.05-0.259,0.101-0.386,0.155 c-0.07,0.029-0.14,0.06-0.209,0.09c-0.122,0.053-0.242,0.107-0.36,0.163c-0.073,0.035-0.144,0.07-0.216,0.105 c-0.112,0.055-0.224,0.112-0.333,0.168c-0.074,0.04-0.147,0.081-0.221,0.121c-0.104,0.058-0.207,0.115-0.309,0.175 c-0.074,0.043-0.146,0.089-0.219,0.134c-0.097,0.06-0.194,0.121-0.288,0.182c-0.074,0.048-0.144,0.097-0.214,0.146 c-0.091,0.063-0.182,0.125-0.27,0.19c-0.07,0.05-0.136,0.103-0.205,0.155c-0.086,0.066-0.172,0.132-0.255,0.2 c-0.065,0.052-0.126,0.106-0.189,0.159c-0.064,0.057-0.132,0.11-0.196,0.167c0.001,0,0.002,0,0.003,0 c-0.027,0.025-0.059,0.05-0.086,0.076c-0.715,1.456-1.121,3.094-1.121,4.828c0,6.05,4.905,10.954,10.956,10.954 c6.05,0,10.954-4.904,10.954-10.954C56.287,23.617,55.883,21.979,55.167,20.522z M45.333,34.626c-5.115,0-9.276-4.161-9.276-9.274 c0-1.539,0.379-2.988,1.046-4.267c2.429,0.916,5.231,1.448,8.23,1.448c2.998,0,5.803-0.532,8.229-1.448 c0.667,1.279,1.045,2.728,1.045,4.267C54.607,30.465,50.448,34.626,45.333,34.626z M66.823,57.337 c0.003,0.019,0.009,0.037,0.009,0.058c0,1.982-9.622,3.59-21.494,3.59s-21.494-1.607-21.494-3.59 c-0.005-0.145-0.01-0.289-0.01-0.434c0-9.195,4.415-17.197,10.945-21.419c0.199,0.207,0.404,0.405,0.614,0.599l9.939,9.66 l9.946-9.668c0.208-0.191,0.413-0.388,0.609-0.592c6.528,4.222,10.943,12.225,10.943,21.42 C66.832,57.087,66.827,57.212,66.823,57.337z"></path></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#0080FF" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve"><g><path d="M256,0C139.167,0,44.467,94.708,44.467,211.533C44.467,372.184,256,512,256,512s211.533-139.816,211.533-300.467 C467.533,94.708,372.833,0,256,0z M256,375.941c-90.8,0-164.4-73.6-164.4-164.408c0-90.8,73.601-164.408,164.4-164.408 s164.417,73.608,164.417,164.408C420.417,302.342,346.8,375.941,256,375.941z"></path><path d="M359.517,162.2c-2.475-5.85-6.008-11.1-10.508-15.6s-9.742-8.034-15.584-10.5c-6.066-2.567-12.5-3.867-19.108-3.867V112.6 H186.741v176.65h-9.816v19.617h147.2V289.25h-9.809V271.2c4.458,2.134,9.458,3.316,14.717,3.316 c18.941,0,34.351-15.399,34.351-34.333V181.25h-0.009C363.375,174.65,362.075,168.25,359.517,162.2z M294.691,220.55h-88.325 v-88.316h88.325V220.55z M343.759,240.184c0,8.116-6.592,14.717-14.726,14.717c-8.125,0-14.717-6.601-14.717-14.717V151.85 c16.233,0,29.392,13.15,29.442,29.367V240.184z"></path></g></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#4D4D4D" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 49 49" enable-background="new 0 0 49 49" xml:space="preserve"><g><path d="M45.4998,34.3087c-0.7227,6.3247-3.7887,9.2299-7.84,10.03c-6.5782,1.2866-10.6371-5.5383-8.65-11.61 c0.07-0.22,0.29-0.36,0.52-0.34c1.0548,0.088-0.3443,2.3956,2.41,4c2.61,1.53,6.03,0.97,7.94-1.3 c5.9587-7.0789-0.3517-17.8708-5.51-8.18c-0.86,1.66-1.9,2.98-3.1999,4.04c-1.6032,1.336-3.0812,1.2021-5.25,1.06 c6.4516,13.2986-9.1818,21.6217-18.45,10.93c-3.5095-4.0287-4.7596-10.0714-3.82-15.25c0.0809-0.3847,0.4448-0.6509,0.79-0.5 c0.7829,0.3425,0.4746,10.0458,7.38,13.1c8.8207,3.9541,14.9628-6.2166,7.76-8.2c-1.13-0.32-2.31-0.19-3.7,0.38 c-0.1892,0.0631-0.4203,0.2829-0.73,0.14c-0.3838-0.1771-0.1439-0.1013-2.55-7.28c-0.1085-0.369,0.1897-0.7117,0.56-0.65 c2.4531,0.4266,6.4298,1.1019,7.93-1.22c0.9524-1.4851,0.0166-3.3369-2.6-3.54c-1.03-0.09-2.1,0.13-3.4399,0.71 c-3.5918,1.523-4.3974,3.242-4.91,2.29l-2.84-5.38c-0.2823-0.5173,0.4292-0.7938,0.55-0.92c0.29-0.21,0.58-0.41,0.88-0.6 c2.34-1.48,4.67-2.34,7.12-2.63c10.2364-1.2456,12.2827,9.5352,5.51,14.78c2.2194,0.8996,2.7921,1.1529,3.39,0.69 c1.9334-1.5263,3.4906-5.7921,5.74-8.02C36.3797,14.9284,47.049,20.2649,45.4998,34.3087z"></path><path d="M41.8899,12.3286l-0.07,0.09c-0.05,0.07-0.1,0.14-0.16,0.2c-6.5036,7.783-20.6963,4.6705-20.38-6.6 c0.01-0.24,0.18-0.44,0.42-0.48c0.24-0.03,0.47,0.1,0.55,0.32l0.09,0.24c0.05,0.16,0.11,0.32,0.17,0.47 c1.7207,4.0195,7.2129,6.9269,12.65,3.02c0.6-0.43,1.16-0.91,1.76-1.42c0.27-0.23,0.54-0.46,0.8199-0.69 c0.22-0.17,0.53-0.14,0.7,0.07l3.44,4.15C42.0299,11.8786,42.0299,12.1386,41.8899,12.3286z"></path><path d="M26.5999,5.1086c-0.2-0.19-0.2-0.51,0-0.7l3.07-3.08c0.2-0.2,0.52-0.2,0.71,0l3.08,3.08c0.19,0.19,0.19,0.51,0,0.7 l-3.08,3.08c-0.1,0.1-0.22,0.15-0.35,0.15s-0.26-0.05-0.36-0.15L26.5999,5.1086z"></path></g></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#FF3434" xmlns="http://www.w3.org/2000/svg" data-name="Layer 1" viewBox="0 0 105 105" x="0px" y="0px"><title>map-pins</title><g data-name="Group"><g data-name="Group"><path d="M82.06,42.07a29.56,29.56,0,1,0-54.7,15.49h0l.25.35a31.6,31.6,0,0,0,2.16,3L52.47,92.5,75.24,60.95a27.6,27.6,0,0,0,2.16-3l.25-.34h0A29.3,29.3,0,0,0,82.06,42.07Zm-29.57,25a25,25,0,1,1,25.06-25A25.06,25.06,0,0,1,52.49,67.11Z"></path></g></g><polygon points="59.05 35.32 59.05 25.37 46.17 25.37 46.17 35.32 36.23 35.32 36.23 48.2 46.17 48.2 46.17 58.15 59.05 58.15 59.05 48.2 69 48.2 69 35.32 59.05 35.32"></polygon></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#4D4D4D" xmlns="http://www.w3.org/2000/svg" data-name="Layer 1" viewBox="0 0 24 24" x="0px" y="0px"><title>Artboard 77</title><path d="M23.44,7.56l-11-5.46a1,1,0,0,0-.88,0L.56,7.56A1,1,0,0,0,.49,9.31L1,9.62V16H3V10.81l1,.59v5.43a1,1,0,0,0,.49.86l7,4.17a1,1,0,0,0,1,0l7-4.17a1,1,0,0,0,.49-.86V11.4l3.51-2.09a1,1,0,0,0-.07-1.75ZM18,16.26l-6,3.58L6,16.26V12.59l5.49,3.27a1,1,0,0,0,1,0L18,12.59Zm-6-2.42L3.09,8.53,12,4.12l8.91,4.41Z"></path></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#f4f4f4" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny" x="0px" y="0px" viewBox="0 0 100 100" xml:space="preserve"><path d="M82.8,37c0,17.3-31.3,55.7-31.3,55.7S20.1,54.3,20.1,37c0-17.3,14-31.3,31.3-31.3C68.8,5.7,82.8,19.7,82.8,37 L82.8,37z"></path></svg>
\ No newline at end of file
<svg height='300px' width='300px' fill="#B30000" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve"><g><path d="M299.2,325.95c-0.004,0-0.008,0-0.011,0l-44.671,0.071l-13.71-42.523c-0.932-2.891-3.623-4.851-6.661-4.852 c0,0-0.001,0-0.001,0c-3.037,0-5.728,1.959-6.661,4.85l-13.731,42.525l-44.652-0.071c-0.004,0-0.007,0-0.011,0 c-3.031,0-5.719,1.952-6.657,4.835c-0.939,2.888,0.09,6.051,2.549,7.833l36.182,26.225l-13.887,42.496 c-0.944,2.889,0.083,6.055,2.542,7.84c1.226,0.89,2.669,1.335,4.112,1.335c1.45,0,2.899-0.449,4.129-1.348l36.085-26.358 l36.066,26.357c2.451,1.793,5.782,1.797,8.241,0.014c2.459-1.784,3.486-4.951,2.542-7.84l-13.888-42.494l36.2-26.226 c2.459-1.781,3.489-4.945,2.551-7.833C304.92,327.902,302.232,325.95,299.2,325.95z M254.761,356.5 c-2.462,1.784-3.491,4.953-2.547,7.844l8.729,26.709l-22.667-16.565c-2.459-1.798-5.799-1.797-8.259-0.001l-22.691,16.575 l8.731-26.718c0.944-2.89-0.084-6.059-2.546-7.843l-22.787-16.517l28.112,0.045c0.004,0,0.007,0,0.011,0 c3.037,0,5.728-1.959,6.661-4.85l8.633-26.736l8.62,26.734c0.932,2.892,3.624,4.852,6.662,4.852c0.003,0,0.007,0,0.011,0 l28.125-0.045L254.761,356.5z"></path><path d="M420.315,9.002H135.411c-3.866,0-7,3.134-7,7v33.936H91.685c-3.866,0-7,3.134-7,7v40.235v53.631v53.672v53.631V409.59 c0,2.447,1.278,4.716,3.37,5.985l142.461,86.405c1.115,0.677,2.373,1.015,3.63,1.015s2.515-0.339,3.63-1.015l142.441-86.405 c2.092-1.27,3.369-3.538,3.369-5.985v-10.509l40.354-24.439c2.095-1.269,3.374-3.539,3.374-5.987V16.002 C427.315,12.136,424.182,9.002,420.315,9.002z M135.411,63.938h234.176v26.235H98.685V63.938H135.411z M98.685,104.173h270.902 v39.631H98.685V104.173z M98.685,157.804h270.902v39.672H98.685V157.804z M98.685,211.476h270.902v39.631H98.685V211.476z M369.587,405.648l-135.441,82.159L98.685,405.648V265.107h270.902v130.029V405.648z M413.315,364.71l-29.729,18.004V258.107 v-53.631v-53.672V97.173V56.938c0-3.866-3.134-7-7-7H142.411V23.002h270.904V364.71z"></path></g></svg>
\ No newline at end of file
......@@ -21,21 +21,21 @@ function loaderPage(stat) {
$("#sidebar").hide()
maps = L.tileLayer('https://mt1.google.com/vt/lyrs=m&x={x}&y={y}&z={z}', {
maps = L.tileLayer('https://mt1.google.com/vt/lyrs=m&x={x}&y={y}&z={z}&s=Gal&apistyle=s.t:0|s.e:l|p.v:off', {
maxZoom: 22,
minZoom: 4,
}).addTo(map);
OpenStreetMap.onclick = function() {
maps = L.tileLayer("https://mt1.google.com/vt/lyrs=m&x={x}&y={y}&z={z}", {
maps = L.tileLayer("https://mt1.google.com/vt/lyrs=m&x={x}&y={y}&z={z}&s=Gal&apistyle=s.t:0|s.e:l|p.v:off", {
maxZoom: 22,
minZoom: 3,
}).addTo(map);
};
WorldImagery.onclick = function() {
maps = L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {
// https://{s}.tiles.wmflabs.org/osm-no-labels/{z}/{x}/{y}.png
maps = L.tileLayer("https://{s}.tiles.wmflabs.org/osm-no-labels/{z}/{x}/{y}.png", {
maxZoom: 22,
minZoom: 3,
}).addTo(map);
......@@ -48,7 +48,7 @@ BingSatellite.onclick = function() {
GoogleSatellite.onclick = function() {
maps = L.tileLayer('http://mt0.google.com/vt/lyrs=y&hl=en&x={x}&y={y}&z={z}', {
maps = L.tileLayer('http://mt0.google.com/vt/lyrs=y&hl=en&x={x}&y={y}&z={z}&s=Gal&apistyle=s.t:0|s.e:l|p.v:off', {
maxZoom: 22,
minZoom: 4,
}).addTo(map);
......@@ -537,62 +537,6 @@ var geo_build_osm = L.geoJson(null, {
// });
$(document).on("click", "#edit", function() {
document.getElementsByClassName('leaflet-popup-content')[0].style.width = "500px";
document.getElementsByClassName('leaflet-popup')[0].style.left = "-271px";
var map_edit = L.map('map-edit', {
editable: true,
zoomControl: false,
drawControl: true
}).setView([-2, 118], 5);
mapss = L.tileLayer('https://mt1.google.com/vt/lyrs=s&x={x}&y={y}&z={z}', {
maxZoom: 22,
minZoom: 4,
}).addTo(map_edit);
var id_poly = $('#id-poly').val();
var sumber = $('#sumber').val();
loaderPage(true);
$.ajax({
url: "api/v1/get-poly/",
data: {
'id_poly': id_poly,
'sumber': sumber
},
type: 'GET',
dataType: 'json',
success: function(data) {
loaderPage(false);
map_edit.setView([data['geometry']['coordinates'][0][0][0][1], data['geometry']['coordinates'][0][0][0][0]], 19);
let lop_poly_edit = data['geometry']['coordinates'][0][0];
let list_poly_edit = [];
for (var i = 0; i < lop_poly_edit.length; i++) {
geoj = lop_poly_edit[i][0];
polygigi = [lop_poly_edit[i][1], lop_poly_edit[i][0]]
list_poly_edit.push(polygigi);
};
var polyly = L.polygon(list_poly_edit).addTo(map_edit)
polyly.enableEdit();
$('#buttonsaveedit').click(function() {
var hasil = (JSON.stringify(polyly.toGeoJSON()))
$("#coordinateZoneedit").val(hasil);
})
// $('#create_poly').on('click', function() {
// $('#modal_create').modal("show");
// $("#featuremodal").modal("hidden");
// map_create.setView([data['geometry']['coordinates'][0][0][0][1], data['geometry']['coordinates'][0][0][0][0]], 18);
// });
}
})
});
jQuery(document).ajaxSend(function(event, xhr, settings) {
function getCookie(name) {
var cookieValue = null;
......@@ -742,27 +686,6 @@ map.on('contextmenu', function(e) {
});
$(document).on("click", "#buttonsaveedit", function() {
var id_poly = $('#id-poly').val();
var polygin = $('#coordinateZoneedit').val();
var sumber = $('#sumber').val();
$.ajax({
url: "api/v1/update/",
data: {
'id_poly': id_poly,
'polygon': polygin,
'sumber': sumber
},
dataType: 'json',
type: 'POST',
success: function(data) {
map.closePopup();
alert("Coba geser mapsnya")
}
})
});
$(document).on("click", "#create_save", function(e) {
var polygin = $('#poly_create').val();
......@@ -778,7 +701,7 @@ $(document).on("click", "#create_save", function(e) {
'info': info_poly
},
dataType: 'json',
type: 'POST',
success: function(data) {
map.closePopup();
loaderPage(false);
......@@ -786,30 +709,6 @@ $(document).on("click", "#create_save", function(e) {
});
});
$(document).on("click", "#delet-pol", function(e) {
$("#modal_delete_1").modal("show");
});
$(document).on("click", "#buttondelete", function(e) {
var id_poly = $('#id_poly_delete').val();
var sumber = $('#sumber').val();
$("#modal_delete_1").modal("hide")
map.closePopup();
$.ajax({
url: "api/v1/delete/",
data: {
'id_poly': id_poly,
'sumber': sumber
},
dataType: 'json',
type: 'POST',
success: function(data) {
alert("berhasil gaess")
}
});
});
$(document).on("click", "#info", function() {
document.getElementsByClassName('leaflet-popup-content')[0].style.width = "301px";
document.getElementsByClassName('leaflet-popup')[0].style.left = "-171px";
......@@ -864,60 +763,60 @@ function geo_json_build_gen(data) {
geo_build_gen.addData(data)
}
map.on("movestart", function() {
geo_build_gen.clearLayers();
geo_jln.clearLayers();
geo_build_osm.clearLayers();
});
// map.on("movestart", function() {
// geo_build_gen.clearLayers();
// geo_jln.clearLayers();
// geo_build_osm.clearLayers();
// });
map.on("moveend", function() {
var wetan = map.getBounds().getEast();
var kulon = map.getBounds().getWest();
var lor = map.getBounds().getNorth()
var kidul = map.getBounds().getSouth();
var center = map.getBounds().getCenter();
var zoom = map.getZoom()
if (zoom > 18) {
$.ajax({
url: 'api/khansia/v1/',
data: {
'wetan': wetan,
'kulon': kulon,
'lor': lor,
'kidul': kidul,
'lat': center.lat,
'lng': center.lng
},
dataType: 'json',
success: function(data) {
$("#jumlah").html(`<span class="font-weight-bold">&nbsp;&nbsp;Jumlah Bangunan:&nbsp;` + data['jumlah_bangunan'] + `, ` + data['adm'][0][0] + `, ` + data['adm'][0][2] + `</span>`);
let list_poly = [];
for (var i = 0; i < data['gen'].length; i++) {
geoj = data['gen'][i][0];
list_poly.push(geoj);
};
geo_json_build_gen(list_poly);
let list_osm = [];
for (var i = 0; i < data['osm'].length; i++) {
geoj = data['osm'][i][0];
list_osm.push(geoj);
};
geo_json_build_osm(list_osm);
let list_jln = [];
for (var i = 0; i < data['jalan'].length; i++) {
geoj = data['jalan'][i];
list_jln.push(geoj);
};
geo_json_jln(list_jln);
}
});
}
});
// map.on("moveend", function() {
// var wetan = map.getBounds().getEast();
// var kulon = map.getBounds().getWest();
// var lor = map.getBounds().getNorth()
// var kidul = map.getBounds().getSouth();
// var center = map.getBounds().getCenter();
// var zoom = map.getZoom()
// if (zoom > 18) {
// $.ajax({
// url: 'api/khansia/v1/',
// data: {
// 'wetan': wetan,
// 'kulon': kulon,
// 'lor': lor,
// 'kidul': kidul,
// 'lat': center.lat,
// 'lng': center.lng
// },
// dataType: 'json',
// success: function(data) {
// $("#jumlah").html(`<span class="font-weight-bold">&nbsp;&nbsp;Jumlah Bangunan:&nbsp;` + data['jumlah_bangunan'] + `, ` + data['adm'][0][0] + `, ` + data['adm'][0][2] + `</span>`);
// let list_poly = [];
// for (var i = 0; i < data['gen'].length; i++) {
// geoj = data['gen'][i][0];
// list_poly.push(geoj);
// };
// geo_json_build_gen(list_poly);
// let list_osm = [];
// for (var i = 0; i < data['osm'].length; i++) {
// geoj = data['osm'][i][0];
// list_osm.push(geoj);
// };
// geo_json_build_osm(list_osm);
// let list_jln = [];
// for (var i = 0; i < data['jalan'].length; i++) {
// geoj = data['jalan'][i];
// list_jln.push(geoj);
// };
// geo_json_jln(list_jln);
// }
// });
// }
// });
$("#id_kec").change(function() {
var kec_val = $(this).val();
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment