[ka-Map-users] External link to control Map scroll & Polygon overlay

Paul Spencer pspencer at dmsolutions.ca
Thu Aug 3 09:19:21 EDT 2006


Alvin

there is a low level function in the kaMap API called slideBy.   
Unfortunately, this was written to facilitate recenter by doubleclick  
and only works in pixel coordinates.

Ideally we should have an equivalent to the google function panTo  
(used to be called something else) which slides the map if the  
requested location is in the view, otherwise it jumps ...

I think this would be a useful addition but I don't have time to look  
into it right now.

Paul

On 3-Aug-06, at 2:52 AM, Alvin Clay wrote:

> two questions  (unrelated):
>
> 1) I am displaying ka-map on a page with a bunch of overlay points.  
> Underneath the  ka-map div I have a table that displays information  
> about those points. Is there a way to be able to click on a link in  
> each table row and have the map scroll to that point. I'm not sure  
> what javascript function I need to use within the onClick event  
> handler in each link to control the map scrolling. The link in the  
> table can easily include the lat,lon coordinates where the point is  
> located if that helps.
>
> 2) I'd like to draw a semi-transparent circle on the map overlay  
> that has a certain radius and center point. Is there a way in the  
> xmlOverlay to include a polygon that is a circle and has a certain  
> radius in miles?
>
>
> Thanks,
>  Alvin
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users

+-----------------------------------------------------------------+
|Paul Spencer                           pspencer at dmsolutions.ca   |
+-----------------------------------------------------------------+
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+






More information about the ka-Map-users mailing list