Skip to main content

Loading over HTTPS...

            Do you have your application in which you are using HTTPS for security and so cannot use Google Maps Javascript API? Unhappy about that? You can now be relieved! You can now access the Google Maps JavaScript API over HTTPS, allowing you to utilize the API within your HTTPS secure application. Loading the Google Maps Javascript API V3 over HTTPS allows your application to use the Maps API within pages that are secured using HTTPS: the HTTP over the Secure Socket Layer (SSL) protocol.

            Loading the Maps API over HTTPS is necessary in SSL applications to avoid security warnings in most browsers, and is recommended for applications that include sensitive user data, such as a user's location, in requests. To load the Google Maps JavaScript API Version 3 over HTTPS, load the API from the following URL:

<script src="https://maps-api-ssl.google.com/maps/api/js?sensor=true_or_false"
type="text/javascript"></script>

Comments

  1. Thank you for your sharing, I am working on the old version of Google Maps API now, will be move on the new version 3.0 soon later.

    ReplyDelete

Post a Comment

Please leave your comments here...

Recommended for You

Playing with the markers and info window bubbles...

    In the last few posts, we have seen some marker examples and some information window examples. Now, lets do something interesting combining these two things. Just writing that "This is an info window" in the information bubble is not very interesting! And I know this...Have gone through the same phase!     So, today we will do something interesting! We will display the latitude- longitude co-ordinates of the point that the user clicks on the map! Doing this is not at all complex! Copy paste the following code and you will see for yourself a map coming to life!     The output of the above code looks as seen in the result section above! If you have any queries regarding the above code please comment on the blog post or feel free to contact me at my mail ID .

Form info window

         Today we will look at a Google Maps API v3 example to add a form in the information bubble! This is usually required when we wish to accept some data/information from the user! This data can be saved to a server in the form of an XML file or a database! The information can then be retrieved back at a later stage, when necessary!          In this example we will only look at form in the information bubble! The connectivity part with the server will be discussed in another post! So, today's code snippet is as seen below! <html> <head> <title> Google Maps API v3 - Adding marker and info window on Click and creating a form in the infowindow with the lat-lng information in it. </title> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> <script type="text/javascript"> var map;    //When using ev...

jQuery Mobile's Next Big Step

Spatial Unlimited changes to The UI Dev After being hosted on blogger 😣 for the last 6 years 📆, this page has finally been moved to Github.io This means a few things for you, dear reader! You will be redirected to the new page shortly! ⏩ ⏩ ⏩ Once crapy HTML is now better looking Markdown ! 😍 😍 The entire blog is a Github repo ! 😍 😍 Spatial Unlimited is now The UI Dev 😍 😍

Jugnu: India's first Nano Satellite

          IIT-Kanpur with its nano satellite 'Jugnu' has set new highs in the field of space research. A team of students, working under Dr NS Vyas (the visionary man behind the making of the nano-satellite) and other faculty members of the institute, have successfully made the country's first nano-satellite to be developed for the first time by any educational institute.           The development of the Jugnu started in the year 2008 with a team of 3 students. With time, the team has grown to the size of more than 50 students ranging from 1st year undergraduates to final year postgraduates and 14 professors from different disciplines to complete this challenging mission.            The satellite has been handed over to two ISRO scientists, DVA Raghav Murthy (Project Director, Small Satellite Projects) and Dr SK Shiv Kumar (Director, ISRO sat...

How I authored a technical book?

Here is the reason why I have not been writing over the last 6-8 months! I was busy writing my first technical book - Mastering jQuery Mobile with  +Chip Lambert  and what better subject to choose than jQuery Mobile. I have been extremely lucky to get the opportunity to author a book with Chip. This project started off about a year back, when I was approached by Packt Publishing to review this book that was being written by Chip. I instantly grabbed this opportunity, as I was getting a chance to review some work on a framework that I totally love. Chip had about 4 chapters complete at this time and I had provided my comments on the content of these chapters to the best of my knowledge. I was waiting for the further chapters, when I fine morning, I received a mail from the content editor of the book... I thought that it would be the next chapter for review. But nope! It was him asking me if I would like to author this book with Chip, to speed up the process as C...