MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Please help me

This is a discussion on Please help me within the MapPoint Web Service and Virtual Earth forums, part of the Map Forums category; Hi, i'm a spanish student, so sorry for my bad english!! I'm doing a web application for my final project, ...


Go Back   MapPoint Forums > Map Forums > MapPoint Web Service and Virtual Earth

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-18-2006
Junior Member
White Belt
 
Join Date: Feb 2006
Posts: 11
Please help me

Hi, i'm a spanish student, so sorry for my bad english!!
I'm doing a web application for my final project, and i'm using asp.net and c#.

The operation of my aplication is:

I show a map with my position, in the middle of the map (using geographic coordenates). Around me, i show some establishments (with pushpins). Ok, I use the web service trial, because i haven't any money (i'm a student ), and i would like How i can to upload the custom data, for i put my establishments (a friend's bar, my father's market, etc).
Do you understand me??

And other question, please. Other funcionality of my program is to show my position (coordenates) and the position of my friend (coordenates too). I like to calculate a route beetween both.
Now, i'm using this code:

...
Route ruta = new Route();
ruta = CreateRuta(centerPoint, movilAmigo);
mapSpec.Route = ruta;
...

private Route CreateRuta(LatLong I, LatLong Friend)
{
//instantiate the Route service
RouteServiceSoap routeService = new RouteServiceSoap();

LatLong [] positions= new LatLong[2];
positions[0] = new LatLong();
positions[1] = new LatLong();
positions[0] = Yo;
positions[1] = Amigo;
Route ruta = new Route();
try
{
ruta = routeService.CalculateSimpleRoute(posiciones, "MapPoint.EU", SegmentPreference.Quickest);

}
catch(Exception ex)
{
//System.Windows.Forms.MessageBox.Show(ex.Message, "Error", System.Windows.Forms.MessageBoxButtons.OK);
ruta = null;
}
return ruta;
}

But in the method "routeService.CalculateSimpleRoute, is produced an exception HTTP 401: Unauthorized. But i have a valid credentials (trial version).

What's the problem?

Please, somebody helps me.

Many thanks for all, bye!!
__________________
Ivan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2006
Junior Member
White Belt
 
Join Date: Feb 2006
Posts: 11
Hello!
I have already done the customize of my data with css. Now, i have my position and the positions of my point-of-interest. But now the problem is this:

I have a form in witch i have some textbox with EntityID, Name, DisplayName, Latitude and Longitude, for i upload my point of interest since my form, and add more points of interest. But I dont know how I do this!! Can I use the CustomerDataService class or similar?? Please, help me. If somebody knows hows to make this, he says me.

thanks, and good bye.
__________________
Ivan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 03:09 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54