Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] Adding an image to the map

Hey, 

I am trying to add a construction-site image to a map. 

The approach I chose was to create modal tool and a class that extends AbstractDrawCommand and having it's run method use the ViewportGraphics instance draw the image.

The thing is, the image gets drawn upon a mouse click. When I click again instead of getting another 
image it removes the old one and draws a new image.

I think it's not the way to go. I need to have those images persist so when I open uDig again they show up again.

Ideally these construction sites should be stored in a PostGIS database as points and then displayed as those little images.

So, how would I implement such a thing?


Thank you & best regards, 

Sebastian


Back to the top