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

Soft for "drawing" .json files.

Thread ID:

Created:

Updated:

Platform:

Replies:

127693 Dec 2,2016 05:21 PM UTC Dec 6,2016 10:18 AM UTC ASP.NET Web Forms 3
loading
Tags: Map
Ilya
Asked On December 2, 2016 05:21 PM UTC

Hi. I need to draw a plan of building in web site. I tried to use your MAP-technology. It is very cool, but it is very difficult to draw it manually with coordinates. Do you know maybe some programms, that can help me with it? For example i will draw it with lines and convert it to .json file.   


Saravana Kumar Kanagavel [Syncfusion]
Replied On December 5, 2016 10:41 AM UTC

Hi Ilya, 
Thanks for contacting Syncfusion Support.  
We have analyzed your query. As of now, we have support only three types to draw the map coordinates  
v  Polygon – this is used to draw the any shape. So we have used to draw the map coordinates by using this. 
v  Polyline – this is used to draw the line. That means connecting two points.  
v  Point – This is used to draw the particular position. 
 
If you wish to draw the any shape or any country using polygon, then you should specify the coordinates of format in the below .json format. 
[.json] 
var world_map= 
    { 
     "features": [ 
        { "type": "Feature", "properties": { "admin": "Afghanistan", "name": "Afghanistan", "continent": "Asia" }, "geometry": { "type": "Polygon", "coordinates": [[[61.21081709172573, 35.650072333309218], [62.230651483005879, 35.270663967422287], [62.984662306576588, 35.404040839167614], [63.193538445900337, 35.857165635718907], [63.982895949158696, 36.007957465146596], [64.546479119733888, 36.31207326918426], [64.746105177677393, 37.111817735333297] …………..]] } } 
        { "type": "Feature", "properties": { "admin": "Angola", "name": "Angola", "continent": "Africa" }, "geometry": { "type": "MultiPolygon", "coordinates": [[[[16.326528354567042, -5.877470391466217], [16.573179965896141, -6.622644545115092], [16.860190870845226, -7.222297865429978], [17.089995965247166, -7.545688978712474], [17.472970004962288, -8.068551120641656], [18.134221632569048, -7.987677504104865], [18.464175652752683, -7.847014255406475] …………..]] } } 
] 
} 
 
In the above format is to draw map coordinates using polygon. To know more details about maps.please find the below link 
 
And also please find the demo online link for maps 
 
If your query is misunderstood at out end, kindly revert us with more details regarding this. 
 
Please let us know if you have any concern. 
 
Thanks, 
Saravana Kumar K 


Ilya
Replied On December 5, 2016 11:43 AM UTC

Thank you for answer. But i mean another thing. For example: you need to draw street with buildings. You will manually write every munber in json file? Or you will use some XXX.application, in wich you will draw this, like in Paint, and export in json file?
My ask was: "Do you know any application that can export picture into json file with coordinates?"

Dharanidharan Dharmasivam [Syncfusion]
Replied On December 6, 2016 10:18 AM UTC

Hi Ilya, 

Thanks for your update. 

Currently to draw map or line on map or point on map, you need to pass type and coordinates in json format.  We don’t have any application to convert picture into json format and also can’t able to  find any application for your requirement.  

We wish to let you know that, you can also use Bing/OSM map by specifying LayerType as Bing/OSM. 
 
For your reference we have attached the sample with Bing map. Kindly find the sample from below location. 

Screenshot: 
 

Thanks, 
Dharani. 


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

;