Questions tagged [css]

CSS (Cascading Style Sheets) add style to web pages.

Filter by
Sorted by
Tagged with
10
votes
1answer
20k views

Overriding Leaflet tooltip style?

I'd like to override the default style of Leaflet 1.0.0 tooltips, especially the bubble/frame. I don't see any options or methods for this. How do I hook into the CSS? I want to change layers ...
1
vote
1answer
889 views

Leaflet layer control and legend

I have a layer control with 8 layers in it. I also have a legend control in lower right. A few layers have the legend tall. Now my issue is on smaller monitors the legend control is on top of the ...
2
votes
1answer
1k views

How to add top and bottom margins to leaflet popup with scroll

I've been customizing Leaflet in order to let popup display more content by adding scrolling to them. Everything works fine except my content touches top and bottom of the popup window. How can I add ...
1
vote
1answer
452 views

Geoserver CSS plugin - combining styles

I'm currently trying to write some SLD styles using the CSS plugin in geoserver. The problem is that the plugin merges single rules into complexed ones, ie. the following code generates 5 rules ...
0
votes
1answer
780 views

Using OpenLayers/jQuery without CDN

I was wondering what are the necessary files for hosting a webgis server with OpenLayers3 without using a CDN? I am testing on a localhost without internet access. It doesn't work to merely copy ...
3
votes
0answers
204 views

extshape arrows to show ais vessels. MultiLinestring alternative

I have tried to use the extshape://arrows new feature as shown in this blog post. This works quite well, but I tried to dynamize the parameters as in MultiLineString WKT syntax to dimension the ...
3
votes
1answer
3k views

How to add custom CSS class to leaflet tilelayer

I am working with mapbox.js and leaflet to create a map with a number of overlapping tilelayers. I want to apply some custom CSS to only selected tilelayers, and thus assign these layers to an ...
2
votes
1answer
842 views

Split label style in GeoServer CSS or SLD

I would like to split the style of my labels, which consist of 2 attributes. I already managed to separate the lines, but I need to style them differently as well, as the second line should be bold. ...
2
votes
1answer
6k views

Styling individual features in a GeoJSON layer

I have managed to display a GeoJSON layer with multiple polygons (~150) in a Leaflet map in SharePoint. I would like to style different features in this GeoJSON layer according to a colour stored ...
1
vote
0answers
1k views

Apply css styles to layers in openlayers3

define layers and styles using openlayers3 API. I need to apply css styles for layers.for that code is in below used //applying styles for wms layer var fill = new ol.style.Fill({color: 'rgba(237, ...
0
votes
1answer
358 views

geoserver css categorized marks

I have trouble categorize my markers by category (boolean in this case) in geoserver using CSS. I have tried a few different combinations without success. Simply I want: if true - yellow square, if ...