Skip to main content
Home Forums General Silverlight Getting Started Create "Google Map" style map with custom map in Silverlight?
11 replies. Latest Post by --Will-- on September 17, 2009.
(0)
--Will--
Member
2 points
6 Posts
07-03-2009 4:54 PM |
Newbie here with a newbie question: in Silverlight, how do I go about creating a zoomable map, Google-Map API-style? And I want to do so with a custom map of my own (not the world map, but actually a floorplan/map of a building).
I've seen the Virtual Earth and Deep Zoom controls in action, and they look like what I want to do, but I could really use some pointers on whether this is doable with a custom map of my own, and where I should begin.
Thanks,
-_Will
PS: I do plan on going through the quick-start tutorials and such; am in the process of trying to download and install the Silvelright ToolKit for VWD 2008 Express as I type this...
rshelby
273 points
64 Posts
07-03-2009 5:07 PM |
I think the link below will show a little detail on the basics of deep zoom and how to use it. I think it's a start anyway.
http://silverlight.net/quickstarts/deepzoom.aspx
nunopedr...
5 Posts
07-03-2009 5:12 PM |
This example in the site is good.
I also did that for the website I'm making. Went to Google Maps to get the image I wanted, and then changed what I needed. Then using DeepZoom Composer got the result I need, and then it was just pasting to the site.
A friend advised me to use a google map "connector", and pin point the location whenever the page was loaded. That would be just a great solution! Anyone knows how that can be done, instead of using DeepZoom?
Nuno
07-03-2009 5:26 PM |
Thanks for the reply and the link!
Any links/examples of Deep Zoom being used to make an actual map with pins, etc?
07-03-2009 5:50 PM |
I've been looking into doing something similar myself, possibly using VE. The link below shows an example of using push pins in the Silverlight Map Control.
http://social.msdn.microsoft.com/Forums/en-US/vemapcontroldev/thread/62e70670-f306-4bb7-8684-549979af91c1
Also, there's a Silverlight Globe project at http://www.xaml-kru.com/silverglobe/ where the guy placed location points based on actual longitude and lattitude coordinates of Earth.
This is about as far as my research has gone, so I'll be looking forward to see if there is any existing solutions outside of using VE. Hope this helps!
P.S. You can get a free developer account and actually use the SDK for free for developing solutions using the Virtual Earth maps. I don't know how much the licensing is though once you build your app and want to deploy it...
http://www.microsoft.com/maps/developers/
I expect ossc_webapp might have something to say about this in a little while...
07-03-2009 6:10 PM |
Thank you very much, those links are quite helpful.
If I read that right, more than just simple "pushpin" controls can be bound to the map. I'm getting ideas now of having different icons and even optional functions attached to relevant map features... I'm also thinking I'd like to have a map key to filter by different types of map locations and have their icons appear or not.
Steph6b
4 points
2 Posts
08-10-2009 8:05 AM |
Hi Will,
if it helps, I've been trying to use the Bing Map CTP and implements pin
you can have a look there http://www.valentinorossi.fr/#/MotoGPCircuitPage
It's finally pretty simple to use
08-10-2009 1:38 PM |
Hi Steph6b! Thanks for the update and the link--that looks really cool. Have you by any chance come across any specific information about substituting custom maps for the world maps?
08-10-2009 3:12 PM |
Thanks ! I'm not sure I'm correctly understanding : what do you mean by substituting custom map for the world map ? Do you mean trying to clip a custom map above the original one ?
Thanks
=> Sorry did not see the original post.... "not the world map, but actually a floorplan/map of a building"
I think Deep Zoom is what you need in that case. Just by using the deep zoom composer, you can try to compose an aerial view of what you want and when zooming (which means going more un details in deep zoom composer - photo number 1 being the highest z-index if I can say so....) the deep zoom goes more in the details. It's hard to explain on a post... will try to make a live exemple.....
Have you try Photosynth ? http://photosynth.net/ => It's actually very powerfull to do floorPlan, map....
Look at this example : http://photosynth.net/view.aspx?cid=bbfe91ce-593d-457b-8528-2854bb60dae4
08-10-2009 6:22 PM |
That PhotoSynth is pretty neat. Deep Zoom is closer to what I want to do though, image-wise. But I want to be able to make a "map" out of it that behaves like the Earth map, with pins and pop-ups and stuff. I actually have the Deep Zoom composer installed, and I'm working on porting all my 3D models out of 3D GameStudio (where I built the actual virtual building) into Blender, which will allow me to take very large (up to 10000px x 10000px renders) and detailed pictures of my building that I could then open with DZC. But after that the details of what I need to do to actually turn it into a map are still hazy to me.
This page has an example of a Google Maps equivalent of what I am trying to do. Note their completely custom map (based on a video game).
fkiller
15 points
3 Posts
09-17-2009 10:44 AM |
There is a wrapper library of DeepZoom in silverlight. - Supports Push Pin with graphic asset - Custom Map - Pan & Zoom In/Out just like Google Map - Contains objects such as moving cloud and cars - Supports PathAnimation class that allow user move any object by curve Sample Page : http://hirihiri.com/project_ROH/silverlight/deepzoomcontainer/DeepZoomContainer.TestTestPage.html Project Page : http://deepzoomcontainer.codeplex.com/
09-17-2009 7:21 PM |
That looks pretty sweet! Does it also include the little map navigation widget? And is there a way to select which push-pins show at any given time (user-selected)?