Currently I am using ArcGIS JS API ver 3.3/3.5 in my application.
I want to restrict the basemap for US only .For example one can use default navigation features like zoom in, zoom out for the US Country only.
Trying following things:
I have set the US extent code in my application but when I zoom out then I can see the whole world map I want to restrict it to certain extent only
Going through this question: Restrict pan and zoom in ArcGIS Javascript API?
Restricting the streets basemap using this question, but unable to restrict the map: Using own basemap with ArcGIS API for Javascript?
I am using this sample map in my application.