Skip to content

Commit

Permalink
embedded map location
Browse files Browse the repository at this point in the history
corrected google maps
  • Loading branch information
syamkumar committed Mar 30, 2018
1 parent bcf53bb commit 05f700e
Show file tree
Hide file tree
Showing 4 changed files with 114 additions and 25 deletions.
102 changes: 93 additions & 9 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@



<!DOCTYPE html>
<html lang="en" class="no-js">
<!-- Begin Head -->
Expand Down Expand Up @@ -686,7 +689,8 @@ <h2 class="g-font-size-32--xs g-font-size-36--md">Send us a note</h2>

<!-- Google Map -->
<section class="s-google-map">
<div id="js__google-container" class="s-google-container g-height-400--xs"></div>
<!-- <div id="js__google-container" class="s-google-container g-height-400--xs"></div> -->
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3928.532104006216!2d76.3509343147983!3d10.055414274836673!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3b080c04e3627551%3A0xeaddd199d9bbde2b!2sKerala+Technology+Innovation+Zone+(KTIZ)!5e0!3m2!1sen!2sin!4v1522419999341" width="100%" height="610" frameborder="0" style="border:0" allowfullscreen></iframe>
</section>
<!-- End Google Map -->
<!--========== END PAGE CONTENT ==========-->
Expand Down Expand Up @@ -763,7 +767,7 @@ <h3 class="g-font-size-18--xs g-color--white">mozilla kerala</h3>
<script type="text/javascript" src="vendor/counterup.min.js"></script>
<script type="text/javascript" src="vendor/cubeportfolio/js/jquery.cubeportfolio.min.js"></script>
<script type="text/javascript" src="vendor/jquery.parallax.min.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyArESuYinj5CVm0kPBrrtm3a_yUDx7xJJo"></script>
<!-- <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyArESuYinj5CVm0kPBrrtm3a_yUDx7xJJo"></script>-->
<script type="text/javascript" src="vendor/jquery.wow.min.js"></script>

<!-- General Components and Settings -->
Expand All @@ -777,6 +781,7 @@ <h3 class="g-font-size-18--xs g-color--white">mozilla kerala</h3>
<script type="text/javascript" src="js/components/parallax.min.js"></script>
<script type="text/javascript" src="js/components/google-map.min.js"></script>
<script type="text/javascript" src="js/components/wow.min.js"></script>

<!--========== END JAVASCRIPTS ==========-->

</body>
Expand Down
8 changes: 4 additions & 4 deletions js/components/google-map.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

jQuery(document).ready(function($){
//set your google maps parameters
var latitude = 41.850,
longitude = -73.961,
var latitude = 10.0554143,
longitude = 76.3509343,
map_zoom = 6;

//google map custom marker icon - .png fallback for IE11
Expand Down Expand Up @@ -205,9 +205,9 @@ jQuery(document).ready(function($){
var contentString = '<div id="content">'+
'<div id="siteNotice">'+
'</div>'+
'<h2 id="firstHeading" class="firstHeading">Brooklyn</h2>'+
'<h2 id="firstHeading" class="firstHeading">Kerala Technology Innovation Zone</h2>'+
'<div id="bodyContent">'+
'<p>277 Bedford Avenue, <br> Brooklyn, NY 11211, <br> New York, USA</p>'+
'<p>Kerala Startup Mission <br> Kalamassery, Ernakulam <br> kerala India</p>'+
'</div>'+
'</div>';

Expand Down
20 changes: 10 additions & 10 deletions js/components/google-map2.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

jQuery(document).ready(function($){
//set your google maps parameters
var latitude = 41.850,
longitude = -73.961,
var latitude = 10.0554143,
longitude = 76.3509343,
map_zoom = 6;

//google map custom marker icon - .png fallback for IE11
Expand Down Expand Up @@ -202,14 +202,14 @@ jQuery(document).ready(function($){
//inizialize the map
var map = new google.maps.Map(document.getElementById('js__google-container'), map_options);

var contentString = '<div id="content">'+
'<div id="siteNotice">'+
'</div>'+
'<h2 id="firstHeading" class="firstHeading">Brooklyn</h2>'+
'<div id="bodyContent">'+
'<p>277 Bedford Avenue, <br> Brooklyn, NY 11211, <br> New York, USA</p>'+
'</div>'+
'</div>';
var contentString = '<div id="content">'+
'<div id="siteNotice">'+
'</div>'+
'<h2 id="firstHeading" class="firstHeading">Kerala Technology Innovation Zone</h2>'+
'<div id="bodyContent">'+
'<p>Kerala Startup Mission <br> Kalamassery, Ernakulam <br> kerala India</p>'+
'</div>'+
'</div>';

var infowindow = new google.maps.InfoWindow({
content: contentString,
Expand Down

0 comments on commit 05f700e

Please sign in to comment.