Forum > General

GIS Library for Lazarus

<< < (5/6) > >>

stab:
Regarding selecting feature by mouse, you have it already, just check HitTest and click in a shape. In the version you have right now, all features will show up, but current attribute is marked. I've a new version where just attributes for the selected is shown.
Working on  zoomin, zoomout,pan and your problem with somewhat jagged borders.

stab:
Have been testing quite a bit to achieve fast drawing, am not satisfied but
think someone smarter than me have to fix that.

You now have zoom, pan and antialiasing.

Included in the zip file is a new component ShapeObBGRA that draws on a
TBGRAGraphicControl that handles antialiasing and removes jagged borders.

If you or someone else improves the component I'd be glad to have a copy.

winni:
@stab

Hi!

You forgot the dir auxiliary with the file shapeobjbgra.pas  in your zip file.

Winni

stab:
Sorry, new zip file included test shapefile :o

winni:
Hi!

First shot:


--- Code: Text  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---ShapeObj.pas(5595,58) Error: Call by var for arg no. 5 has to match exactly: Got "Double" expected "Extended" 
On Linux64

Winni

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version