Skip to content

Instantly share code, notes, and snippets.

@deanhume
Created March 15, 2018 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deanhume/ca2c721803e1f889c293651f4a96149a to your computer and use it in GitHub Desktop.
Save deanhume/ca2c721803e1f889c293651f4a96149a to your computer and use it in GitHub Desktop.
GetMarkers
public ActionResult GetMarkers()
{
// This would normally be our call to the Db,
// else we could populate this
// with some data as Ive done here.
MarkerList markers = GetMarkersObjects();
return Json(markers, JsonRequestBehavior.AllowGet);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment