MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Display Moving objects on Map in ASP.net

This is a discussion on Display Moving objects on Map in ASP.net within the MapPoint Web Service and Virtual Earth forums, part of the Map Forums category; I am building an ASP.net web application using the Mappoint Web service 4.1 to display a map with a moving ...


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 10-25-2006
Junior Member
White Belt
 
Join Date: Oct 2006
Posts: 1
Display Moving objects on Map in ASP.net

I am building an ASP.net web application using the Mappoint Web service 4.1 to display a map with a moving vehicle shown on the map. This requires the data for the vehicle to update every 3-6 seconds, but without refeshing the map itself (until the vehicle scrolls to a certain point). Can someone explain how they would go about doing this, or point me towards an example??

Thanks,
Wallace
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 10-25-2006
Junior Member
Yellow Belt
 
Join Date: Dec 2005
Posts: 22
Send a message via AIM to Mark - MSFT
Re: Display Moving objects on Map in ASP.net

Hey whenry6000

Consider using AJAX to handle the graphic on top of the map, that will handle your requirement for not refreshing the page. You can put a graphic (icon) in a div tag and just update the positional information based on your vehicle’s Lat/Long which can then be converted into an x,y (then plotted on the map image) coordinate using the convertToPoint() method. The bounding box your map is in has known coordinates, so you can set your map to pan when you are x pixels from the edge.

Hope that helps,

Mark - MSFT
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 01-17-2007
Junior Member
White Belt
 
Join Date: Aug 2005
Posts: 3
Re: Display Moving objects on Map in ASP.net

Is there any sample code that could be shared regarding this? Seems simple in concept but that it might get tricky to keep the two images in sync (zoom in/out, pan or possible differences in map projection when zoomed out and trying to draw a polygon).

I wonder how hard it would be to "intercept" the image from MapPoint and draw whatever you wanted on top of the background map? Are there any examples of this type of custom drawing available?
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

Tags
aspnet, display, map, moving, objects


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

Similar Threads

Thread Thread Starter Forum Replies Last Post
Textboxes Without Borders or Label Objects malejo Wish List 0 08-17-2005 10:31 AM
How to tell if an objects location is visible? Anonymous MapPoint 2006/2009 Discussion 2 06-28-2004 08:15 AM
limiting objects in collection Anonymous MapPoint 2006/2009 Discussion 0 04-27-2004 07:52 AM
specify label to all the objects of a layer Anonymous Wish List 0 08-28-2002 07:22 AM
Mappoint2002 vs. ESRI Map Objects Anonymous MapPoint 2006/2009 Discussion 1 08-07-2002 08:15 AM


All times are GMT -5. The time now is 09:16 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

Madeira Flights
The historic features of Madeira are complimented by top-notch facilities and plenty of water sports activities. Book Madeira flights online today.

Cyprus Weather
Check out Cyprus Weather - Travel Counsellors details information on Cyprus including, weather, flights and accommodation.

Cheap Flights to Cape Town
Here at dealchecker.co.uk we’ll shop around for cheap flights to Cape Town so you don’t have to. Find and Compare prices from over twenty UK travel agents with just one search.

Nile Cruises
Nile cruises are one of the best ways to discover the riches of Egypt. See ancient ruins and lush verdure from the River Nile. Book today!

Cheap Canaries Holidays
Are you hunting down cheap Canaries holidays? Well check out ulookubook.com to bag a great value holiday. There are numerous festivals taking place all year round. Why not book your holiday around one?

Holiday Comparison
We can help you with holiday comparison when you check out the options at Travel.co.uk

Cheap Holidays in Gran Canaria
Would you like to visit the Canary Islands, but you're on a budget? Get information on cheap holidays in Gran Canaria 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 52