Dear All
1. I need to know how to access my own WMS services.. please show me how..? there in no such detail tutorial or sample about this.
2. how to access google services using this component..?
does any body have a sample code that i can study.?please share..
Please help.
Regard, Arya
thank alot jaak
Dear Jack
I Have set the WMS as you told me in the forum you have shown.
this my Code
===========================
package com.tutorial;
import net.rim.device.api.ui.*;
import net.rim.device.api.ui.component.*;
import net.rim.device.api.ui.component.SeparatorField;
import net.rim.device.api.ui.container.MainScreen;
import net.rim.device.api.ui.container.VerticalFieldManager;
import com.nutiteq.fieldmanager.*;
import com.nutiteq.maps.*;
public class HelloMap extends UiApplication
{
public static void main(String[] args)
{
HelloMap theApp = new HelloMap();
theApp.enterEventDispatcher();
}
public HelloMap()
{
pushScreen(new UserInterfaceScreen());
}
}
final class UserInterfaceScreen extends MainScreen
{
VerticalFieldManager _fieldManagerMiddle;
private MapField map;
private BasicEditField textAge;
public UserInterfaceScreen()
{
super();
LabelField title = new LabelField("Nutiteq SDK Map Sample", LabelField.ELLIPSIS | LabelField.USE_ALL_WIDTH);
setTitle(title);
LabelField lbl1 = new LabelField("Nama", LabelField.ELLIPSIS | LabelField.USE_ALL_WIDTH);
this.add(lbl1);
textAge = new BasicEditField("", "", 20, BasicEditField.FILTER_NUMERIC);
this.add(textAge);
TextField txtvalue= new TextField();
txtvalue.setLabel("Enter Something:");
this.add(txtvalue);
_fieldManagerMiddle = new VerticalFieldManager();
add(new SeparatorField());
add(_fieldManagerMiddle);
SimpleWMSMap wms = new SimpleWMSMap(
"http://iceds.ge.ucl.ac.uk/cgi-bin/icedswms?VERSION=1.1.1&SRS=EPSG:4326",
256, 0, 18,"bluemarble,cities,countries", "image/jpeg",
"default", "GetMap", "© UCL");
wms.setWidthHeightRatio(2.0);
map.setMap(wms);
}
}
=======================
but it follow by error..
please help
Regarding WMS see http://www.nutiteq.com/content/different-map-sources . About Google services - which ones do you mean? Google has tons of them.
/JaakL