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?

  • 1
    OpenLayers ins Javascript. Why do you want to use it with Mapscript? Is your goal to write C# code that writes Javascript code?
    – underdark
    Commented 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. Commented May 30, 2011 at 23:26

1 Answer 1


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.