[Geomoose-users] Verify Mapbook Service
Dan Little
danlittle at yahoo.com
Thu Oct 6 09:39:22 EDT 2011
This isn't really complete enough for us to diagnose everything that's going on. Again, my previous email suggests using Firebug to ensure that the service is being called, it applies here too.
The big problem I see is that you are passing URL style key-value pairs to startService, which is actually expecting a javascript-object.
Your print statment should look like this:
print "javascript:GeoMOOSE.startService('query_dis', {'dis' : '".$dis."')"
Have you looked into using query.php for any of your queries?
>________________________________
>From: gayani <gayani.edirisinghe at gmail.com>
>To: geomoose-users at lists.osgeo.org
>Sent: Wednesday, October 5, 2011 11:18 PM
>Subject: [Geomoose-users] Verify Mapbook Service
>
>Hi,
>I need to call to service in map book through php script. How can I verify
>the service working properly. The coding and information of the process is
>as follows.
>
>calling to service from php file
>print " javascript:GeoMOOSE.startService('query_dis','dis=".$dis."') List
>of district projects ";
>Here call to the service query_dis with variable.
>
>serive in map book is
> <service name="quey_dis" selectable="false"
>default="false" locked="true" >
> <url>/cgi-bin/mapserv.exe?</url>
> <input type="hidden"
>value="Proceed"/>
> <input type="hidden" name="map"
>value="/ms4w/apps/geomoose2/maps/demo/disquery/districtpro.map"/>
>
> <input type="hidden" name="mode"
>value="NQUERY"/>
> <input type="hidden" name="sector"
>value=""/>
> </service>
>
>Do you have any experience on this?
>
>--
>View this message in context: http://geomoose-users.964460.n3.nabble.com/Verify-Mapbook-Service-tp3398734p3398734.html
>Sent from the Geomoose-users mailing list archive at Nabble.com.
>_______________________________________________
>Geomoose-users mailing list
>Geomoose-users at lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/geomoose-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20111006/b1096b2d/attachment.html
More information about the Geomoose-users
mailing list