语言

Menu
Sites
Language
Draw over graphical items

Hello to all,

   I want to draw, for example a point, over graphical item using pixel coordenates, for example, a point avoer a map object, but in another layer, I dont want this point move when I scoll the map, I want this point always in the center of the map visor. Anyone did?

Thanks as always!

响应

3 回复
Shaswati Saha

You may use floating button in this purpose. Please go through this link and also have a look into the create_base_gui() function of the UIComponents sample app.

Carlos Dominguez

Hi Saha,

Thanks for answer, But I need to draw a small point, not a big button. Anyway very interesting

Shaswati Saha

Hi Carlos,

Will changing the image of the button to a custom one (like an image with a point only) fullfill the requirement?