hi everyone....! sorry to say but i need some help from you. If you guide me then i will be very helpful to you. Actually i am stuck at the point of displaying pop up window for open street map. I have been searching in the google but in vain.i am trying for more than a week. Still trying. If you can give me some useful link or suggestion then i would be very grateful to you. I am using java swing and i displayed open street map in a JPanel by going through the links and taking help....
You need to be more specific about your requirement. From the API, JKMapViewer inherits from Component, so the procedure for showing a popup should be the same as for any Component. Read the API for PopupFactory and Popup for more information.
There are no new questions, but there may be new answers.
Joined: Mar 13, 2011
Thank you for your reply. Actually i need to show some popup window in some particular locations of the map based according to latitude and longitude and in that popup window i need to show some weather parameters like temperature, rainfall. Please guide me i could not able to find any way to proceed further.
For that you can use a JWindow owned by the JFrame, with a JLabel or two added to it -- or maybe you want a JToolTip? I think you need to experiment with these approaches (and any other that come to mind) and get back when you have a more specific question.