Map API

Nutiteq Maps Lib SDK enables developing advanced mobile mapping applications.
Platforms: Android, RIM BlackBerry, Java ME (J2ME)
Download maps API SDK »
Untitled Document

Products

» View demos
» Downloads

Uudised

Viimane: Thu, 15 Mar 2012 14:51:08
Teema: Vabad töökohad pakkuda
Veel uudiseid »

Access WMS And Google Map Services

3 replies [Last post]
arya
User offline. Last seen 51 weeks 20 hours ago. Offline
Joined: 05/19/2011

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

jaak
User offline. Last seen 1 day 22 hours ago. Offline
Joined: 06/19/2008

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

arya
User offline. Last seen 51 weeks 20 hours ago. Offline
Joined: 05/19/2011

thank alot jaak

arya
User offline. Last seen 51 weeks 20 hours ago. Offline
Joined: 05/19/2011

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