Tag Info

New answers tagged


I'm not sure I understand your question, but GeoServer has a SQL Server Plugin: http://docs.geoserver.org/stable/en/user/data/database/sqlserver.html if that is what you are after. It comes with PostgreSQL database support natively.


The easiest way to achieve the same in OpenLayers 3 is to use WMS GetFeatureInfo. Your code could look something like this (assuming mymap is your layer with a WMS source, and map is your ol.Map instance): var parser = new ol.format.WMSGetFeatureInfo(); var highlightOverlay = new ol.FeatureOverlay({ // style: (customize your highlight style here), map: ...


It appears you did not put the two CSS files (which defines the style) into your code, and they are required when browser tries to render the map. Everything works fine after I added these two CSS files into your code (line 6 and 7). <!DOCTYPE html> <html> <head> <meta charset='utf-8' /> <title>OpenLayers Basic OSM ...

Top 50 recent answers are included