Blank Map

3 posts, 1 answers
  1. RBarnes
    RBarnes avatar
    46 posts
    Member since:
    Oct 2012

    Posted 03 Dec 2014 Link to this post

    I've apparently missing something, regardless of what I do, all I get with the RadMap Control is the navigator and zoom.  Nothing else, just a blank page.

    <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="TestMap.aspx.vb" Inherits="TestWebRoot.TestMap" %>
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
     
    <!DOCTYPE html>
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">  
            <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
                <Scripts>
                    <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js">
                    </asp:ScriptReference>
                    <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js">
                    </asp:ScriptReference>
                    <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js">
                    </asp:ScriptReference>
                </Scripts>
            </telerik:RadScriptManager>
            <telerik:RadMap runat="server" ID="RadMap1">
            </telerik:RadMap>  
        </form>
    </body>
    </html>

  2. Answer
    Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 04 Dec 2014 Link to this post

    Hi,

    The developer must define the information RadMap will show. The easiest way is to add a TileLayer: http://www.telerik.com/help/aspnet-ajax/map-tile-layers.html as shown in the getting started tutorial: http://www.telerik.com/help/aspnet-ajax/map-getting-started.html.


    Regards,

    Marin Bratanov
    Telerik
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. RBarnes
    RBarnes avatar
    46 posts
    Member since:
    Oct 2012

    Posted 04 Dec 2014 in reply to Marin Bratanov Link to this post

    Thanks, that's what I was missing.

Back to Top