Hi!
How can i get locations for Geothermal plants through the Java-Interface?
Map.getResourceMapSpotsPositions(Resource=energy) doesn't work...
The only idea i had, was try and error...
Positions for Geothermal Plants
Moderators: hoijui, Moderators
Re: Positions for Geothermal Plants
Found it myself:
(Pseudo-Code:)
(Pseudo-Code:)
Code: Select all
List<Feature> f=OOAICallback.getFeatures()
for (int i=0; i<f.size(); i++){
if (f.get(i).getDef().isGeoThermal()){
...
}
}
- LoidThanead
- Posts: 58
- Joined: 27 Feb 2008, 16:16
Re: Positions for Geothermal Plants
Thanks for posting the solution. I can use this. :)