mdwfp

google-maps-utility-library-v3.googlecode accessing Secured Services from AGS

Discussion created by mdwfp on Jun 30, 2014
Does anyone know how to display Secured Map Service  from AGS within
the google-maps-utility-library-v3?
If we login to our AGS and launch our mapping application the Secured service will load, of
course we cannot always login to the application to see these services.

Is there a way to put the token within the code below?

<script type="text/javascript">
        function initialize() {
            var myLatlng = new google.maps.LatLng(32.3411765, -90.150028);

            var mapOptions = {
                center: new google.maps.LatLng(32.329, -90.273),
                zoom: 8,
                mapTypeId: google.maps.MapTypeId.TERRAIN
            };

            var map = new google.maps.Map(document.getElementById("map-canvas"), mapOptions);
      
                     
            var mapServiceURL = 'https://testone.com/arcgis/rest/services/folder/test/MapServer'

        }
        google.maps.event.addDomListener(window, 'load', initialize);
    </script>

Outcomes