Hoppa till huvudinnehållet

Add coordinates as point in feature service

Kommentarer

1 kommentar

  • Permanently deleted user
    Get the x and y as type double.

     

    then an assign activity:

     

    geometry = new MapPoint(x,y) 

     

    or 

     

    geometry =  new MapPoint(x,y, spatialreference)

     

     

    where spatialreference is an object with the needed spatialreference. 

     

    For example   spatialreference = new SpatialReference(4326)

     

    Then you have a MapPoint geometry to pan / zoom to and save to a Featureservice.
    0

Du måste logga in om du vill lämna en kommentar.