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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Map not displaying on device

Thread ID:

Created:

Updated:

Platform:

Replies:

131580 Jul 17,2017 10:20 PM UTC Jul 18,2017 09:29 AM UTC Xamarin.Forms 1
loading
Tags: SfMaps
Jason
Asked On July 17, 2017 10:20 PM UTC

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. 

Ashwin Kumaravel [Syncfusion]
Replied On 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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;