Ahmet, First, make sure you have defined a SCALEBAR block in your mapfile (or via mapscript). // create scalebar $scale_img = $map->drawScaleBar(); $scale_url = $scale_img->saveWebImage(); Then call it in your HTML: <img src="<?php echo $scale_url?>"> --Dylan temiz wrote: > hello > > how can I create scale bar with phpmapscript ? > > regards > > Ahmet Temiz