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

Soft for "drawing" .json files.

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.   


3 Replies

SK Saravana Kumar Kanagavel Syncfusion Team 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 



IL Ilya 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?"


DD Dharanidharan Dharmasivam Syncfusion Team 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. 


Loader.
Up arrow icon