Community of VE/MapPoint Users and Developers
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 ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| New to MapPoint 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 |
| ||||
|
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 |
| |||
|
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 |
| ||||
|
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 |
| |||
|
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. |
| |||
| 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 see ya |
| |||
| 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 |
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!