code: def map_coords(func, obj):
      
  
      def tuple_func(coord):
          return (func(coord[0]), func(coord[1]))
  
      return map_tuples(tuple_func, obj)
docs: Returns the mapped coordinates from a Geometry after applying the provided
      function to each dimension in tuples list (ie, linear scaling).
  
      :param func: Function to apply to individual coordinate values
      independently
      :type func: function
      :param obj: A geometry or feature to extract the coordinates from.
      :type obj: Point, LineString, MultiPoint, MultiLineString, Polygon,
      MultiPolygon
      :return: The result of applying the function to each dimension in the
      array.
      :rtype: list
      :raises ValueError: if the provided object is not GeoJSON.