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.
  

