Friday, 29 September 2017

Drawing circles on map using OpenLayers 3?


I want to draw circles of certain radius on a map using openlayers . But the latitude,longitude & radius values are given in a excel sheet.


How do I do this work in OpenLayers?


I heard that OpenLayers doesn't take data from excel sheet so to which format I have to change my excel file?


And how to draw circles on the map?



Answer



Circles in Openlayers



http://geographika.co.uk/samples/geodesic/


http://geographika.co.uk/creating-a-geodesic-circle-in-openlayers you will need your data in json - Google Spreadsheets can do this


http://spreadsheets.google.com/feeds/feed/key/worksheet/public/basic?alt=json-in-script&callback=myFunc

http://code.google.com/apis/gdata/samples/spreadsheet_sample.html


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...