Win a copy of hapi.js in Action this week in the HTML, CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Need to get more zoom picture at loading first time

 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is my map example.It is working fine..This is working fine.Anyway i need to get more zoom picture at first time.





 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this programm works fine.But when it runs it gives me a small map.I mean we have t ozoom many times to get the current location.Can any one tell me the way to improve the zooming level at first time ?
 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok.I found it.Using below command

mapController.setZoom(17);
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!