[ka-Map-users] Drawing routes in ka-map

Peter Giencke pgiencke at glc.org
Tue Oct 4 15:05:28 EDT 2005


Brent,
 
Nice. How easy is it to remove the route after it's created? I can see a
user clicking on an area, highlighting it, and removing the highlight from
the previously clicked entity. Oh PS, the page isn't loading in IE because
you didn't close your style tag <style/>.
 
-pete

  _____  

From: ka-map-users-bounces at lists.maptools.org
[mailto:ka-map-users-bounces at lists.maptools.org] On Behalf Of Brent Pedersen
Sent: Tuesday, October 04, 2005 12:34 PM
To: ka-map-users at lists.maptools.org
Subject: Re: [ka-Map-users] Drawing routes in ka-map


hi, i've been tinkering with this, finally got it working--still some bugs:

javascript for polyline class at:
http://128.32.253.220/draw/polyline.js
perl GD script at:
http://128.32.253.220/draw/polyline.pl.txt
example at:
http://128.32.253.220/kamapdev/htdocs/index2.html

i have drawn polylines with 16,000+ pts and it works fine. there seems to be
no problem even if the images are fairly large--though things get a little
slower, it is probably better to use w. zorn's library for extremely large
polylines. or at least break up the image....

also, as it is now, all points are stored in the polyline object. there's a
better way to do it but it involves more accounting and i haven't got around
to that yet. 

-brent


On 9/29/05, Stephen Woodbridge <woodbri at swoodbridge.com> wrote: 

Paul, et al,

What are the prevailing thoughts on how to draw routes as overlays in
ka-map?

The number of points and be quite extensive, especially if someone
generates a route across the US.

-Steve W. 
_______________________________________________
ka-Map-users mailing list
ka-Map-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/ka-map-users



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20051004/74a4564b/attachment.html


More information about the ka-Map-users mailing list