📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
sikayetscripti.demodesign.com.tr
/
panel
/
assets
/
js
/
page
📝
gmaps-geolocation.js
← Geri Dön
"use strict"; // initialize map var map = new GMaps({ div: '#map', lat: -6.5637928, lng: 106.7535061 }); // initialize map geolocation GMaps.geolocate({ // when geolocation is allowed by user success: function(position) { // set center map according to user position map.setCenter(position.coords.latitude, position.coords.longitude); // add a marker to the map map.addMarker({ lat: position.coords.latitude, lng: position.coords.longitude, title: 'You' }); }, // when geolocation is blocked by the user error: function(error) { toastr.error('Geolocation failed: '+error.message); }, // when the user's browser does not support not_supported: function() { toastr.error("Your browser does not support geolocation"); } });
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula