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 7 of 7

New to MapPoint

This is a discussion on New to MapPoint within the Bing Maps and MapPoint Web Service forums, part of the Map Forums category; Hi, I would like to use MapPoint to build a US map with a list of our branches displayed as ...

  1. #1
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    New to MapPoint

    Hi,
    I would like to use MapPoint to build a US map with a list of our branches displayed as pushpins and then on clicking the pushpin, the details of the branch office displayed.
    This corresponds to the ImageMap example in the MapPoint .NET WebService..however, i would like to know if the same example wil work for this.....or are there any other examples i can go through..if so some pointers to links or tutorials would be greatly appreciated.
    Thanks
    Arthur

  2. #2
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    For this to work you will need a project in VB6 with the MapPoint Control on a form (MappointControl1) and you will need to add a pushpin named BranchOffice1". Also add another pushpin so you can click one than the other to see if it works right. Let me know if this works for you..

    Code:
    Private Sub MappointControl1_SelectionChange(ByVal pNewSelection As Object, ByVal pOldSelection As Object)
    On Error GoTo error:
        Dim objmap As MapPointctl.Map
        Set objmap = MappointControl1.ActiveMap
        If TypeOf objmap.Selection Is Pushpin Then
            If pNewSelection.Name = "BranchOffice1" Then
            MsgBox "Display Info for Branch Office 1 Here."
            End If
        End If
        Exit Sub
    error:
    End Sub

  3. #3
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    John,
    Thanks for the response.....is there any sample in C# , i will be adding the mapping functionality into an asp.net web applicaion....
    Will therebe any licensing issues for users of the web app? we already have the mappoint 2004 as we are msdn subscribers...
    Thanks again

  4. #4
    John Meyer's Avatar
    John Meyer is offline Senior Member Blue Belt
    Join Date
    Jul 2002
    Posts
    478
    I do not know of any C# examples sorry. Maybe someone else can jump in and answer the web question because I'm not real sure but I do not think you could have a clickable map in ASP with the desktop version of MapPoint. If you could I guess you would be putting the ActiveX control on the ASP page and users would need MapPoint installed on their workstation. Also I think the MSDN is only good for one user? I've never tried to or looked into doing the above I've always assumed the way to do mapPoint on the web was the .net webservice version of MapPoint. Hope this helps in some way! Hopefully someone else who knows the right answer will jump in.

  5. #5
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    John,
    thanks again.,....it was informative....

    i am hoping someone else who might have considered the same options as i am will give me a few pointers on how this can be done....or if webservice is the way to go..
    please help....
    thanks.

  6. #6
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    solution to this

    the solution to this is :

    Create a standalone application that manage the MapPoint COM Component.

    Create your webservice.

    Implement a protocol (over TCP or UDP) between your web service and your standalone application :
    - Standalone app transmits coordinates to webservice
    - webservice sends back the image over TCP/UDP
    - webservice gives this image back to other apps...

    i think that is the better way but it seems that implementing a webservice around mappoint is forbidden by microsoft, isn't it ?

    see ya

  7. #7
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    sorry

    rectification :
    Implement a protocol (over TCP or UDP) between your web service and your standalone application :
    - Webservice app transmits coordinates to standalone app
    - Standalone app sends back the image over TCP/UDP
    - webservice gives this image back to other apps...

    sorry again

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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 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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96