Yes there is. See the query_point or query_map_point functions of the  
Mapnik::map class.

Dane



On Sep 25, 2009, at 1:34 PM, Eugen Kondrashev <[email protected]>  
wrote:

> Hi!
> I have a quastion about mapnik features.  I've played with mapnik
> examples for some time, but didn't found an answer.
> So,
> Is there a possibility to highlight a target object by a click?
> For example if we have a map with a number of roads and buildings,  
> is it
> possible to change a color/size of one road(building) having clicked
> (x,y) coords only.
> Knowing that output image is depended on applied xml and differs from
> shape file data, I hardly can imagine if it is possible.
> Please let me know if there is such a possibility and if so, how can i
> organize it?
> Thanks!
>
> --
> Eugen Kondrashev.
> _______________________________________________
> Mapnik-devel mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-devel
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to