Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
615
xamMap with Openstreet source can't load in release enviroment
posted

Dear,

I'm testing with xamMap with data source as openstreet:

<ig:XamMap Grid.Column="0" x:Name="xamMap" WindowAnimationMode="None" IsAutoWorldRect="True" ViewportBackground="#FFB4CFCF"

                   WindowZoomMaximum="30" MapProjectionType="SphericalMercator" Loaded="theMap_Loaded" DataContext="{Binding}" WindowZoomMinimum="0" MouseRightButtonDown="xamMap_MouseRightButtonDown">

                                <!-- TODO: Add Map Layer -->

                                <ig:XamMap.MapTileSource>

                                    <ig:OpenStreetMapTileSource x:Name="openStreetsTileSource" />

                                </ig:XamMap.MapTileSource>

                                <ig:XamMap.Layers>

                                    <ig:MapLayer x:Name="mappointLayer" >

                                    </ig:MapLayer>

                                </ig:XamMap.Layers>

                                <ig:MapNavigationPane HorizontalAlignment="Right" Margin="285,0,0,0" Name="mapNavigationPane1" VerticalAlignment="Top" Width="103" VerticalContentAlignment="Top" HorizontalContentAlignment="Right" />

                            </ig:XamMap>

Everything run fine in debug mode but has a problem when I build with release configuration and host into localhost IIS for testing. xamMap display with blank has no map.

Please help me if I have any wrong or lacking something.

Thanks

Han

Parents Reply Children
No Data