I'm trying to create a simple example for creating GeoJson file.
I read the tool GeoJson.NET, but I do not quite understand how to create this file.
I'll be glad if someone could give me a small example of creating GeoJson with a number of Points, and explain me how I can use it without creating a file, but to transfer the Json to JavaScript file because I want to make a call to the database every user entry system for give the data in real time.
I found the solution to my problem
First Read my answer from the following link: Make points for Google Maps using GeoJSON.Net in C#
After creating GeoJson should return it to JavaScript and then have to use the following line:
map.data.addGeoJson(JSON.parse(result));