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

learn more… | top users | synonyms

0
votes
1answer
29 views

TypeError for openlayers3 measure example of area

I have got the typeerror for the 1. TypeError: helpTooltipElementa is undefined 2. helpTooltipElementa.innerHTML = helpMsga; I have defined the helpTooltipElementa in the code even though i am ...
0
votes
0answers
17 views

tooltip popup measure overlapping for line and area when using openlayers3 measure code

I have created two buttons, one for measuring area and second for line . While drawing line its not showing the poup and while drawing area its showing both line and area popups and overlapping each ...
0
votes
1answer
9 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 ...
1
vote
1answer
6 views

How to specify (cross-browser) mouse pointer sets on leaflet control?

Leaflet custom controls might be interactive, when the user can use the mouse on them to perform an action, or non-interactive, when they are used only to show information. This should affect the ...
1
vote
1answer
42 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
0answers
26 views

Adding zoom capability to ESRI Story Map Map Tour

I'm building a Map Tour using ESRI's downloadable/configurable version. If you're unfamiliar with the layout, you have the option to sort through your map points using either a scroll bar along the ...
1
vote
1answer
41 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 ...
1
vote
1answer
33 views

White tiles with Google Chrome and OpenLayers 3 [closed]

I created personal tiles on my webserver, which works with Apache. These tiles are in folders from 0 to 16 in Jpg format. I render these local tiles with OL3.15.1. On Firefox, IE Edge and IE10 I've no ...
-1
votes
1answer
54 views

Adding own logo to the bottom of the cesium application

I would like to add my own logo at the bottom of the cesium application. I would like to know which file in cesium should use to make this possible.
0
votes
0answers
58 views

Adding intelligent search box to cesium for implementing search within layer from server side?

There is a default search box in cesium to search by address or by landmark. Now i want to add a intelligent search box to search within the layer. I would like to know how to add such search box and ...
0
votes
0answers
7 views

CartoDB infowindow stuck at the top of the browser page

I am trying to put infowindows in my CartoDB.js map, but currently my infowindow is stuck displaying in the top lefthand corner of the browser window instead of over the points clicked. This is my ...
0
votes
1answer
60 views

Adding a border on hover to a CartoDB map

I have created a map of pedestrian collisions in Toronto in CartoDB. I would like the border of each neighbourhood to be outlined in a dark colour on hover. Is it possible to modify the CSS to achieve ...
2
votes
1answer
107 views

Mutually Exclusive Bootstrap Checkbox Switches as Layer Control

I have this JSFiddle with two checkboxes using Bootstrap Switch that changes the layer visibility in Leaflet. I would like them to be mutually exclusive, i.e neither of them can be on or off at the ...
1
vote
1answer
50 views

GeoServer CSS styles Submission Issue

I tried to add more than 3 rules of css styles, whenever I tried to add 4th rule, i can't submit the style in geoserver 2.8.1. please find the css styles I used below. /* Default Style less than a ...
1
vote
1answer
34 views

Geoserver CSS style for PropertyIsLike

I am trying to convert sld to css style. The below code is have written sld style for filter a word using PropertyIsLike <ogc:Filter> <ogc:PropertyIsLike wildCard="%" singleChar="_" ...
0
votes
1answer
141 views

How to Convert SLD to CSS style in geoserver 2.8.1?

I am trying to convert SLD to CSS styles in latest geoserver version 2.8.1. i have added css plugins(from geoserver-2.8.1-css-plugin.zip) but not working properly. Is there any other plugin for ...
1
vote
1answer
51 views

Why is the highlighting on these features obscured?

I have a function that highlights features when the user enters search text, and that text is found in the attributes of the given features. The code basically works; the problem is in the display. ...
0
votes
1answer
122 views

Openlayers 3 Popup Customization issues [closed]

I have a open layers cluster map. I want to create customized popup as follows The problem im facing is auto-pan doesnt work var popup = new ol.Overlay(//** @type {olx.OverlayOptions} *//* ({ ...
0
votes
0answers
96 views

Leaflet - divIcon size options are not applied

I am using a divIcon (an svg) for markers given to a point layer from a geoJSON for a map built with Leaflet/Mapbox. I can set the (initial) icon size with a css class, but if I try to set the ...
2
votes
1answer
71 views

Generalizing exact location of certain data points using Carto CSS?

I am dealing with some sensitive data for which providing a high resolution of accuracy of the location would be detrimental. However, the general location is not sensitive and useful to share. I ...
0
votes
1answer
94 views

How to get attribute of the leaflet marker?

is there a way to get and hold the option attribute of the leaflet marker? marker = L.marker([lat,lng], {draggable:true,icon: L.AwesomeMarkers.icon({icon: '', prefix: 'fa', markerColor: 'darkblue',...
0
votes
1answer
681 views

transparent infowindow google maps apis

I can add a div into the infowindow content and set it's style giving it background color, but I failed to make it transparent. Is there a way to make the infowindow of google maps API transparent, ...
0
votes
1answer
216 views

Javascript API Scalebar halo CSS Styling

I am very new to HTML, CSS, and JS. I have added a scalebar to my map and figured out how to add a halo around the labels so they can be seen better against dark or light backgrounds, but I can't ...
0
votes
1answer
66 views

using css sprites in Openlayers 2 instead of icons

I'm using Openlayers 2 with Gmaps and a vector layer to display features with icons. I'm using this code to set the icons on the features: feature.style = { externalGraphic : iconUrl, ...
2
votes
1answer
1k views

How to let the user resize a Leaflet map <div>

I use Leaflet to display some map. I would like the user to be able to resize the map by dragging its borders as she likes. I would like to do this without additional Javascript libraries, instead by ...
1
vote
1answer
484 views

Image won't center in Leaflet pop-up

I am using Leaflet to create a map of points (from geojson) that will open a picture and text under the picture. The text is centered, but I am having trouble centering the picture. This seems like ...
0
votes
1answer
281 views

How to call a leaflet Javascript Function in dropdown menu bar?

i have the following problem: my target is a hybrid app with leaflet. I create a dropdown menu with html/CSS/JQuery. Here is the code: <nav> <ul> <li id="menuPoint1"><image ...
1
vote
1answer
390 views

Problem with NotEqualTo filters in SLD and CSS

I am having a bit of a problem with using a '<>' attribute filter in CSS for GeoServer. I have parred my CSS down to the absolute minimum for a buildings layer as follows: [aeroway <> '...
0
votes
1answer
269 views

How to I cluster by features in CartoDB?

I have a set of points for a number of buildings in NYC. I would like to group those points into clusters per their respective neighborhood (ex: Chelsea, Upper East Side etc.). Each of my points have ...
1
vote
1answer
31 views

Avoid sending CSS with each search in CartoDB

We’re developing a project with CartoDB and we want to show each element with a custom image. We are doing this setting the sublayer.setCartoCSS() with something like this: cartocss: "#map { (…) } #...
1
vote
1answer
186 views

Leaflet adding a HTML label

I would like to add a HTML label above each marker in a leaflet map. Is this possible? Example: Code for labels: HTML <table> <tr> <td class="red"></td> ...
0
votes
0answers
47 views

Positioning a Map

Somebody recommended me to use this site:- http://cs2cs.mygeodata.eu/ after I explained that this coordinates[-28.23078, 28.30707] which belongs to Bethlem in South Africa centers the map to towards ...
0
votes
1answer
1k views

Positioning leaflet divIcon when adjusting size using css

I am using the L.divIcon when using iconSize:null which is causing iconAnchor:[0,0] to not be recognized,my code looks like this: var divIcon =L.divIcon({ className:'current-location-icon', ...
3
votes
2answers
692 views

Different results of fullscreen mode in OpenLayers 3

anyone here have already met similar problem like me? My original application is not viewing correctly (in all browsers) in fullscreen mode, which is openlayers 3 functionality. The problem is with ...
0
votes
0answers
122 views

In OpenLayers, WMS layers get dislocated on window resize

In a low zoom level, like 3 (my max extent), my WMS layers are dislocated relatively to the rest of the map. I think this happens because on the left side of my page, I have a menu that I can close/...
1
vote
1answer
684 views

Openlayers dynamic viewport width and height assignment

I display an openlayers map in a html page by placing it in a tag and assigning a css class to it so as to set its dimensions (map size and map bounds). i then attempt to dynamically create a style ...
0
votes
0answers
528 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
261 views

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 ...
1
vote
0answers
389 views

Exporting to SVG in ArcMap. How to change or call svg clippath polygon attributes in CSS

Recently I exported a map document from the ESRI ArcMap 10.2.2 to SVG. I would like to animate this map with css and javascript however the "clippath" polygons that arcmap creates makes it ...
1
vote
1answer
40 views

Create css Flex Module Edition

I would like to change the style of the component Flex Edition . The functionality is what I need but I find too much space it occupies such module for which I would like to make changes to style ...
0
votes
0answers
497 views

Navbar on ArcGIS JS API causing locator to behave buggy

I have added a nav bar with combo boxes to extend an ArcGIS JS API application further. When a location is selected on the map the point does not appear and I receive this error. Failed to get text ...
2
votes
1answer
243 views

openlayers display Control.MousePosition on div.olMap

I have a map displayed in a div. I have a small div named coordexterne displaying mouse position. I try to put the small div on the map so to speak above the map. Until now, the small div is always ...
0
votes
2answers
91 views

How to set CSS for Samsung Note 3 in ArcGIS API for JavaScript?

I have an application that I would like to be rendered across multiple mobile devices, what is the correct CSS and HTML settings for this? Ideally, I would like it to render on iPhone 4-6S and ...