Hi Venu,
 
at the constructor level, getMapObj() is not available,
try calling it at the getInit() level.
please have a look at http://www.cartoweb.org/doc/misc/plugins_diagram.pdf , this show the flow and order of calls between the client and server
 
Regards
Oliver
----- Original Message -----
Sent: Tuesday, February 28, 2006 10:06 AM
Subject: [Cartoweb-users] Hi Problem with my Plugin

Hi ,
      I am trying to color my India map.First I am trying to color the map without any functionality on the client side.I have written the following plugin dhisind and i have written the serverDhisind.php witth the functionality to just color my map.I am getting the following error.when i did not call the function colormapfromdata() from the construct the execution never enters into the function but when i added it in the constructor I was getting the following error.I have referred to the following link there is no method called getMapObj() in the ServerPlugin::serverContext class.
 
I need your help in solving this problem.
 
I am here attaching my dhisind plugin and my client.ini(client_conf),India.map,India.ini,layers.ini(server_conf)
 
The error was as follows::
 
 

Fatal error: Call to a member function getMapObj() on a non-object in C:\wamp\www\cartoweb3\plugins\dhisind\server\ServerDhisind.php on line 41

 

 
 
Regards,
Venu.


_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users
_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to