wmaraci reklam

Kodlar çakışıyor ama Çözemedim

3 Mesajlar 634 Okunma
pst.net
wmaraci reklam

Fatihcan88 Fatihcan88 WM Aracı Kullanıcı
  • Üyelik 10.07.2018
  • Yaş/Cinsiyet 35 / E
  • Meslek Bilişim teknolojileri
  • Konum Düzce
  • Ad Soyad F** C**
  • Mesajlar 66
  • Beğeniler 5 / 9
  • Ticaret 0, (%0)
merhaba arkadaşlar javascriptten pek anladığım söylenemez sorunum şu

ben google harita kullanıyorum kodlarım şu şekilde



<script>" type="text/javascript"></script>
<script>
function initialize() {
if (GBrowserIsCompatible()) {
var harita = new GMap2(document.getElementById("harita"));
harita.addControl(new GMapTypeControl(1));
harita.addControl(new GLargeMapControl());
harita.enableContinuousZoom();
harita.enableDoubleClickZoom();
var coords = new GLatLng(<%=googlemaps%>);
harita.setCenter(coords,<%=googlezoom%> );
var im = new GMarker(coords, {draggable: true});
GEvent.addListener(im, "mouseup", function(){
document.getElementById("coords").value = im.getPoint().toUrlValue();
document.getElementById("zoom").value = harita.getZoom();


});
harita.addOverlay(im);
}
}
window.function(){initialize();}
</script>



Bu kodların çalışmasında bir sıkıntı yok her yerde çalışıyor ama bir admin paneli tasarımı buldum ücretsiz burada bulunan bir js kodu bu javascriptin çalışmasına engel oluyor



/*!
* Bootstrap v4.0.0 (https://getbootstrap.com)
* Copyright 2011-2018 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('jquery'), require('popper.js')) :
typeof define === 'function' && define.amd ? define(['exports', 'jquery', 'popper.js'], factory) :
(factory((global.bootstrap = {}),global.jQuery,global.Popper));
}(this, (function (exports,$,Popper) { 'use strict';

$ = $ && $.hasOwnProperty('default') ? $['default'] : $;
Popper = Popper && Popper.hasOwnProperty('default') ? Popper['default'] : Popper;

function _defineProperties(target, props) {
for (var i = 0; i < props.length; i++) {
var descriptor = props[i];
descriptor.enumerable = descriptor.enumerable || false;
descriptor.configurable = true;
if ("value" in descriptor) descriptor.writable = true;
Object.defineProperty(target, descriptor.key, descriptor);
}
}

function _createClass(Constructor, protoProps, staticProps) {
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
if (staticProps) _defineProperties(Constructor, staticProps);
return Constructor;
}

function _extends() {
_extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];

for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}

return target;
};

return _extends.apply(this, arguments);
}

/*!
* buradan aşağı kodları sildiğim de kodlarım çalışır hale geliyor
*/

function _inheritsLoose(subClass, superClass) {
subClass.prototype = Object.create(superClass.prototype);
subClass.prototype.constructor = subClass;
subClass.__proto__ = superClass;
}



sorunu oluşturan kısım aslında son kısım acaba javascripten anlayan arkadaşlar durumu bir kısa anlata bilir mi bu konuda yardımcı olursanız sevinirim.
 

 

wmaraci
reklam

SancarSaran SancarSaran WM Aracı Kullanıcı
  • Üyelik 14.01.2018
  • Yaş/Cinsiyet 51 / E
  • Meslek Programcı
  • Konum İzmir
  • Ad Soyad S** S**
  • Mesajlar 319
  • Beğeniler 4 / 111
  • Ticaret 0, (%0)
çıkan hatayı copy paste edersen daha çok yardımcı olabiliriz.
 

 

Fatihcan88 Fatihcan88 WM Aracı Kullanıcı
  • Üyelik 10.07.2018
  • Yaş/Cinsiyet 35 / E
  • Meslek Bilişim teknolojileri
  • Konum Düzce
  • Ad Soyad F** C**
  • Mesajlar 66
  • Beğeniler 5 / 9
  • Ticaret 0, (%0)
Sorun çözüme kavuşmuştur. Sag olun .
 

 

wmaraci
Konuyu toplam 1 kişi okuyor. (0 kullanıcı ve 1 misafir)
Site Ayarları
  • Tema Seçeneği
  • Site Sesleri
  • Bildirimler
  • Özel Mesaj Al