4 Replies Latest reply on Oct 11, 2010 8:11 AM by lvdberg

    finding route segments via jboss-seam

    sadiquekatihar

      I want to get route segments through google map if starting and destination points (latitude and longitudes points ) are given by user. I have to just store all the route segments at each turn on the route.


      How can i implements this on jboss-seam. and What external jars have i need to include in my project


      Could any one help me on this regard.

        • 1. Re: finding route segments via jboss-seam
          amitev

          Seam won't help you with that. Look for other ways.

          • 2. Re: finding route segments via jboss-seam
            lvdberg

            Hi,


            If I understand you well you just want Seam to store/handle all relevant information which will be retrieved from Google maps. Be aware that this functionality must be provided by Google, and that Seam only can be used to interact with the server,


            I advice to take a look at Primefaces which has a rudmentary first JSF wrapper for the Google API (version 3 !!) basic map handling is handled in this component,


            Furthermore you need to interact with the routing part of the map and send all relavant results to the server. This can be accomplished with Seam-remote which is javascript code running in your browser and the server code. 


            We did this for one of our applications and it really works good, as long as Google keeps running correctly.
            Due to the nature of javascript: If something goes wrong everything goes wrong. In other words if Maps hangs, your whole page hangs. So put the map in an iFrame!!




            Leo

            • 3. Re: finding route segments via jboss-seam
              sadiquekatihar

              Dear Leo



              Thanks a lot for your precious advice.


              I am trying google Map API 3 for my requirement.But it seems to me very tedious approach could you help me how can i integrate this API in my seam application.


              Please help me regarding this.

              • 4. Re: finding route segments via jboss-seam
                lvdberg

                Hi,


                As mentioned look at Primefaces for the basic Google API functionality. I would like to help you with interfacing Google backed by Seam, but unfortunately we have signed a non-disclosure on that specific part.


                Sorry,

                Leo