Sampat


Hi,

Is there a way where in I could move the map control from the left hand side to the top as it was earlier (with version 2 of Mapcontrol.js). If yes can you please send me the code snippet.

Thanks,

Sampat.




Re: Map Control position

JeffK_


dont know what you mean.

explain please.







Re: Map Control position

Derek Chan

Sampat wrote:

Hi,

Is there a way where in I could move the map control from the left hand side to the top as it was earlier (with version 2 of Mapcontrol.js). If yes can you please send me the code snippet.

Thanks,

Sampat.



If I understand exactly what your saying is that you want the v3 dashboard to be positioned (and probably look similar) to the v2 dashboard. I mean you could hack the API to position the v3 dashboard to be in the center, but it'll overlap the center of the map which will look really ugly. As to reverting to a v2 dashboardish style with v3 functionality, I don't think thats possible.





Re: Map Control position

Sampat

Hi Derek,

I am talking of the nav control available on the Map. Earlier(in v2) this control was positioned at the top right of the map and now with the new version its positioned at the left. So does the SDK allow me to position this nav control so that I can place it at any required position on the Map.

Thanks,

Sampat.





Re: Map Control position

Derek Chan

no, the sdk doesn't allow this currently




Re: Map Control position

SoulSolutions

You can put in where ever you like with simple css positioning:

<style type="text/css">

.dashboard {top:200px!important; left:200px!important;}

</style>

The trick is you have to make sure this css is after the build in VE css styles, in FF the "!important" works, in IE make sure this is the last thing in your <head>

http://viavirtualearth.com/Wiki/MoveDashboard.ashx

John






Re: Map Control position

Derek Chan

doh, didn't know that , thanks john!