Show points on the map.



Hi folks,

I'd like to show a path on a map that hightlight all points like in the
attached screenshot.

When I create a layer and add ChamplaintPoint the app consumes a lot of
memory, and it makes not possible to use it.

I've coded something like this:

for tp in track_points:
    champlain_point = Champlain.Point.new()
    champlain_point.set_location(tp.latitude, tp.longitude)
    layer.add_marker(champlain_point)

Is a way to achieve what you can see on the screenshot in an optimal
option?

Regards!

Attachment: points.png
Description: PNG image



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]