Making a ajax JSONP call to get the WFS features from Geoserver

المشرف العام

Administrator
طاقم الإدارة
I am Working on a GIS application.

Technology working on Geoserver and Openlayers 3.5.0 for this application.

I am not able to make a JSON request call to the WFS endpoint. If i make a JSON request, it is giving as a Allow-Cross-Origin error.

http://localhost:8080/geoserver/sf/...=sf:bugsites&maxFeatures=50&outputFormat=json

If i make a JSONP call i am not able to get the feature data using the WFS endpoint. Every time it is giving has


"uncaught syntaxerror: unexpected Token
 
أعلى