Hi,
> Thanks a lot for the improvements. However, I would like to ask you to help
> with one more fix. Now the script fires the requests automatically and it is
> dangerous if user has selected a layer with thousands of features. Could you
> show how to limit the maximum number of requests to 1
Hi Michaël,
Thanks a lot for the improvements. However, I would like to ask you to help
with one more fix. Now the script fires the requests automatically and it is
dangerous if user has selected a layer with thousands of features. Could you
show how to limit the maximum number of requests to
Hi Jukka,
Good job,
With a few more lines, you can get the path in your map
(hereafter, kml parsing is very crude, but it shows how
powerful beanshell scripting can be).
{
import com.vividsolutions.jts.geom.*;
import com.vividsolutions.jts.io.WKTReader;
import com.vividsolutions.jump.feature.*;