Wednesday May 3, 2006

GoogleMaps Taglib

I just found out about the GoogleMaps JSP Taglibrary. It can be as easy as this, but also allows a lot of other usages.

<googlemaps:map id="map" width="250" height="300"
      version="2" type="STREET" zoom="12">
  <googlemaps:key domain="localhost" key="xxxx"/>
  <googlemaps:point id="point1" address="74 Connors Lane"
        city="Elkton" state="MD" zipcode="21921" country="US"/>
  <googlemaps:marker id="marker1" point="point1"/>
</googlemaps:map>
Great stuff!

Posted on May 3, 2006 at 23:51 (MET) | Permalink | Add comment