Insert my Map

I have the map of my city. Using the Virtual Earth Map Control, how I do the insert of the map in my site?

I see only maps of countries and states, I want insert my map.

Thanks !

[197 byte] By [Pricles] at [2007-12-22]
# 1

Dude,

there are samples on how to use the map on http://dev.live.com/virtualearth/sdk/

JeffK

JeffK at 2007-8-30 > top of Msdn Tech,Windows Live Developer Forums,Virtual Earth: Map Control Development...
# 2

You may be able to do this in a couple of ways (and I doubt either are on the sample sdk site!)

I know you can add a pushpin with a custom image - which overlays the default map, you would have to play around with the zoom/location etc and I am not sure if there is a max size to the icon image, but it may work.

Another solution, might be to add a custom control to the map use the AddControl method.

I guess I'm not 100% sure I understand why you would want to use your own map anyway? And why you would want to use VE to do so, so maybe some more context would help.

Dave

DaveBritton at 2007-8-30 > top of Msdn Tech,Windows Live Developer Forums,Virtual Earth: Map Control Development...
# 3

oh-oh,

i completely misunderstood you, sorry,

well there are 2 ways i know of:

1. use the mapcruncher from microsoft to create your own tiles and the mapcruncher javascript classes to create a new layer over the default one
http://research.microsoft.com/mapcruncher/tutorial/

2. just setup your own tile server, that returns your custom tiles when your city is in view, and returns the default map tiles (from the original tile server) if your custom tiles are not available.

JeffK at 2007-8-30 > top of Msdn Tech,Windows Live Developer Forums,Virtual Earth: Map Control Development...

Windows Live Developer Forums

Site Classified