[ka-Map-users] Drawing lines dynamically on top of kaMap
karrarm at yahoo.com
Fri Sep 15 18:19:24 EDT 2006
How about using KaXmlOverlay with kaXmlLinestring
object. Has anyone used this successfully?
--- Stephen Woodbridge <woodbri at swoodbridge.com>
> ramesh karra wrote:
> > Thank you very much for the quick response
> stephen! I
> > will look into the archives.
> > I have a quick question -
> > What is the most efficient way to do this if the
> > number of points is small (say < 30).
> I think some people have mentioned doing it in
> which library, but one of them has some basic line
> drawing capabilities.
> I think you will find it in the archives, or someone
> else might respond
> to this thread.
> > Thanks
> > Ramesh
> > --- Stephen Woodbridge <woodbri at swoodbridge.com>
> > wrote:
> >> ramesh karra wrote:
> >>> Hi,
> >>> Currently, I can successfully display a map
> >> generated
> >>> from a map file using mapserver and kaMap.
> >>> I would like to know what is the best way to
> >> a
> >>> dynamic line(or route) as a layer on top of this
> >> map
> >>> given that the data I have is a sequence of
> >>> represented by lattitude and longitude (and not
> >>> some shape file or postgres db)
> >> Ramesh,
> >> There has been a lot of discussion on this, you
> >> might want to search the
> >> archives. To summarize, there is no good way to
> >> this on the client
> >> yet. You can do it for a few line segments, but
> >> performance rapidly
> >> degrades to unacceptable as you start pushing
> >> about 50 points.
> >> I think what a lot of people, well those that
> >> actually implemented
> >> something are doing it server side. The scenario
> >> as follows:
> >> 1) put your points into a session storage
> >> 2) modify the client to request a route image on
> >> viewport extents change
> >> 3) have a php, or cgi script read the session
> >> and the viewport
> >> extents and scale and generate an image that is
> >> returned to the client
> >> 4) have the client pin the image to the viewport.
> >> This is basically the way that google is doing
> >> You can get a little
> >> bit smarter on the client to not make requests
> >> the view port
> >> extents change if you don't need to redraw the
> >> image.
> >> -Steve W.
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the ka-Map-users