Declaration of originality:
Please respect the fruits of my labor, when reproduced but please be sure to indicate the source.
Map of GIS Map Interactive operation, to add, delete features on the map, while displaying the click on a feature to display information about the feature. The overall development environment is: jdk7+tomcat7.0+geoserver2.3.3+mysql5.5.32, using the language has HTML, JavaScript, JSP, java.
Directly post the Map page code, replace all localhost with the server IP address when using:
<?xml version= "1.0" encoding= "UTF-8"?> The effect on the local area network and its access map is as follows:
The following image is the effect of clicking on the "Add Point" button:
For the code on the query_point.jsp, insert_point.jsp, delete_point.jsp pages, see my previous posts.
You are welcome to give guidance and make recommendations. Thank you.