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

learn more… | top users | synonyms

0
votes
1answer
47 views

Javascript API Scalebar halo CSS Styling

Let me start by saying 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 ...
0
votes
0answers
13 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, ...
0
votes
1answer
98 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 ...
0
votes
1answer
59 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
73 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
45 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
0answers
33 views

SVG image color to be changed by CSS when using ArcGIS API for JavaScript?

I have a image "a.svg" (let's say). I want to change the fill attribute of this svg symbol using CSS. I use this image in a picturemarkersymbol to display a graphic on the map. Is it possible to ...
0
votes
1answer
99 views

CartoDB: How to I cluster by features? Is it even possible?

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
24 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 { (…) } ...
0
votes
0answers
36 views

how to make my dropdown menu appear in front of the rest

I work with Dreamweaver. I have a Navigation bar with one class having a Dropdown menu. when the Dropdown menu appears, a part of it is hidden behind the rest of the page (in my case behind a ...
1
vote
1answer
74 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
45 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
349 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', ...
0
votes
1answer
180 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
66 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 ...
1
vote
1answer
213 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
219 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
135 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 ...
0
votes
0answers
31 views

Esri API Web-Map and horizontal footer Scroller on Mousewheel

I am designing a webpage whereby the footer section of the page is to scroll horizontally, using the mouse wheel. There seems to be a conflict between the Esri library and the JQuery script I found ...
1
vote
0answers
140 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
37 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
149 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 ...
0
votes
1answer
132 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
64 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 ...