add asentus template
This commit is contained in:
1
web/construction/asentus/HTML/js/components/gmap.min.js
vendored
Normal file
1
web/construction/asentus/HTML/js/components/gmap.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";window.initMap=function(){var e=new google.maps.StyledMapType([{stylers:[{saturation:-100},{lightness:50},{visibility:"simplified"}]},{elementType:"labels",stylers:[{visibility:"on"}]},{featureType:"road",stylers:[{color:"#bbb"}]}],{name:"Dublin"}),o=new google.maps.MarkerImage("img/widgets/gmap-pin.png",new google.maps.Size(48,54),new google.maps.Point(0,0),new google.maps.Point(24,54)),i="custom_style",n={lat:41.85,lng:-73.961},t=new google.maps.Map(document.getElementById("map"),{zoom:6,scrollwheel:!1,streetViewControl:!1,mapTypeControl:!1,center:n,mapTypeControlOptions:{mapTypeIds:[google.maps.MapTypeId.ROADMAP,i]}}),s='<div id="content"><div id="siteNotice"></div><h1 id="firstHeading" class="firstHeading">Brooklyn</h1><div id="bodyContent"><p>277 Bedford Avenue, <br> Brooklyn, NY 11211, <br> New York, USA</p></div></div>',l=new google.maps.InfoWindow({content:s,maxWidth:300}),a=new google.maps.Marker({map:t,clickable:!0,icon:o,title:"Brooklyn",position:n});a.addListener("click",function(){l.open(t,a)}),t.mapTypes.set(i,e),t.setMapTypeId(i)};
|
||||
Reference in New Issue
Block a user