Forum: PogamutUT2004

Number of NavPoints (originally posted by BEvans)

Hi,

How would I obtain the number of navPoints present in the map through Pogamut? I have looked through the javadocs and tutorials however there appears to be no mention of how to do this. I could do a work around however it would be rather messy and involve more computation than i feel is required.
Thanks
What about this:

int numberOfNavPoints = getWorldView().getAll(NavPoint.class).values().size();

?

Best,
michal