Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Google maps breaks ssl

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Google maps breaks ssl

    I have not seen any settings to require an ssl connection for google maps api. When a map component is added to a grid (ie detail view of as alternate view) as soon as the component gets focus (loads) the SSL connection from the client to WAS becomes insecure - only partially encrypted. From this point until the component is closed AND the connection is refreshed the ssl indication (padlock or equiv) are gone. Any suggestions?

    Brad

    #2
    Re: Google maps breaks ssl

    From the Google Map Component documentation:

    Use Google Maps Premier - Check this if you have a Google Maps Premier client ID and want to use it
    Google Maps Premier Client ID - Enter your Google Maps Premier client ID
    Use SSL for Google Maps Premier - Check this if you want to call Google Maps Premier using SSL (HTTPS:)

    The reason it's set up this way is that Google doesn't allow you to call the Maps API using SSL unless you have a Premier license.

    Comment


      #3
      Re: Google maps breaks ssl

      Martin:

      What version of the Google API does Alpha use ?- per the following link: http://code.google.com/apis/maps/faq.html

      Can the Google Maps APIs be accessed over SSL (HTTPS)?

      The Google Maps JavaScript API V3, Google Static Maps API, and Google Maps API Web Services can be accessed over secure (HTTPS) connections by developers using either the free version of these APIs or Google Maps API Premier. Please see the documentation for the API concerned for information on how to access the API over SSL.

      The Google Maps JavaScript API V2 and Google Maps API for Flash can be accessed over a secure (HTTPS) connection by Google Maps API Premier customers only. If these Maps APIs are used with a free Maps API key on a secure site, the browser may warn the user about non-secure objects on the screen.
      Thanks,

      Brad

      Comment


        #4
        Re: Google maps breaks ssl

        It should be noted that the Premier key costs a minimum of $10,000 per year (ouch!) and is not needed for many Alpha applications.

        Brad

        Comment


          #5
          Re: Google maps breaks ssl

          We use the Google Maps JavaScript API V3.

          That document conflicts with the Premier documentation. I'll test this and allow SSL without Premier in the property grid for a future build if it works. I happen to be working on the Maps component anyway, adding some new features.

          The symptom you're reporting may be annoying, but it's browser- and setting-dependent and fairly harmless.

          You may be able to enable SSL before I update the component by doing a custom property setting in the Advanced property section. If I recall correctly, it would be

          tmpl.useSSL = .T.

          Comment


            #6
            Re: Google maps breaks ssl

            Martin:

            Thanks for the info. You may find this link interesting (dated 03/15/2001) posted by Thor Mitchell, Product Manager, Google Maps API:

            http://googlegeodevelopers.blogspot....le-to-all.html

            As public WiFi becomes increasingly ubiquitous, we spend more and more of our time on shared networks. This can expose our personal data to third parties if the sites we access are not secure. Many sites use Google services to store and manage Google data. In response to this, Google is today announcing improved support for SSL (Secure Sockets Layer) across many APIs, and recommending that any application that manages user data switch to using SSL.

            We want to ensure that applications using the Google Maps API are free to follow this recommendation. As such we are happy to offer free access to the Maps API v3, Static Maps API, and Maps API Web Services over HTTPS to all developers from today. To load the Maps API v3 over HTTPS, the API must be loaded from the hostname maps-api-ssl.google.com. For the Static Maps API and Web Services, please use maps.googleapis.com.
            Brad

            Comment


              #7
              Re: Google maps breaks ssl

              You mean 3/2011. Thanks -- I didn't see that when I was writing the component.

              Comment


                #8
                Re: Google maps breaks ssl

                Yes I meant 03/2011.

                Tried setting in advanced settings for the map component:

                tmpl.useSSL = .T.

                did NOT work - did not produce an error but also ssl still broken with google maps.

                Brad

                Comment


                  #9
                  Re: Google maps breaks ssl

                  This will be fixed in the next release.

                  Meanwhile, if you check Use Google Maps Premier and Use SSL and leave the Premier Client ID blank it should work.

                  Comment


                    #10
                    Re: Google maps breaks ssl

                    Martin:

                    Thanks - leaving the Premier Client ID blank & Use SSL seems to work.

                    Brad

                    Comment


                      #11
                      Re: Google maps breaks ssl

                      Martin,

                      This looks like the SSL breaks when viewing a Google Map as an Alternate View in a grid. Checking off "Use Google Maps Premier" and "Use SSL" with a blank "Premier Client ID" seems to have no effect.

                      Thanks in advance for any help you may offer.

                      Comment


                        #12
                        Re: Google maps breaks ssl

                        Premier should not be checked unless you have a Premier Client ID. You should be able to check "Use SSL" independently of Premier. If you can't, upgrade to the latest version -- this was fixed last year.

                        If you continue to have trouble, please file a bug report.

                        Comment


                          #13
                          Re: Google maps breaks ssl

                          Originally posted by mheller View Post
                          Premier should not be checked unless you have a Premier Client ID. You should be able to check "Use SSL" independently of Premier. If you can't, upgrade to the latest version -- this was fixed last year.

                          If you continue to have trouble, please file a bug report.
                          Martin,

                          It looks like this issue was fixed last year, but only for map components that embedded in a in dialog or accessed through a TabbedUI.

                          This looks like the SSL still breaks when viewing a Google Map as an Alternate View in a grid. As suggested in the above posts, checking off "Use Google Maps Premier" and "Use SSL" with a blank "Premier Client ID" seems to have no effect.

                          To recreate the problem simply:

                          1) Create an editable grid component with a few basic name and address fields.
                          2) Check off the "Has Alternate View" option
                          3) Select "Google Map" as the alternate view type.
                          4) Use the address fields from the grid for the Marker Properties.
                          5) Check "Use SSL". (I also tried various combinations of settings based on the original thread.)

                          When the grid component is accessed from a TabbedUI, the SSL breaks when the grid component is selected.

                          Firebug had this in the generated html code:
                          TBI_MAPGRIDTES_17134AYYS_GridObj.googleMap_GOOGLEMAPTEST.GoogleMapsSrc = "http://maps.google.com/maps/api/js?callback=A5.googleMapsInit.init&sensor=false";

                          I'll send in the bug report ASAP.

                          Comment


                            #14
                            Re: Google maps breaks ssl

                            Did this ever get fixed? I just added SSL and now the Alternate View that shows Google Maps does not works. I get a blank tab. Use SSL is checked. Use Google Maps Premier is unchecked.

                            Comment


                              #15
                              Re: Google maps breaks ssl

                              Yes. It's working fine for me in version 12. (Google Premium = False, Use SSL = True)

                              Comment

                              Working...
                              X