|
||||
[maplab-users] Rosa distance measurement in MaplabWilliam A. Bronsema, C.E.T. bronsema@dmsolutions.caWed, 16 Jul 2003 11:59:01 -0400
|
Valerio, Have you included the name "dist" in the list of buttons to display? i.e. <param name="TB_BUTTONS" value="zoomin|zoomout|recentre|pquery|dist"> Regards, Bill Valerio wrote: > Hi all, > I tried to add the rosa applet measurement distance button in > gMapFactory application with the following > code in php file: > > // loop through each toolbar and add > foreach ( $aszRosaTools as $szTool ) > { > switch( $szTool ) > { > ... > //other buttons code > ... > case "dist": > echo "<param name=\"TB_BUT_dist_IMG\" ". > "value=\"./images/tool_rect-query_1.gif\">\n"; > echo "<param name=\"TB_BUT_dist_IMG_PR\" ". > "value=\"./images/tool_rect-query_2.gif\">\n"; > echo "<param name=\"TB_BUT_dist_HINT\" ". > "value=\"Misura distanza\">\n"; > echo "<param name=\"TB_BUT_dist_INPUT\" ". > "value=\"dist\">\n"; > echo "<param name=\"TB_BUT_dist_NAME\" ". > "value=\"ROSA_CMD\">\n"; > echo "<param name=\"TB_BUT_dist_VALUE\" ". > "value=\"ruler\">\n"; > break; > } // switch > } > > But Rosa applet displays without the new button. > Tried also to add pixel_size and dist_msg params without results. > I use PHPMapscript 3.6, mapserver 3.6, rosa applet 1.2, php432 on win2k. > > > Thanks in advance > > > Valerio -- William A. Bronsema, C.E.T. Applications Developer DM Solutions Group Inc. http://www.dmsolutions.ca e-mail: bronsema@dmsolutions.ca phone : +1 (613) 565-5056 ext.25 fax : +1 (613) 565-0925 _______________________________________________
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |