Two Laptop Bag
The moose likes Portals and Portlets and the fly likes Googlemaps portlet? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Googlemaps portlet?" Watch "Googlemaps portlet?" New topic

Googlemaps portlet?

Tahir Malik

Joined: Mar 02, 2009
Posts: 3
Hi I want to create a googlemaps portlet.

Does anyone already developed one?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Liferay seems to have such a portlet. And since Liferay is open source you should be able to get at the source of that portlet too.
Tahir Malik

Joined: Mar 02, 2009
Posts: 3
I did try to download it, but I couldn't extract the code...
Michael A Hoffman
Ranch Hand

Joined: Mar 04, 2009
Posts: 37

What Portal are you developing one for? I wrote one for IBM WPS and found I needed to have a custom theme to make the portlet work. The issue you may face is that most of the mapping solutions require you to include the map call as part of the HTML body onLoad. When the body of the page is loaded, the map is loaded into the specified HTML container. Google may have provided a hook though that gets you away from having to do this to support portlets. Once you have that solved, it should be very easy to roll out one of your own.
Tahir Malik

Joined: Mar 02, 2009
Posts: 3
I've just installed wps 6.0

Ok, The liferay portlet is a quite good one. But I have to try to get it working in WPS.
Can you send me your portlet?
I agree. Here's the link:
subject: Googlemaps portlet?
It's not a secret anymore!