使用openlayers发布geoserver图层

一、使用openlayers发布geoserver图层,geoserver数据源是mysql,并显示mysql数据的详细信息

Openlayers官网实例:

官网地址: https://openlayers.org/en/v4.6.5/examples/index.html

二、引入ol.css文件,ol.js文件,下载地址:https://openlayers.org/download/





  
  
  
  
  OpenLayers example



  
 

发布结果:

使用openlayers发布geoserver图层_第1张图片

你可能感兴趣的:(技术)