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
close icon

False location for french country

Hi, 
I use our map but when i tried to add "French" the location was false.
I have added  "Belgium" , "Italy" ..and others country , the location was correct  but
for "French" the location in map was false (near brazil)

Have you a solution for this problem ?

Notes
---------------------------
I use the last version for wpf 

8 Replies

EM Emmanuel Mbangas September 30, 2013 11:18 AM UTC

Hi, 
I use your map but when i tried to add "French" the location was false.
I have added  "Belgium" , "Italy" ..and others country , the location was correct  but
for "French" the location in map was false (near brazil)

Have you a solution for this problem ?

Notes
---------------------------
I use the last version for wpf 


JO Joy Oyiess Rex  K Syncfusion Team October 1, 2013 10:01 AM UTC

Hi Emb,

 

Thanks for your interest in Syncfusion products.

 

We suspect that, the mentioned issue is due to the *shp or *.dbf file you are using in your sample. So could you please provide us the reproducing sample, so that we can analyse more and provide you possible solution.

 

Please let us know, if you have any concerns.

 

Regards,

Joy Oyiess Rex K


EM Emmanuel Mbangas October 2, 2013 05:30 AM UTC

HI, Joy Oyiess Rex  K

this is mys steps :

1- I Have had thes country like this :
countries.Add(new Country() { NAME = "Belgium", Population = 3706690 });
countries.Add(new Country() { NAME = "France", Population = 64057792, Continent = "Europe" });

2-  Map in xaml file

            <syncfusion:SfMap.Layers>
                <syncfusion:ShapeFileLayer Background="White" ItemsSource="{Binding Countries}" ShapeIDPath="NAME" ShapeIDTableField="NAME" Uri="HeatMap.ShapeFiles.world1.shp">
                    <syncfusion:ShapeFileLayer.ItemsTemplate>
                        <DataTemplate>
                            <Grid Background="#332D2D2D">
                                <TextBlock Margin="5" Foreground="White" Opacity="1" FontSize="12" FontWeight="SemiBold" FontFamily="Segoe UI" Text="{Binding Data.NAME}"/>
                            </Grid>
                        </DataTemplate>
                    </syncfusion:ShapeFileLayer.ItemsTemplate>
                    <syncfusion:ShapeFileLayer.ShapeSettings>
                        <syncfusion:ShapeSetting ShapeFill="#E5E5E5" ShapeStroke="#C1C1C1" ShapeStrokeThickness="0.5" ShapeValuePath="Population" >
                            <syncfusion:ShapeSetting.FillSetting>
                                <syncfusion:ShapeFillSetting AutoFillColors="False">
                                    <syncfusion:ShapeFillSetting.ColorMappings>
                                        <syncfusion:RangeColorMapping Range="1500000000" Color="#2A91CF"/>
                                        <syncfusion:RangeColorMapping Range="750000000" Color="#3D9FD8"/>
                                        <syncfusion:RangeColorMapping Range="0" Color="#C7E9FA"/>
                                    </syncfusion:ShapeFillSetting.ColorMappings>
                                </syncfusion:ShapeFillSetting>
                            </syncfusion:ShapeSetting.FillSetting>
                        </syncfusion:ShapeSetting>
                    </syncfusion:ShapeFileLayer.ShapeSettings>
                </syncfusion:ShapeFileLayer>
            </syncfusion:SfMap.Layers>
        </syncfusion:SfMap>

I join the result :


Notes :
I opened the database file world1.dbf and i think there is mistke (France have 3 items
- Item 1 :  French south thern
- item2 : Frence
- item3 : New caledonia

I tried to change the database file but the map output doesn't change.

I join 1 images :
-  items in database file
- : map output 



bug_1cd2c56a.rar


JO Joy Oyiess Rex  K Syncfusion Team October 4, 2013 12:37 PM UTC

Hi Emb,

 

Thank you for provide us more details about the issue.

 

As mentioned in your previous update, the dbf file is not wrong for having three items for France, since they are comes under the constituent lands of the French Republic. That’s why some pat of French Republic displayed near Brazil, named French Guiana.

 

For more detail refer the following links,

 

http://en.wikipedia.org/wiki/File:France-Constituent-Lands.png

 

http://en.wikipedia.org/wiki/French_Guiana

 

http://en.wikipedia.org/wiki/Overseas_departments_and_territories_of_France

 

As all the constituent lands of French Republic come under same path in the shp file which we have used in our sample.

 

We are analysing on your requirement, we will update you the detail in one business day.(Oct 7, 2013)

 

Note:

Each record in the .dbf file is associated with the each shape in the shape file(.shp). Shapes in the shp file and records in the .dbf file are organized in the same sequence. Therefore, the nth shape in the main file is associated with nth record in the .dbf file.

Please let us know, if you need any further assistance.

 

Regards,

Joy Oyiess Rex K



EM Emmanuel Mbangas January 30, 2014 07:22 PM UTC

It's possible to add in BubbleVisualization , French in Europe but not 
French south thern OR New caledonia


SA Saravanan A Syncfusion Team January 31, 2014 11:22 AM UTC

Hi Emb,

 

Based on your requirement we have prepared a sample and you can download the same from the below attachment. In the attached sample we have shown bubble visualization based on population data of France.

 

Please let us know if you need any further clarifications.

 

Regards,

Saravanan A



BubbleVisualization_french_f29581f9.zip


EM Emmanuel Mbangas January 31, 2014 12:22 PM UTC

Hi Saravanan A;
Thanks for your response but it's not that i want.

This is that i want :
I would like to add French (in Europe) country in world BubbleVisualization Map.
The problem is when I  add French country i have in output  3 items for French :
- Item 1 :  French south thern
- item2 : Frence (Europe)
- item3 : New caledonia

I want only item2 (Frence) in  world BubbleVisualization Map .
Have you got a solution ?


SA Saravanan A Syncfusion Team February 3, 2014 05:19 AM UTC

Hi Emb,

 

Currently we don’t have any direct support for visualizing the France(in Europe) alone in world map. But your requirement of showing the bubble visualization for France(in Europe) alone can be achieved by using the SubLayer support in Maps control. Based on you requirement we have prepared the sample and the same can be downloaded from the attachment.

 

In the attached sample we have added the France(in Europe) as a SubLayer to world map and included the bubble settings for both main layer and sub layer separately. And used different collections for both main layer and sub layer with some dummy data to match the bubble size for both layer.

 

Please let us know if you need any further clarifications on this.

 

Regards,

Saravanan A



BubbleVisualization_c6da411a.zip

Loader.
Live Chat Icon For mobile
Up arrow icon