Hi, I have few questions about the MapLayer interface.

1-------------------------------------------------------
CollectionSource getSource();

I've never seen any use of this method. I always use getFeatureSource
Is this deprecated ?

2------------------------------------------------------
public HashMap<String, String> getDimensions();
public void setDimensions(HashMap<String, String> dimensions);
public void setDimension(String dimName, String value);

Same thing here, never seen any use of thoses.

3--------------------------------------------------
public String getOpacity();
public void setOpacity(String opacity);

The style of the layer define the opacity. So what is that for ?
and why a String ?

4----------------------------------------------------
String getId();
void setId(String id);

What is the difference between ID and Name ?
Name is already used as an identifier, title and abstract are used for UI.



-- 
Johann Sorel

Company - Geomatys GIS Developer
Mail - [EMAIL PROTECTED]


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to