Jun 4, 2003 #1 rmareedu Programmer Joined Jun 4, 2003 Messages 1 Location US Any one know how to call a mercator map form java. Thanks
Jun 10, 2003 #2 janhes Technical User Joined Jan 30, 2001 Messages 537 Location GB This is Mercators example of a simple call to a map. * This class is used to show how to call a Mercator Map from Java. * * */ public class SimpleExample { public static void main( String argv[] ) { // instantiate a map object CompiledMap myMap; myMap = new CompiledMap(".\\Map\\sdq.mmc" // run the map myMap.LaunchMap(); // display the results System.out.println( "Map : " + myMap.getMapName() ); System.out.println( "Return : " + myMap.getErrNum() ); System.out.println( "Message : " + myMap.getErrMsg() ); } } Upvote 0 Downvote
This is Mercators example of a simple call to a map. * This class is used to show how to call a Mercator Map from Java. * * */ public class SimpleExample { public static void main( String argv[] ) { // instantiate a map object CompiledMap myMap; myMap = new CompiledMap(".\\Map\\sdq.mmc" // run the map myMap.LaunchMap(); // display the results System.out.println( "Map : " + myMap.getMapName() ); System.out.println( "Return : " + myMap.getErrNum() ); System.out.println( "Message : " + myMap.getErrMsg() ); } }
Jul 14, 2003 #3 HIPAA2003 Programmer Joined Jul 14, 2003 Messages 3 Location US Hi janhes, My ? is ... // run the map myMap.LaunchMap(); How you are calling LaunchMap() method. I d't think .mmc file contains any methods. Can you please tell me how it work's out. Thank's Nar reddy Upvote 0 Downvote
Hi janhes, My ? is ... // run the map myMap.LaunchMap(); How you are calling LaunchMap() method. I d't think .mmc file contains any methods. Can you please tell me how it work's out. Thank's Nar reddy