Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 3 of 3

Help please

This is a discussion on Help please within the MapPoint Desktop Discussion forums, part of the Map Forums category; I put this message in other discussion, but i need your help. Hi, i'm a spanish student, so sorry for ...

  1. #1
    ivan is offline Junior Member White Belt
    Join Date
    Feb 2006
    Posts
    11

    Help please

    I put this message in other discussion, but i need your help.

    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.
    Ivan

  2. #2
    Wilfried is offline Senior Member Black Belt
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    2,433
    Hi,

    Please repost in the forum for Mappoint web service. You will get more and better answer than here.

  3. #3
    ivan is offline Junior Member White Belt
    Join Date
    Feb 2006
    Posts
    11
    Ok,
    I'm sorry, but i'm very desesperated, because my final note depends of this project.

    Sorry!, and thanks
    Ivan

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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