I have used js-flash API for my ymap.In my map I want to show more than
one place in the map.So, I have pointed a marker at each place.Now, thease places are dynamic(i.e. which can vary according to user.).Map window size is height: 500px; width: 630px;.Also I can centered only one place for each map. Now the problem is that if the distance/distances between centered place and any other place which also I have to show, is large enough then I can't show all the places in the map window.Can any one suggest any way so that I can controll the zoom dynamically and can be able to show the all places in the map window.
My code is:
var latlon = new LatLon(<?php echo $yplat?>, <?php echo $yplong ?>);
var mymap = new Map("mapContainer", "biral_kukur", latlon, 8);
mymap.addTool( new PanTool(), true );
marker1 = new CustomPOIMarker('Your position:','<?php echo "<br>".$yplat ?>', '<?php echo $yplong ?>', '0x0012f0', '0x88CCFF');
marker = new CustomPOIMarker(eval(h+1),"<br>"+arr1 );
var latlon1=new LatLon(arr1,arr1 );
navWidget = new NavigatorWidget();
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail Beta.
[Non-text portions of this message have been removed]