MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




New to MapPoint

This is a discussion on New to MapPoint within the MapPoint Web Service and Virtual Earth 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 ...


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
  #1 (permalink)  
Old 05-05-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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
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 05-06-2004
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
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
__________________
John
http://www.support-pc.com

Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 05-06-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 05-06-2004
John Meyer's Avatar
Senior Member
Blue Belt
 
Join Date: Jul 2002
Posts: 479
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.
__________________
John
http://www.support-pc.com

Order MapPoint 2006 Here
https://secure.mp2kmag.com/?refer=support-PC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 05-06-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 06-18-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 06-18-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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
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:53 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

Flights from Edinburgh
Book flights from Edinburgh to exotic destinations all over the globe. Holiday Hypermarket will search for the latest great deals, so you don't have to.

Luxury Holidays
Luxury holidays, family holidays, ski holidays, cruises. Whatever your holiday needs your personal Travel Counsellor can help.

Holidays Cuba
When you book holidays in Cuba you will find a fascinating country with a heady combination of Spanish, African and Caribbean influences. Check our great deals.

Holidays to Sri Lanka
Holidays to Sri Lanka are enriched by the glittering tapestry of culture and breath taking mountain views. Book a holiday there today!

Spain
Spain is such a diverse country that it has something to offer most holidaymakers. Finding delicious cuisine is no challenge and the shopping ranges from designer boutiques to unknown flea markets. Spain has much to offer.

Cheap Holidays
Looking for holidays that are cheap, but still what you want? Visit Travel.co.uk.

Cheap Holidays to Lanzarote
Visit the Canary Islands, even if you're cash strapped! View cheap holidays to Lanzarote at On The Beach!


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