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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to get the map detail

Thread ID:

Created:

Updated:

Platform:

Replies:

149860 Dec 11,2019 09:47 PM UTC May 25,2020 09:47 AM UTC ASP.NET Core - EJ 2 5
loading
Tags: Maps
Marc SOLDAT
Asked On December 11, 2019 09:47 PM UTC

Hello,

I try to figure how to get the map detail.
I generated an example with your sample creator, using the map control with all the options ON.
I downloaded this map :

On this site, the example shows this map has a lot of details : Roads, "houses", names of places...

When using in your sample, I only get the general shapes.

Can you show me the code to get all theses details please ?

BEsts regards
Marc SOLDAT

Baby Palanidurai [Syncfusion]
Replied On December 12, 2019 07:21 AM UTC

Hi Marc, 

Greetings from Syncfusion. 

We have analyzed your query and checked your geojson (which you have provided) in our sample and mapshaper.org site. Both are the same result which are showing general shapes only. We do not have support to access the details which you required.  
Please find the below screenshot for our sample and mapshaper output. 
Syncfusion maps: 
 

Mapshaper.org: 
 

We are having sublayers, markers, annotations and navigation lines support. You can place the lines between more than two places by using navigation lines. And you can place the custom shapes and elements by using markers and annotations.  
Please find the below documentation and demo links, 

Sublayers:  

Markers:  

Annotations:  

Navigation lines:  


Kindly revert us, if you have any concerns. 


Regards, 
Baby. 


Marc SOLDAT
Replied On December 12, 2019 02:34 PM UTC

Thank's for the reply.
I guess there's a question of "format" ?
If I try to fond another json map, what kind / format do you think I should try ?

Bests regards

Indumathi Ravi [Syncfusion]
Replied On December 13, 2019 11:34 AM UTC

Hi Marc, 

We have analyzed your query and provided the sample based on your scenario “Add another shape in the layer”. As a sublayer, you can add the shape. In the attached sample, we have added the world map as a layer and then we have added another shape(India) as a sublayer.  

Please find the below sample link for your references, 

Kindly revert us,  if we have miss understood your query and share the requested details of your scenario. 

Regards, 
Indumathi R 


Marc SOLDAT
Replied On May 23, 2020 04:11 PM UTC

Hello,

I'm coming back on this subject. I learnta little more about maps, json and so on.
I tried your sample and it's clear and easy, so thank's.
I've been to MapShaper, and I saw that the first file I sent you we exactly what you said it was.

So today, I tried to go a little further.
I tried to merge 2 files on mapshaper :
- France3.json => I can utse it on your sample or a sample I made on my own.
- InitRfn.geojson => A file provided by my client => This one, I can't see nothing on both samples..

On map shaper :
- I made on file with theses 2 (rfn.json).
- If I load it again on mapshaper, I can see both "layers/maps", so I guess it's ok

But if I use this new file on both samples, once again, there's no map ....
Can you help me with that please ?
The files are provided in this reply

Bests regards
Marc SOLDAT

Attachment: Maps_SyncFusion_51882054.zip

Swetha Babu [Syncfusion]
Replied On May 25, 2020 09:47 AM UTC

Hi Marc, 

Thank you for your update. 

We cannot combine two shape data in a single json file. Instead, if you need to add the two layers in the maps control, then you need to add two layers with the two separate JSON files as shape data. Then you must set the layer type as “SubLayer” for any one layer. Please find the below sample link for your reference. 


In the above sample, we have added the France as the sublayer in the world map layer. 

Please let us know if you need further assistance. 

Regards, 
Swetha Babu

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon