This is a migrated thread and some comments may be shown as answers.

Blank Map

2 Answers 84 Views
Map
This is a migrated thread and some comments may be shown as answers.
RBarnes
Top achievements
Rank 1
RBarnes asked on 03 Dec 2014, 10:31 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Marin Bratanov
Telerik team
answered on 04 Dec 2014, 09:44 AM

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
0
RBarnes
Top achievements
Rank 1
answered on 04 Dec 2014, 02:19 PM
Thanks, that's what I was missing.

‚Äč
Tags
Map
Asked by
RBarnes
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
RBarnes
Top achievements
Rank 1
Share this question
or