We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Map not displaying on device

Hello, I am have a strange issue where the SfMap (v15.2.0.46) displays and performs as expected in the iOS emulator but when deployed to a physical device the SfMap does not show and no errors are thrown. 

The code is largely unchanged from the samples (couldn't get the sample app to display a map either).

<ContentPage.Content>
        <Grid x:Name="GridMain">
            <Grid.RowDefinitions>
                <RowDefinition Height="50"/>
                <RowDefinition Height="*"/>
                </Grid.RowDefinitions>
            <Label Grid.Row="0" Text="Tap A State For Coverage Information" FontSize="Large"/>
        <maps:SfMaps Grid.Row="1" x:Name="Map">                     
        <maps:SfMaps.Layers>                
            <maps:ShapeFileLayer
                    EnableSelection="true" 
            ShapeIDPath="Name" ShapeIDTableField="STATE_NAME" 
                    ShapeSelected="Handle_ShapeSelected"  Uri="usa_state.shp">        
                    <maps:ShapeFileLayer.ShapeSettings>
                        <maps:ShapeSetting ShapeFill="#FECB46" ShapeColorValuePath="Type">
                            <maps:ShapeSetting.ColorMappings>
                                    <maps:EqualColorMapping  Value="0"  Color="#5F2675"/>
                                    <maps:EqualColorMapping  Value="1"  Color="#E54D42"/>
                                    <maps:EqualColorMapping  Value="2"  Color="#3A99D9"/>
                                    <maps:EqualColorMapping  Value="3"  Color="#29BB9C"/>
                                    <maps:EqualColorMapping  Value="4"  Color="#FD8C48"/>
                                    <maps:EqualColorMapping  Value="5"  Color="#F8E71C"/>
                                    <maps:EqualColorMapping  Value="6"  Color="#1FCA49"/>
                                    <maps:EqualColorMapping  Value="7"  Color="#BD10E0"/>
                                    <maps:EqualColorMapping  Value="8"  Color="#417505"/>
                                    <maps:EqualColorMapping  Value="9"  Color="#50E3C2"/>
                                    <maps:EqualColorMapping  Value="10" Color="#FECB46"/>
                                </maps:ShapeSetting.ColorMappings>
                        </maps:ShapeSetting>
                    </maps:ShapeFileLayer.ShapeSettings>
            </maps:ShapeFileLayer>           
        </maps:SfMaps.Layers>        
    </maps:SfMaps>
            </Grid>
    </ContentPage.Content>
 

Any help/suggestions would be most appreciated. 

1 Reply

AK Ashwin Kumaravel Syncfusion Team July 18, 2017 09:29 AM UTC

Hi Jason,

Thanks for using Syncfusion products,

We could reproduce the reported issue “Map not displaying on device” at our end. And we have logged a defect report regarding the same. A support incident to track the status of this defect has been created under your account.

Please log on to our support website to check for further updates.

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents/  

Regards,
Ashwin


Loader.
Up arrow icon