Nowadays i'm using Mapscript and C# to generate and display a Mapfile, but in this way i need to create manualy the interface, is there any way to use Mapscript + Openlayers?
-
1OpenLayers ins Javascript. Why do you want to use it with Mapscript? Is your goal to write C# code that writes Javascript code?– underdarkCommented May 26, 2011 at 6:39
-
My goal is to use OpenLayers interface with Mapcript, i want to use the pan, zoom, drag and drog generated by OpenLayer.– Michel AndradeCommented May 30, 2011 at 23:26
Add a comment
|
1 Answer
You do not need mapscript to achieve what you want. Simply use the mapserv cgi to publish the layers as WMS and then consume the WMS services from a OpenLayers-powered web page.