SetLayerUserData¶
- globalmapper.SetLayerUserData(GM_LayerHandle_t32 aLayer, int aUserData) GM_Error_t32 [source]¶
Sets the user data to associate with the layer. This value can be retrieved by calling GetLayerInfo. This is useful if you want to tie some structure or value to a particular layer without maintaining your own separate layer to value mapping.
- Parameters:
aLayer (GM_LayerHandle_t32) – layer to set user data for
aUserData (int) – User data pointer/value to associate with layer
- Returns:
Error Code
- Return type:
GM_Error_t32