2

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 May 26 '11 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 Andrade May 30 '11 at 23:26
3

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, privacy policy and cookie policy

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