globalmapper.GetLocationColor ============================= .. currentmodule:: globalmapper .. py:function:: GetLocationColor (GM_LayerHandle_t32 aLayer, float aXCoord, float aYCoord) -> GM_Error_t32, GM_Color_t Retrieves the color at a given location from a provided layer or from the list of currently loaded raster and elevation layers (topmost layer first). :param GM_LayerHandle_t32 aLayer: Layer to get color from or gm.NULL for topmost :param float aXCoord: X coord in current projection :param float aYCoord: Y coord in current projection :returns: Error Code :rtype: GM_Error_t32 :return: Color of pixel at location :rtype: GM_Color_t