How to create a map point using latitude longitude

1197
3
02-12-2018 01:42 AM
AdarshSharma
New Contributor II

I am using arc gis api for java script  and i want to create a map point using latitude longitude of the location from the Sql table. is there any utility to convert latitude longitude to map point.

can anyone suggest me which method i use to solve this problem 

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Adarsh,

  The JS API Point class can take an lat lon or XY in its constructor.

Point | API Reference | ArcGIS API for JavaScript 3.23 

0 Kudos
AdarshSharma
New Contributor II

Thanks but how to store this point in spacial table SQL database and publish as a map service layer using arcmap(10.3.1).  actually i want to perform identify task on this points 

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor

Adrash,

   For that you will need an ArcGIS Server or AGOL account and to publish the to your ArcGIS Server or AGOL from ArcGIS Desktop.