This question already has an answer here:
var geometry = /* color: #d63000 */ee.Geometry.Polygon( [[[-67.76435852050781, -22.213792811479802], [-67.76641845703125, -22.220785143658368], [-67.75646209716797, -22.228412744835992], [-67.74410247802734, -22.230319580297703], [-67.7420425415039, -22.221420792936158], [-67.74341583251953, -22.212203596469955], [-67.74787902832031, -22.207753698686023], [-67.75543212890625, -22.213474969917876]]]);
CODE I have tried :
var fg_points = ee.Feature(geometry);
I thought if we give geometry as a feature it will select all points in that polygon but it isn't.
I have used randomPoints command but it is not evenly selecting all the points what I want is at least a point from each pixel. and the randomPoints command is selecting the same points again and again.