1var editmodeMap = function(){ 2 3 function initialize() { 4 5 lat = 47.80185591898276; 6 lng = 13.043861389160156; 7 8 var myLatlng = new google.maps.LatLng(lat,lng); 9 var mapOptions = { 10 zoom: 17, 11 center: myLatlng 12 } 13 var map = new google.maps.Map(document.getElementById('editmode_gmap'), mapOptions); 14 15 var marker = new google.maps.Marker({ 16 map:map, 17 draggable:true, 18 animation: google.maps.Animation.DROP, 19 position: myLatlng 20 }); 21 22 google.maps.event.addListener(marker, 'dragend', function() { 23 $('.editmode_map--lat').find('.pimcore_editable').html(marker.getPosition().lat()); 24 $('.editmode_map--lng').find('.pimcore_editable').html(marker.getPosition().lng()); 25 }); 26 } 27 28 google.maps.event.addDomListener(window, 'load', initialize); 29 30 31};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.