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

RadMap - ssl

1 Answer 58 Views
Map
This is a migrated thread and some comments may be shown as answers.
Entropy69
Top achievements
Rank 1
Veteran
Entropy69 asked on 26 Jun 2018, 06:58 AM
When I publish a page with a RadMap control on it and run it with SSL, the page apparently has mixed content and does not show the green badge. I assume then calls to the mapservice are still http, is there a way to fix this?

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 27 Jun 2018, 11:48 AM
Hi Walther,

In such a case, you'd have to move the tile service URL template to use HTTPS. For example:

<telerik:RadMap RenderMode="Lightweight" runat="server" ID="RadMap1" Zoom="4" MaxZoom="18">
    <CenterSettings Latitude="30.455" Longitude="-84.2533" />
    <LayersCollection>
        <telerik:MapLayer Type="Tile" Subdomains="a,b,c"
            UrlTemplate="https://#= subdomain #.tile.thunderforest.com/cycle/#= zoom #/#= x #/#= y #.png"
            Attribution="Maps © <a href='https://www.thunderforest.com'>Thunderforest</a>, Data © <a href='https://www.openstreetmap.org/copyright'>OpenStreetMap contributors</a>.">
        </telerik:MapLayer>
    </LayersCollection>
</telerik:RadMap>


Regards,
Marin Bratanov
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Map
Asked by
Entropy69
Top achievements
Rank 1
Veteran
Answers by
Marin Bratanov
Telerik team
Share this question
or