List the Named Tiles In the Repository - spectrum_spatial - Latest

Spectrum Spatial Guide

Product type
Software
Portfolio
Locate
Product family
Spectrumâ„¢ software
Product
Spectrumâ„¢ software > Spatial > Spectrum Spatial
Version
Latest
ft:locale
en-US
Product name
Spectrum Technology Platform
ft:title
Spectrum Spatial Guide
Copyright
2025
First publish date
2007
ft:lastEdition
2026-02-13
ft:lastPublication
2026-02-13T17:17:07.540000
L1_Product_Gateway
Locate
L2_Product_Segment
Location Intelligence
L3_Product_Brand
Precisely Spectrum Spatial
L4_Investment_Segment
LI Enterprise
L5_Product_Group
Enterprise LI
L6_Product_Name
Spectrum Spatial

This web page uses a JavaScript call to the Map Tiling Service's REST interface to list the named tiles in the repository. The list of named tiles that is returned in the response is then displayed in a JavaScript alert box.

Here is the code:


<html>
    <body>
        <script type="text/javascript">
            function submitform()
            {
                //Create an XMLHttpRequest object or try ActiveX
                var req;
                if (typeof XMLHttpRequest != "undefined")
                {
                    req = new XMLHttpRequest();
                }
                else
                {
                    try
                    {
                        req = new ActiveXObject("Msxml2.XMLHTTP");
                    }
                    catch (e)
                    {
                        req = new ActiveXObject("Microsoft.XHTTP");
                    }
                }

                // populate the request, username and password
                var reqString = document.getElementById('request').value;
                var userName = document.getElementById('user').value;
                var password = document.getElementById('password').value;

                //Execute the REST request against a server secured with Basic Authentication
                req.open("GET", reqString, false, userName, password);
                req.send();

                //Display the response
                resp = req.response;
                alert(resp);
            }
        </script>
        <form action="javascript: submitform()">
            User: <input type="text" name="User" id="user" value="admin"/>   Password: <input type="password" name="Password" id="password" value="admin"/><br />
            Request: <input type="text" name="request" id="request" value="http://<server>:<port>/rest/Spatial/MapTilingService/mapList.json"/><br />
            <input type="submit" value="Submit" />
        </form>
    </body>
</html>